/* Variables for theme colors */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #222222;
    --text-secondary: #444444;
    --accent-primary: #a1edbc; /* Pastel green */
    --accent-secondary: #83d9a2; /* Darker pastel green */
    --accent-tertiary: #c4f5d5; /* Lighter pastel green */
    --accent-quaternary: #56c87e; /* Deeper pastel green */
    --accent-quinary: #e3fbed; /* Very light pastel green */
    --card-bg: #f0f9f4; /* Whitish green tint for card background */
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.15);
    --overlay-bg: rgba(255, 255, 255, 0.98);
    --seal-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --header-gradient: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    --font-primary: 'Poppins', sans-serif;
    --font-accent: 'Schoolbell', cursive;
    --success-color: #56c87e;
        --highlight-color: #ffdd57;
    }

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23a1edbc' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Decorative Elements */
.doodle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.doodle {
    position: absolute;
    opacity: 0.2;
}

.doodle-1 {
    top: 15%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: var(--accent-tertiary);
    border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
    transform: rotate(15deg);
    animation: float 8s ease-in-out infinite;
}

.doodle-2 {
    bottom: 20%;
    right: 12%;
    width: 180px;
    height: 180px;
    background: var(--accent-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(-10deg);
    animation: float 7s ease-in-out infinite reverse;
}

.doodle-3 {
    top: 70%;
    left: 15%;
    width: 120px;
    height: 120px;
    border: 12px solid var(--accent-secondary);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: float 9s ease-in-out infinite 1s;
}

.doodle-4 {
    top: 20%;
    right: 20%;
    width: 150px;
    height: 150px;
    background: var(--accent-quinary);
    border-radius: 50% 50% 30% 70% / 30% 50% 50% 70%;
    transform: rotate(45deg);
    animation: spin 15s linear infinite;
}

.squiggle {
    position: absolute;
    opacity: 0.15;
}

.squiggle-1 {
    top: 30%;
    left: 5%;
    width: 100px;
    height: 15px;
    background: 
        radial-gradient(circle at 50% 0%, var(--accent-quaternary) 25%, transparent 0),
        radial-gradient(circle at 50% 100%, var(--accent-quaternary) 25%, transparent 0);
    background-size: 15px 30px;
    background-repeat: repeat-x;
    transform: rotate(-30deg);
}

.squiggle-2 {
    bottom: 25%;
    right: 5%;
    width: 150px;
    height: 10px;
    background: 
        radial-gradient(circle at 50% 0%, var(--accent-primary) 25%, transparent 0),
        radial-gradient(circle at 50% 100%, var(--accent-primary) 25%, transparent 0);
    background-size: 20px 20px;
    background-repeat: repeat-x;
    transform: rotate(25deg);
}

.dot-pattern {
    position: absolute;
    opacity: 0.1;
}

.dot-pattern-1 {
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--accent-quaternary) 2px, transparent 2px);
    background-size: 20px 20px;
    transform: rotate(10deg);
}

.dot-pattern-2 {
    bottom: 5%;
    left: 5%;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--accent-primary) 3px, transparent 3px);
    background-size: 30px 30px;
    transform: rotate(-5deg);
}

.wavy-line {
    position: absolute;
    width: 200px;
    height: 40px;
    overflow: hidden;
    opacity: 0.2;
}

.wavy-line-1 {
    top: 50%;
    left: 2%;
    transform: rotate(-40deg);
}

.wavy-line-1::before {
    content: '';
    position: absolute;
    left: 0;
    width: 200%;
    height: 100%;
    background: var(--accent-secondary);
    clip-path: polygon(
        80% 0%, 90% 40%, 100% 0%, 100% 100%,
        0% 100%
    );
}

.wavy-line-2 {
    bottom: 30%;
    right: 5%;
    transform: rotate(30deg);
}

.wavy-line-2::before {
    content: '';
    position: absolute;
    left: 0;
    width: 200%;
    height: 100%;
    background: var(--accent-primary);
    clip-path: polygon(
        0% 40%, 10% 0%, 20% 40%, 30% 0%,
        40% 40%, 50% 0%, 60% 40%, 70% 0%,
        80% 40%, 90% 0%, 100% 40%, 100% 100%,
        0% 100%
    );
}

/* Hand-drawn Texture Effects */
.texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.1'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Acceptance Letter Styles with added decoration */
.acceptance-letter {
    max-width: 800px;
    background: var(--card-bg);
    border: none;
    box-shadow: 0 15px 40px var(--shadow-color);
    padding: 3rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    animation: letterAppear 1s ease-out forwards;
}

.acceptance-letter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--header-gradient);
}

.acceptance-letter::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--accent-tertiary);
    border-radius: 60% 0 0 0;
    z-index: -1;
    opacity: 0.2;
}

/* Corner Decoration */
.corner-deco {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.15;
}

.corner-deco-1 {
    top: 20px;
    left: 20px;
    border-top: 4px solid var(--accent-quaternary);
    border-left: 4px solid var(--accent-quaternary);
    border-radius: 10px 0 0 0;
}

.corner-deco-2 {
    bottom: 20px;
    right: 20px;
    border-bottom: 4px solid var(--accent-quaternary);
    border-right: 4px solid var(--accent-quaternary);
    border-radius: 0 0 10px 0;
}

/* Letter Header - Updated Brand Styles */
.letter-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.logo-container {
    width: 220px;
    height: 220px;
    margin: 0 auto 1rem;
    position: relative;
}

.jeki-logo {
    width: 180px;
    height: 180px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.jeki-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3.2rem;
    color: #4942E4; /* Blue color for JEKI */
    margin-bottom: -10px;
}

.afrikids-logo-small {
    display: flex;
    align-items: center;
    margin-top: -5px;
}

.x-text {
    font-size: 0.9rem;
    margin: 0 3px;
    opacity: 0.7;
}

.afrikids-text {
    font-family: 'Schoolbell', cursive;
    font-weight: 600;
    font-size: 1rem;
    color: #313131;
}

.dotted-circle {
    width: 220px;
    height: 220px;
    border: 2px dashed #a1edbc;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: spin 30s linear infinite;
}

.creative-studio-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: #333333;
    margin-top: 1rem;
}

/* Keep the rest of the letter header styles */
.seal {
    display: none; /* Hide the old seal */
}

.subtitle {
    display: none; /* Hide the old subtitle */
}

/* Letter Content */
.letter-content {
    position: relative;
}

.letter-content h2 {
    font-family: var(--font-accent);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 3px solid var(--accent-primary);
    padding-bottom: 10px;
    display: inline-block;
}

.solver-name {
    color: var(--accent-secondary);
    font-style: italic;
    font-weight: 600;
}

.intro {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    border-left: 5px solid var(--accent-primary);
    padding-left: 1.5rem;
    font-weight: 300;
}

.acceptance-message {
    text-align: center;
    margin: 3rem 0;
    padding: 2.5rem 0;
    position: relative;
    background-color: rgba(161, 237, 188, 0.1);
    border-radius: 8px;
}

.acceptance-message::before,
.acceptance-message::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    transform: translateX(-50%);
}

.acceptance-message::before {
    top: 0;
}

.acceptance-message::after {
    bottom: 0;
}

.acceptance-message p:first-child {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.acceptance-message h3 {
    font-family: var(--font-accent);
    font-size: 3rem;
    margin: 1rem 0;
    letter-spacing: 8px;
    color: var(--accent-secondary);
    text-shadow: 1px 1px 0 var(--text-primary);
}

.acceptance-message p:last-child {
    font-size: 1.1rem;
    max-width: 80%;
    margin: 1rem auto 0;
    line-height: 1.8;
    font-weight: 300;
}

.details {
    margin: 2.5rem 0;
    position: relative;
}

.details::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    background: var(--accent-tertiary);
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    opacity: 0.15;
    z-index: -1;
}

.details p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.details ul {
    list-style-type: none;
    margin: 1.5rem 0;
}

.details li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
}

.details li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
    font-family: var(--font-accent);
}

.afrikids-partnership,
.next-steps {
    margin: 2.5rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: rgba(248, 249, 250, 0.8);
    position: relative;
    overflow: hidden;
}

.afrikids-partnership::before,
.next-steps::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23a1edbc' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

.afrikids-partnership h4,
.next-steps h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    font-family: var(--font-accent);
}

.afrikids-partnership h4::after,
.next-steps h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
}

.afrikids-partnership p,
.next-steps p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

.cta-button {
    display: block;
    margin: 2.5rem auto 1rem;
    padding: 1.2rem 3rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(131, 217, 162, 0.5);
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--accent-tertiary);
    border-radius: 50%;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(131, 217, 162, 0.7);
    background: var(--accent-secondary);
    color: #ffffff;
}

.cta-button:active {
    transform: translateY(-2px);
}

.cta-button:active::after {
    opacity: 0.3;
    transform: scale(10);
    transition: 0s;
}

.signature {
    text-align: right;
    margin-top: 4rem;
}

.signature p:first-child {
    font-size: 1.1rem;
    font-weight: 400;
}

.sign {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.5rem;
    margin-top: 0.8rem;
    color: var(--accent-secondary);
    position: relative;
}

.sign::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60%;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 50%;
}

/* Overlay Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(8px);
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
    max-width: 600px;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.overlay-content h2 {
    font-family: var(--font-accent);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
}

.overlay-content p {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-weight: 300;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: var(--border-color);
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--header-gradient);
    transition: width 0.5s ease;
}

/* Gift Section Styles */
.gift-section {
    margin: 3rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--accent-quinary);
    position: relative;
    overflow: hidden;
    border: 2px dashed var(--accent-secondary);
}

.gift-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2383d9a2' width='40px' height='40px'%3E%3Cpath d='M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 12 7.4l3.38 4.6L17 10.83 14.92 8H20v6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right top;
    opacity: 0.6;
}

.gift-section h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    font-family: var(--font-accent);
}

.gift-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
}

.gift-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: var(--accent-tertiary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 1rem;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.gift-status.claimed {
    background-color: var(--success-color);
    color: white;
}

.gift-details {
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 8px;
}

.gift-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: block;
}

.gift-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gift-description {
    text-align: center;
    margin-bottom: 1.5rem;
}

.gift-description p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.tracking-id {
    font-family: var(--font-accent);
    font-weight: 700;
    color: var(--accent-quaternary);
    letter-spacing: 1px;
}

.claim-gift-button {
    display: block;
    margin: 1.5rem auto;
    padding: 1rem 2.5rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(131, 217, 162, 0.5);
    position: relative;
    overflow: hidden;
}

.claim-gift-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.claim-gift-button:hover::before {
    left: 100%;
}

.claim-gift-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(131, 217, 162, 0.7);
    background: var(--accent-secondary);
    color: #ffffff;
}

.claim-gift-button.claimed {
    background: #e0e0e0;
    color: #888;
    cursor: default;
    box-shadow: none;
    transform: none;
}

.claim-gift-button.claimed:hover {
    background: #e0e0e0;
    color: #888;
    transform: none;
    box-shadow: none;
}

.claim-gift-button.claimed::before {
    display: none;
}

/* Social Sharing Section */
.social-share {
    margin: 2rem 0;
    text-align: center;
}

.social-share h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.share-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--text-primary);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: none;
    font-size: 1.3rem;
}

.share-button:hover {
    transform: translateY(-5px);
}

.share-button[data-platform="twitter"]:hover {
    background-color: #1DA1F2;
    color: white;
}

.share-button[data-platform="facebook"]:hover {
    background-color: #4267B2;
    color: white;
}

.share-button[data-platform="linkedin"]:hover {
    background-color: #0077B5;
    color: white;
}

.share-button[data-platform="instagram"]:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

/* Confetti Animation */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 20px;
    top: -20px;
    background-color: var(--accent-primary);
    animation: confetti-fall 6s linear forwards;
}

@keyframes confetti-fall {
    0% {
        top: -20px;
        transform: rotate(0deg) translateX(0);
    }
    100% {
        top: 100vh;
        transform: rotate(720deg) translateX(var(--random-offset, -25px));
    }
}

/* Gift Claimed Message */
.gift-claimed-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.message-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 3px solid var(--accent-primary);
}

.message-content h3 {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
}

.message-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tracking-note {
    margin-top: 1.5rem;
    padding: 0.8rem;
    background-color: var(--accent-quinary);
    border-radius: 8px;
    font-size: 0.9rem;
}

.tracking-highlight {
    font-weight: 700;
    color: var(--accent-quaternary);
    font-family: monospace;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2px 5px;
    border-radius: 3px;
}

.close-message {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-message:hover {
    background: var(--accent-secondary);
    color: white;
    transform: translateY(-3px);
}

/* Animations */
@keyframes letterAppear {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sealGlow {
    0% {
        box-shadow: 0 5px 20px rgba(161, 237, 188, 0.4);
    }
    100% {
        box-shadow: 0 10px 30px rgba(161, 237, 188, 0.7);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .acceptance-letter {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .logo-container {
        width: 180px;
        height: 180px;
    }
    
    .jeki-logo {
        width: 150px;
        height: 150px;
    }
    
    .jeki-text {
        font-size: 2.8rem;
    }
    
    .dotted-circle {
        width: 180px;
        height: 180px;
    }
    
    .creative-studio-text {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }
    
    .acceptance-message h3 {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }
    
    .letter-content h2 {
        font-size: 1.8rem;
    }
    
    .intro {
        font-size: 1.1rem;
    }
    
    .details li, 
    .afrikids-partnership p, 
    .next-steps p,
    .gift-description p {
        font-size: 1rem;
    }
    
    .share-buttons {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .cta-button, 
    .claim-gift-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .corner-deco {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.5rem;
    }
    
    .acceptance-letter {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .logo-container {
        width: 150px;
        height: 150px;
        margin-bottom: 0.5rem;
    }
    
    .jeki-logo {
        width: 120px;
        height: 120px;
    }
    
    .jeki-text {
        font-size: 2.2rem;
    }
    
    .afrikids-logo-small {
        transform: scale(0.9);
    }
    
    .dotted-circle {
        width: 150px;
        height: 150px;
    }
    
    .creative-studio-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .letter-header {
        margin-bottom: 2rem;
    }
    
    .letter-content h2 {
        font-size: 1.5rem;
    }
    
    .intro {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding-left: 1rem;
    }
    
    .acceptance-message {
        padding: 1.5rem 0.5rem;
        margin: 2rem 0;
    }
    
    .acceptance-message h3 {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
    
    .acceptance-message p:last-child {
        max-width: 95%;
        font-size: 0.95rem;
    }
    
    .details p, 
    .details li, 
    .afrikids-partnership p, 
    .next-steps p,
    .gift-description p {
        font-size: 0.95rem;
    }
    
    .afrikids-partnership h4,
    .next-steps h4,
    .gift-section h4,
    .social-share h4 {
        font-size: 1.3rem;
    }
    
    .gift-status {
        display: block;
        margin: 0.5rem 0 0 0;
        text-align: center;
    }
    
    .share-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .share-button {
        width: 45px;
        height: 45px;
    }
    
    .cta-button, 
    .claim-gift-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        letter-spacing: 1px;
        width: 100%;
    }
    
    .corner-deco {
        width: 40px;
        height: 40px;
    }
    
    .signature {
        text-align: center;
    }
    
    .gift-claimed-message .message-content {
        padding: 1.5rem;
        margin: 0 1rem;
        max-width: 90%;
    }
    
    .donate-button {
        top: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .donate-button img {
        height: 18px;
    }
}

/* Small Phone Viewport */
@media (max-width: 360px) {
    .logo-container {
        width: 130px;
        height: 130px;
    }
    
    .jeki-logo {
        width: 110px;
        height: 110px;
    }
    
    .jeki-text {
        font-size: 2rem;
    }
    
    .dotted-circle {
        width: 130px;
        height: 130px;
    }
    
    .creative-studio-text {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .acceptance-message h3 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .overlay-content {
        padding: 1.5rem;
    }
    
    .overlay-content h2 {
        font-size: 1.8rem;
    }
    
    .overlay-content p {
        font-size: 1rem;
    }
}