﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    overflow-x: hidden;
}

.welcome-section {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 50%), linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.referral-section {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 50%), linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Crypto coins background */
.crypto-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 1;
}

.bonus-text {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-text.referral {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    margin-bottom: 0.5rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 600;
    color: #fff;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #00ff88;
    transition: all 0.3s ease;
}

.benefit-item.referral {
    padding: 0.6rem;
}

    .benefit-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }

.check-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.4);
    flex-shrink: 0;
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.crypto-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    overflow: hidden;
}

    .crypto-bg::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><g opacity="0.05"><circle cx="80" cy="80" r="25" fill="none" stroke="rgba(255,215,0,0.3)" stroke-width="1.5"/><path d="M70 75h8c3 0 5-1 5-3s-2-3-5-3h-8v-4h-4v4h-2v2h2v8h-2v2h2v4h4v-4h8c3 0 5 1 5 3s-2 3-5 3h-8" fill="none" stroke="rgba(255,215,0,0.4)" stroke-width="1"/></g><g opacity="0.04"><circle cx="320" cy="150" r="22" fill="none" stroke="rgba(255,215,0,0.2)" stroke-width="1.5"/><path d="M310 140v8h6v6h-6v8h8v-6h6v-8h-6v-6h-8zm4 2h4v4h4v4h-4v4h-4v-4h-4v-4h4z" fill="none" stroke="rgba(255,215,0,0.3)" stroke-width="1"/></g><g opacity="0.06"><circle cx="120" cy="300" r="20" fill="none" stroke="rgba(255,215,0,0.25)" stroke-width="1.5"/><path d="M112 295h16v2h-12v4h8c2 0 4 1 4 3s-2 3-4 3h-8v4h12v2h-16v-2h-2v-2h2v-12h-2v-2h2z" fill="none" stroke="rgba(255,215,0,0.3)" stroke-width="1"/></g><g opacity="0.05"><circle cx="300" cy="80" r="18" fill="none" stroke="rgba(255,215,0,0.2)" stroke-width="1.5"/><ellipse cx="300" cy="75" rx="8" ry="3" fill="none" stroke="rgba(255,215,0,0.3)" stroke-width="1"/><ellipse cx="300" cy="85" rx="8" ry="3" fill="none" stroke="rgba(255,215,0,0.3)" stroke-width="1"/><path d="M292 70h16c4 0 6 2 6 6v8c0 4-2 6-6 6h-16" fill="none" stroke="rgba(255,215,0,0.25)" stroke-width="1"/></g><g opacity="0.04"><circle cx="200" cy="280" r="16" fill="none" stroke="rgba(255,215,0,0.2)" stroke-width="1.5"/><circle cx="200" cy="280" r="12" fill="none" stroke="rgba(255,215,0,0.3)" stroke-width="1"/><circle cx="200" cy="280" r="6" fill="rgba(255,215,0,0.1)"/></g></svg>') repeat, url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><g opacity="0.03"><circle cx="100" cy="400" r="20" fill="none" stroke="rgba(255,215,0,0.2)" stroke-width="1"/><text x="100" y="405" text-anchor="middle" fill="rgba(255,215,0,0.4)" font-size="16" font-weight="bold">₿</text></g><g opacity="0.04"><circle cx="400" cy="100" r="18" fill="none" stroke="rgba(255,215,0,0.15)" stroke-width="1"/><text x="400" y="105" text-anchor="middle" fill="rgba(255,215,0,0.3)" font-size="14" font-weight="bold">Ξ</text></g><g opacity="0.03"><circle cx="80" cy="250" r="16" fill="none" stroke="rgba(255,215,0,0.2)" stroke-width="1"/><text x="80" y="255" text-anchor="middle" fill="rgba(255,215,0,0.35)" font-size="12" font-weight="bold">Ł</text></g><g opacity="0.04"><circle cx="350" cy="350" r="17" fill="none" stroke="rgba(255,215,0,0.2)" stroke-width="1"/><text x="350" y="355" text-anchor="middle" fill="rgba(255,215,0,0.3)" font-size="13" font-weight="bold">Ð</text></g><g opacity="0.03"><circle cx="450" cy="300" r="15" fill="none" stroke="rgba(255,215,0,0.2)" stroke-width="1"/><text x="450" y="305" text-anchor="middle" fill="rgba(255,215,0,0.4)" font-size="11" font-weight="bold">$</text></g></svg>') repeat-x;
        animation: floatCrypto 80s linear infinite;
    }

    .crypto-bg::after {
        content: '';
        position: absolute;
        top: 15%;
        right: 8%;
        width: 140px;
        height: 140px;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="rgba(255,215,0,0.08)" stroke-width="2"/><circle cx="50" cy="50" r="35" fill="none" stroke="rgba(255,215,0,0.06)" stroke-width="1.5"/><g opacity="0.12"><path d="M35 45h12c4 0 6-2 6-4s-2-4-6-4h-12v-6h-6v6h-4v4h4v12h-4v4h4v6h6v-6h12c4 0 6 2 6 4s-2 4-6 4h-12" fill="none" stroke="rgba(255,215,0,0.4)" stroke-width="2"/></g></svg>') no-repeat center;
        animation: pulse 6s ease-in-out infinite;
        opacity: 0.7;
    }

.floating-coins {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.crypto-symbol {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 215, 0, 0.15);
    font-weight: bold;
    animation: float 8s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

    /* Bitcoin Symbol */
    .crypto-symbol.bitcoin {
        top: 15%;
        left: 12%;
        animation-delay: 0s;
    }

    /* Ethereum Symbol */
    .crypto-symbol.ethereum {
        top: 70%;
        left: 88%;
        animation-delay: 2s;
    }

    /* Litecoin Symbol */
    .crypto-symbol.litecoin {
        top: 85%;
        left: 15%;
        animation-delay: 4s;
    }

    /* Dogecoin Symbol */
    .crypto-symbol.dogecoin {
        top: 25%;
        left: 85%;
        animation-delay: 1s;
    }

    /* USDC Symbol */
    .crypto-symbol.usdc {
        top: 60%;
        left: 8%;
        animation-delay: 3s;
    }

@keyframes floatCrypto {
    from {
        transform: translateX(-10%) translateY(-10%);
    }

    to {
        transform: translateX(10%) translateY(10%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .crypto-bg::after {
        width: 120px;
        height: 120px;
        top: 12%;
        right: 5%;
    }

    .crypto-coin-bg {
        transform: scale(0.9);
    }

    .crypto-symbol {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .welcome-section {
        padding: 1.5rem;
    }

    .crypto-bg::after {
        width: 100px;
        height: 100px;
    }

    .crypto-symbol {
        font-size: 18px;
    }

    .referral-section {
        padding: 1.5rem;
    }

    .content-container {
        padding: 2.5rem 1.5rem;
    }

    .crypto-coin-bg {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .referral-section {
        padding: 1rem;
        min-height: 100svh;
    }

    .content-container {
        padding: 2rem 1rem;
        margin: 0 0.5rem;
    }

    .welcome-section {
        padding: 1rem;
        min-height: 100svh; /* Better mobile viewport */
    }

    .content-container {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .main-title {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .title-text {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        line-height: 1.1;
        text-align: center;
    }

    .exclusive-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    .crown-icon {
        font-size: 0.9rem;
    }

    .subtitle {
        font-size: clamp(1rem, 4vw, 1.4rem);
        margin-bottom: 2rem;
        line-height: 1.3;
    }

    .benefits-list {
        margin-bottom: 2rem;
    }

    .benefit-item {
        flex-direction: row;
        text-align: left;
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 0.8rem;
        gap: 0.8rem;
    }

    .check-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }

    .crypto-bg::after {
        display: none; /* Hide large crypto symbol on mobile */
    }

    /* Hide some coins on mobile */
    .crypto-coin-bg.bitcoin,
    .crypto-coin-bg.zcash {
        display: none;
    }

    .crypto-coin-bg {
        transform: scale(0.6);
        opacity: 0.6;
    }

    .crypto-symbol {
        font-size: 14px;
    }

        /* Adjust positions for mobile */
        .crypto-symbol.bitcoin {
            top: 10%;
            left: 8%;
        }

        .crypto-symbol.ethereum {
            top: 75%;
            left: 85%;
        }

        .crypto-symbol.litecoin {
            top: 85%;
            left: 10%;
        }

        .crypto-symbol.dogecoin {
            top: 20%;
            left: 88%;
        }

        .crypto-symbol.usdc {
            top: 65%;
            left: 5%;
        }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 0.8rem;
    }

    .title-text {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }

    .check-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }

    .crypto-symbol {
        font-size: 12px;
    }

    .content-container {
        padding: 1.5rem 0.8rem;
    }

    .benefit-item {
        font-size: 0.9rem;
        gap: 0.8rem;
    }

    .exclusive-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .crypto-coin-bg {
        transform: scale(0.5);
    }
}

@media (max-width: 360px) {
    .exclusive-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .benefit-item {
        font-size: 0.5rem;
        gap: 0.6rem;
    }

    .crypto-symbol {
        font-size: 10px;
    }

    .check-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .crypto-bg,
    .crypto-symbol {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .welcome-section {
        padding: 0.5rem;
    }

    .title-text {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .subtitle {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        margin-bottom: 1rem;
    }

    .benefits-list {
        margin-bottom: 1rem;
    }

    .benefit-item {
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
    }

    .check-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .crypto-symbol {
        font-size: 10px;
    }
}

.content-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.main-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

    .main-title.referral {
        margin-bottom: 1rem;
    }

.title-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: titleShine 3s ease-in-out infinite;
}

    .title-text.referral {
        font-size: clamp(2rem, 3vw, 2.5rem);
    }

@keyframes titleShine {
    0%, 100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

.exclusive-badge {
    position: relative;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    animation: badgePulse 2s ease-in-out infinite;
}

    .exclusive-badge::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        animation: shimmer 2.5s infinite;
    }

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    }
}

@keyframes shimmer {
    0% {
        transform: rotate(45deg) translate(-200%, -200%);
    }

    100% {
        transform: rotate(45deg) translate(200%, 200%);
    }
}

.crown-icon {
    font-size: 1rem;
    color: #8B4513;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

    .subtitle.referral {
        font-size: clamp(1.2rem, 3vw, 1.2rem);
        font-weight: 600;
        color: #e0e0e0;
        margin-bottom: 0;
        opacity: 0;
        animation: fadeInUp 1s ease-out 0.5s forwards;
    }


.benefits-list {
    list-style: none;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    color: #fff;
}

.check-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.3);
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.cta-button {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 50%, #ff2f3a 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
    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.5s ease;
    }

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

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .main-title {
        flex-direction: column;
        gap: 0.5rem;
    }

    .benefit-item {
        font-size: 1.1rem;
    }
}
