:root {
    --bg-primary: #1565C0; /* Vibrant Blue */
    --bg-secondary: #0D47A1; /* Deep Blue */
    --accent-yellow: #FFC107; /* Bright Yellow */
    --accent-orange: #FF9800;
    --accent-purple: #9C27B0; /* Playful Purple */
    --text-primary: #FFFFFF;
    --text-dark: #212121;
    --btn-color: #4CAF50; /* Game green */
    --btn-shadow: #2E7D32;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Playful Background Pattern */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(13, 71, 161, 0.6), rgba(13, 71, 161, 0.6)), url('background brawl stars.jpg') center/cover no-repeat;
    z-index: -2;
}

.stars-container {
    display: none;
}

h1, h2, h3, .highlight, .cta-button, .section-title {
    font-family: 'Lilita One', cursive;
    letter-spacing: 1px;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 0;
}

/* Typography */
.headline {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    text-transform: uppercase;
    transform: rotate(-2deg);
}

.highlight {
    color: var(--accent-yellow);
    text-shadow: 4px 4px 0px rgba(0,0,0,0.3), 0 0 20px rgba(255, 193, 7, 0.5);
}

.subtitle-badge {
    display: inline-block;
    background: var(--accent-purple);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 2rem;
    box-shadow: 0 4px 0px rgba(0,0,0,0.2);
    transform: rotate(2deg);
    margin-top: 10px;
}

.subheadline {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--accent-yellow);
    text-shadow: 3px 3px 0px rgba(0,0,0,0.4);
    text-transform: uppercase;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding-top: 5vh;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 250px;
    max-width: 80%;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0) rotate(-5deg); }
}

/* Input & Generator */
.generator-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 25px;
    border: 4px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2), 0 10px 30px rgba(0,0,0,0.3);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.game-input {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.5rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    text-align: center;
    border: 3px solid var(--accent-yellow);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    background: #fff;
    color: var(--text-dark);
    box-shadow: inset 0 4px 6px rgba(0,0,0,0.1);
    outline: none;
    transition: all 0.3s ease;
}

.game-input:focus {
    border-color: var(--accent-orange);
    box-shadow: inset 0 4px 6px rgba(0,0,0,0.1), 0 0 15px var(--accent-yellow);
}

.error-msg {
    color: #ff5252;
    font-weight: 800;
    margin-top: 10px;
    display: none;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
}

/* Buttons */
.cta-button {
    background: var(--btn-color);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.8rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow: 0 8px 0px var(--btn-shadow), 0 15px 20px rgba(0,0,0,0.3);
    text-transform: uppercase;
    width: 100%;
}

.cta-button:hover {
    transform: translateY(2px);
    box-shadow: 0 6px 0px var(--btn-shadow), 0 15px 20px rgba(0,0,0,0.3);
    background: #54c159;
}

.cta-button:active {
    transform: translateY(8px);
    box-shadow: 0 0px 0px var(--btn-shadow), 0 5px 10px rgba(0,0,0,0.3);
}

.massive-cta {
    font-size: 2.2rem;
    padding: 1.5rem 3rem;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.pulse-cta {
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% { box-shadow: 0 8px 0px var(--btn-shadow), 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 8px 0px var(--btn-shadow), 0 0 0 20px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 8px 0px var(--btn-shadow), 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Loading Box & Success Box Base Styles */
.loading-box, .success-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    max-width: 550px;
    margin: 0 auto;
}

.final-step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1.5rem;
    min-height: 5.5rem;
}

.skull-img {
    height: 8rem; /* Make it even bigger */
    width: auto;
    position: absolute;
    left: 30px; /* Move it slightly to the right */
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(2px 3px 0px rgba(0,0,0,0.8));
}

.success-title {
    font-size: 2.8rem;
    color: var(--accent-yellow);
    margin: 15px 0 0 20px; /* Move down and slightly right */
    text-shadow: 3px 3px 0px rgba(0,0,0,0.6);
    letter-spacing: 2px;
}

.verification-text {
    font-size: 1.25rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    padding: 0 10px;
}

.text-red {
    color: #ff4747;
}

.text-green {
    color: #4ade80;
}

.final-cta {
    background: #4ade80;
    color: #000;
    font-size: 1.8rem;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 0px #166534, 0 15px 20px rgba(0,0,0,0.3);
    text-transform: uppercase;
}

.final-cta:hover {
    background: #22c55e;
    box-shadow: 0 6px 0px #166534, 0 15px 20px rgba(0,0,0,0.3);
}

.final-cta:active {
    box-shadow: 0 0px 0px #166534, 0 5px 10px rgba(0,0,0,0.3);
}

.secure-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 1.5rem;
    font-weight: 600;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255,255,255,0.2);
    border-top-color: var(--accent-yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.loading-text {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.progress-bar-container {
    width: 100%;
    height: 25px;
    background: rgba(0,0,0,0.5);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-yellow));
    transition: width 0.3s ease;
}

.success-title {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Preview Section */
.preview-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    justify-content: center;
}

.preview-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 25px;
    border: 3px solid var(--card-border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transform: rotate(-2deg);
}

.preview-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.preview-image {
    width: 100%;
    display: block;
    filter: blur(6px) brightness(0.9);
}

.glass-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}

.locked-text {
    background: var(--accent-purple);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    border: 3px solid #fff;
    font-size: 1.8rem;
    font-family: 'Lilita One', cursive;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transform: rotate(5deg);
}

.card-style {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 25px;
    border: 3px solid var(--card-border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    flex: unset;
    min-width: 300px;
    max-width: 500px;
    margin: 0 auto;
}

.card-style h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-yellow);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0,0,0,0.2);
    padding: 15px 20px;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.2s ease;
}

.benefits-list li:hover {
    transform: scale(1.02) translateX(5px);
    background: rgba(0,0,0,0.3);
    border-color: var(--accent-yellow);
}

/* Game Cards (Steps & Trust) */
.game-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 25px;
    border: 3px solid var(--card-border);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(rgba(255,255,255,0.1), transparent);
    z-index: 0;
}

.game-card > * { position: relative; z-index: 1; }

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-yellow);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.step-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: floatLogo 4s infinite ease-in-out;
}

.custom-step-img {
    height: 4.5rem;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.4));
}

.step-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--accent-yellow);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: 'Lilita One', cursive;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.step-card h3 {
    font-size: 1.6rem;
    margin-top: 1rem;
}

/* Trust Section */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.game-badge {
    background: rgba(0,0,0,0.3);
    padding: 1rem 2rem;
    border-radius: 20px;
    border: 2px solid var(--accent-purple);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto;
}

.quote {
    font-size: 1.6rem;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
}

.author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--accent-yellow);
}

.author {
    color: var(--accent-yellow);
    font-family: 'Lilita One', cursive;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: rgba(0,0,0,0.2);
    border-top: 4px solid rgba(255,255,255,0.1);
    padding: 5rem 0;
}

.cta-section p {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 768px) {

    /* Container */
    .container {
        width: 94%;
        padding: 2.5rem 0;
    }

    /* Hero */
    .hero-section {
        padding-top: 3vh;
        min-height: auto;
    }

    .headline {
        font-size: clamp(2rem, 9vw, 3rem);
        transform: none;
    }

    .subtitle-badge {
        font-size: 1.4rem;
        padding: 4px 14px;
    }

    .subheadline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Generator box */
    .generator-box {
        padding: 1.4rem;
        border-radius: 18px;
        max-width: 100%;
    }

    .game-input {
        font-size: 1.1rem;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .cta-button {
        font-size: 1.3rem;
        padding: 1rem 1.5rem;
    }

    /* Loading & Success boxes */
    .loading-box, .success-box {
        padding: 2rem 1.2rem;
        max-width: 100%;
    }

    .skull-img {
        height: 5rem;
        left: 10px;
    }

    .success-title {
        font-size: 1.8rem;
        margin-left: 10px;
    }

    .verification-text {
        font-size: 1rem;
        padding: 0 5px;
    }

    .final-cta {
        font-size: 1.4rem;
        padding: 1rem 1.5rem;
    }

    /* Preview section */
    .preview-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .preview-card, .card-style {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        margin: 0;
    }

    .preview-card {
        transform: none;
    }

    .card-style h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .benefits-list li {
        font-size: 1.1rem;
        padding: 12px 15px;
        margin-bottom: 0.8rem;
    }

    /* Section titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Steps grid */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .step-card h3 {
        font-size: 1.3rem;
    }

    /* Trust section */
    .trust-badges {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .game-badge {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
        width: 100%;
        justify-content: center;
    }

    .quote {
        font-size: 1.2rem;
    }

    /* CTA section */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .massive-cta {
        font-size: 1.5rem;
        padding: 1.1rem 1.5rem;
        max-width: 100%;
        width: 100%;
    }

    /* Notifications */
    .live-notifications {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .notification-card {
        max-width: 100%;
    }

    /* Footer */
    footer p {
        font-size: 0.75rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
}

/* Live Notifications */
.live-notifications {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification-card {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid var(--accent-yellow);
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: slideIn 0.5s ease-out forwards, fadeOut 0.5s ease-in 4.5s forwards;
    opacity: 0;
    max-width: 300px;
}

.notif-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--btn-color);
}

.notif-content p {
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.notif-time {
    font-size: 0.75rem;
    color: var(--accent-yellow);
    font-weight: 600;
}

@keyframes slideIn {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}
