html { font-size: 16px; }
body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

img, video { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.welcome { font-size: clamp(2rem, 7vw, 6.5rem); }
.hero-subtitle { font-size: clamp(1rem, 2.2vw, 1.4rem); }
.perks h2 { font-size: clamp(1.8rem, 4.8vw, 3rem); }
.nft-gallery h2 { font-size: clamp(2rem, 5.2vw, 3.5rem); }
.wallet-checker h2 { font-size: clamp(1.8rem, 4.8vw, 3rem); }
.docs h2 { font-size: clamp(1.8rem, 4.8vw, 3rem); }
.docs h3 { font-size: clamp(1.25rem, 3.5vw, 2rem); }
.intro-text { font-size: clamp(1rem, 2.8vw, 1.3rem); }

.play-btn { font-size: clamp(1rem, 3.8vw, 1.8rem); padding: clamp(12px, 2.6vw, 25px) clamp(20px, 5vw, 50px); }
.check-btn { font-size: clamp(1rem, 3vw, 1.3rem); padding: clamp(12px, 2.5vw, 20px) clamp(20px, 5vw, 40px); }
.wallet-input { font-size: clamp(0.95rem, 2.6vw, 1.1rem); padding: clamp(12px, 2.8vw, 20px); }

.nft-grid { grid-template-columns: repeat(auto-fit, minmax(min(45vw, 320px), 1fr)); gap: clamp(12px, 3vw, 30px); }
.nft-card { width: 100%; max-width: 350px; }

@media (max-device-width: 768px) and (min-width: 1024px) {
    html { font-size: 15px; }
    .container { max-width: min(900px, 92vw); }
    .logo { width: clamp(120px, 28vw, 200px); }
    .welcome { font-size: clamp(1.2rem, 4vw, 2rem); }
    .hero-subtitle { font-size: clamp(0.85rem, 2vw, 1rem); }
    .play-btn { font-size: clamp(0.85rem, 2vw, 1rem); padding: clamp(8px, 1.8vw, 12px) clamp(12px, 3vw, 18px); }
    .perks { padding: clamp(30px, 7vw, 60px) 0; }
        .nft-grid {
            grid-template-columns: 1fr;
            justify-content: center;
            justify-items: center;
            margin-left: auto;
            margin-right: auto;
            gap: 18px;
        }
        .nft-card { max-width: 320px; width: 100%; }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a0a2e 50%, #16213e 100%);
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #1a0a2e 50%, #0f0f23 100%);
    border-bottom: 3px solid #9333ea;
    box-shadow: 0 0 50px rgba(147, 51, 234, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('public/images/background-logo.jpg') no-repeat center/cover;
    opacity: 0.2;
    z-index: -1;
    filter: brightness(0.3) contrast(1.5);
}

.hero .container {
    z-index: 1;
}

.logo {
    width: 400px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 30px rgba(147, 51, 234, 0.8)) brightness(1.2);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(147, 51, 234, 1)) brightness(1.4);
}

.welcome {
    font-size: 6.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #9333ea, #c084fc, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    text-shadow: 0 0 30px rgba(147, 51, 234, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.6));
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #9333ea;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.hero-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.welcome.visible {
    opacity: 1;
    transform: translateY(0);
}

.play-btn {
    background: linear-gradient(45deg, #9333ea, #c084fc, #00ffff);
    border: none;
    padding: 25px 50px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.6), 0 0 60px rgba(0, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-glow 2s infinite;
    border: 2px solid transparent;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 30px rgba(147, 51, 234, 0.6), 0 0 60px rgba(0, 255, 255, 0.3);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 50px rgba(147, 51, 234, 1), 0 0 100px rgba(0, 255, 255, 0.6);
        filter: brightness(1.2);
    }
    100% {
        box-shadow: 0 0 30px rgba(147, 51, 234, 0.6), 0 0 60px rgba(0, 255, 255, 0.3);
        filter: brightness(1);
    }
}

.play-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 0 60px rgba(147, 51, 234, 1), 0 0 120px rgba(0, 255, 255, 0.8);
    animation: none;
    filter: brightness(1.3);
}

.perks {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #0f0f23 0%, #1a0a2e 50%, #000000 100%);
    border-top: 1px solid rgba(147, 51, 234, 0.3);
    border-bottom: 1px solid rgba(147, 51, 234, 0.3);
    position: relative;
}

.perks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.perks h2 {
    font-size: 3rem;
    color: #9333ea;
    margin-bottom: 30px;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(147, 51, 234, 0.8);
    position: relative;
    z-index: 1;
}

.intro-text {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #c084fc;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(192, 132, 252, 0.5);
    position: relative;
    z-index: 1;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.perk-item {
    background: linear-gradient(135deg, #1a0a2e 0%, #0f0f23 100%);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    border: 2px solid rgba(147, 51, 234, 0.3);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.perk-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(147, 51, 234, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.perk-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.perk-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.6), 0 15px 40px rgba(0, 255, 255, 0.2);
    border-color: #9333ea;
}

.perk-item:hover::before {
    opacity: 1;
}

.perk-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000000;
    background: linear-gradient(45deg, #9333ea, #c084fc, #00ffff);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: transform 0.5s ease;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.6);
}

.perk-item:hover .perk-number {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 30px rgba(147, 51, 234, 1), 0 0 60px rgba(0, 255, 255, 0.5);
}

.perk-item h3 {
    color: #c084fc;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
    position: relative;
    z-index: 1;
}

.perk-item p {
    color: #e0e0e0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.nft-gallery {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #16213e 0%, #1a0a2e 50%, #0f0f23 100%);
    color: #ffffff;
    position: relative;
}

.nft-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.nft-gallery h2 {
    font-size: 3.5rem;
    color: #00ffff;
    margin-bottom: 30px;
    font-weight: 800;
    text-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    justify-items: center;
    align-items: start;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.nft-card {
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: scale(0.9);
    background: linear-gradient(135deg, #1a0a2e 0%, #0f0f23 100%);
    border: 3px solid rgba(147, 51, 234, 0.5);
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.4);
    position: relative;
    margin: 0 auto;
}

.nft-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(147, 51, 234, 0.2), 
        rgba(0, 255, 255, 0.1), 
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nft-card:hover::before {
    opacity: 1;
}

.nft-card.visible {
    opacity: 1;
    transform: scale(1);
}

.nft-card:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 0 60px rgba(147, 51, 234, 0.8), 0 0 100px rgba(0, 255, 255, 0.4);
    border-color: #00ffff;
}

.nft-card img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.nft-card:hover img {
    transform: scale(1.05);
}

.wallet-checker {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #0f0f23 0%, #1a0a2e 50%, #000000 100%);
    border-top: 1px solid rgba(147, 51, 234, 0.3);
    border-bottom: 1px solid rgba(147, 51, 234, 0.3);
    position: relative;
}

.wallet-checker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.wallet-checker h2 {
    font-size: 3rem;
    color: #9333ea;
    margin-bottom: 30px;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(147, 51, 234, 0.8);
    position: relative;
    z-index: 1;
}

.wallet-form {
    max-width: 500px;
    margin: 0 auto;
}

.wallet-input {
    width: 100%;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 50px;
    border: 2px solid rgba(147, 51, 234, 0.5);
    background: rgba(26, 10, 46, 0.8);
    color: #e0e0e0;
    font-size: 1.1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
}

.wallet-input:focus {
    border-color: #00ffff;
    outline: none;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    background: rgba(26, 10, 46, 0.9);
}

.wallet-input::placeholder {
    color: #c084fc;
}

.check-btn {
    background: linear-gradient(45deg, #9333ea, #c084fc, #00ffff);
    border: none;
    padding: 20px 40px;
    font-size: 1.3rem;
    color: #000000;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.6);
}

.check-btn:hover {
    background: linear-gradient(45deg, #c084fc, #00ffff, #9333ea);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 50px rgba(147, 51, 234, 1), 0 0 100px rgba(0, 255, 255, 0.5);
}

.result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.docs {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #1a0a2e 50%, #0f0f23 100%);
    border-top: 1px solid rgba(147, 51, 234, 0.3);
    position: relative;
}

.docs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.docs h2 {
    font-size: 3rem;
    color: #9333ea;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(147, 51, 234, 0.8);
    position: relative;
    z-index: 1;
}

.docs-content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.8) 0%, rgba(15, 15, 35, 0.8) 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.3);
    border: 1px solid rgba(147, 51, 234, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.docs-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.docs h3 {
    font-size: 2rem;
    color: #00ffff;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.docs p {
    color: #e0e0e0;
    margin-bottom: 15px;
    line-height: 1.7;
}

.docs ul {
    list-style-type: disc;
    padding-left: 30px;
    color: #e0e0e0;
}

.docs li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer {
    padding: 50px 0;
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #1a0a2e 100%);
    border-top: 3px solid #9333ea;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
}

.footer p {
    color: #c084fc;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.3);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.socials a {
    color: #9333ea;
    font-size: 2rem;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    padding: 15px;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.1);
    border: 2px solid rgba(147, 51, 234, 0.3);
}

.socials a:hover {
    color: #00ffff;
    transform: scale(1.3) rotateY(15deg);
    background: rgba(147, 51, 234, 0.3);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    border-color: #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal.visible {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #1a0a2e 0%, #0f0f23 100%);
    padding: 50px;
    border-radius: 30px;
    max-width: 600px;
    text-align: center;
    border: 3px solid #9333ea;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 0 60px rgba(147, 51, 234, 0.6);
    position: relative;
}

.modal.visible .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    color: #00ffff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
}

.modal-content p {
    color: #e0e0e0;
    font-size: 1.3rem;
    line-height: 1.6;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #9333ea;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close:hover {
    color: #00ffff;
    transform: scale(1.2) rotate(90deg);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.nft-gallery .intro-text {
    color: #c084fc;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(192, 132, 252, 0.5);
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    /* iPad and small laptops */
    .nft-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
    .nft-card { max-width: 280px; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    .welcome { font-size: 1.3rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .play-btn { padding: 12px 20px; font-size: 1rem; }
    .perks-grid { grid-template-columns: 1fr; }
    .nft-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        justify-content: center;
        justify-items: center;
        margin-left: auto;
        margin-right: auto;
    }
    .nft-card { max-width: 95vw; width: 100%; }
}

@media (max-width: 400px) {
    .container {
        padding: 0 5px;
    }
    .logo {
        width: 180px;
        margin-bottom: 15px;
    }
    .welcome {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .play-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    .perks {
        padding: 40px 0;
    }
    .perk-item {
        padding: 10px 5px;
    }
    .nft-grid {
        gap: 10px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
    .logo {
        width: 600px;
    }
    .welcome {
        font-size: 8rem;
    }
    .hero-subtitle {
        font-size: 2.2rem;
    }
    .play-btn {
        padding: 35px 70px;
        font-size: 2.2rem;
    }
    .perks {
        padding: 160px 0;
    }
    .perk-item {
        padding: 40px 30px;
    }
    .nft-grid {
        gap: 40px;
    }
}