/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 320px;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Ensure proper width handling for desktop mode in mobile */
@media screen and (min-resolution: 0.001dpcm) {
    @media (min-width: 769px) {
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* Ensure desktop styles apply even on small devices when in desktop mode */
        body {
            min-width: 100%;
        }
    }
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

p {
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) and (orientation: portrait) {
    .navbar {
        padding: 0.8rem 0;
        height: 60px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .navbar {
        padding: 0.6rem 0;
        height: 55px;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #6366f1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 100px 0 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 90px 0 30px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.3;
    transition: all 0.3s ease;
}

/* Banner Display Control */
.desktop-banner {
    display: block;
}

.mobile-banner {
    display: none;
}

.mobile-desktop-banner {
    display: none;
}

/* Mobile Banner Optimizations */
@media (max-width: 768px) and (orientation: portrait) {
    .desktop-banner {
        display: none;
    }
    
    .mobile-banner {
        display: block;
        object-fit: cover;
        object-position: center top;
        opacity: 0.25;
        min-height: 100vh;
        width: 100%;
    }
    
    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }
}

@media (max-width: 480px) and (orientation: portrait) {
    .desktop-banner {
        display: none;
    }
    
    .mobile-banner {
        display: block;
        object-fit: cover;
        object-position: center center;
        opacity: 0.2;
        min-height: 100vh;
        transform: scale(1.1);
    }
    
    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }
}

/* For landscape/mobile desktop mode - show mobile desktop banner */
@media (max-width: 768px) and (orientation: landscape) {
    .desktop-banner {
        display: none;
    }
    
    .mobile-banner {
        display: none;
    }
    
    .mobile-desktop-banner {
        display: block !important;
    }
    
    .hero-banner {
        object-fit: cover;
        object-position: center center;
        opacity: 0.3;
        width: 100%;
        height: 100vh;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    text-align: center;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #a1a1aa;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #d1d5db;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 120px;
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #a1a1aa;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #6366f1;
}

.btn-secondary:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: #a1a1aa;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

@media (max-width: 768px) {
    .about {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 40px 0;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    padding-right: 1rem;
}

.about-text p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: left;
    text-align: justify;
    hyphens: auto;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature i {
    font-size: 2rem;
    color: #6366f1;
}

.feature h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    margin-bottom: 0.5rem;
    text-align: left;
    font-weight: 600;
}

.feature p {
    color: #a1a1aa;
    text-align: left;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #0a0a0a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.nft-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nft-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.nft-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.nft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nft-card:hover .nft-image img {
    transform: scale(1.1);
}

.nft-info {
    padding: 1.5rem;
}

.nft-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.nft-info p {
    color: #6366f1;
    font-weight: 600;
}

/* Whitelist Section */
.whitelist {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

@media (max-width: 768px) {
    .whitelist {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .whitelist {
        padding: 40px 0;
    }
}

/* Password Protection Screen */
.password-screen {
    max-width: 500px;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.password-container h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
    color: #6366f1;
    text-align: center;
    font-weight: 600;
}

.password-container p {
    color: #a1a1aa;
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    text-align: center;
    line-height: 1.6;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.password-form input {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.password-form input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: scale(1.02);
}

.password-form input::placeholder {
    color: #a1a1aa;
}

.password-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    animation: slideIn 0.3s ease;
}

.password-error i {
    font-size: 1.2rem;
}


.whitelist-requirements {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whitelist-requirements h3 {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-bottom: 1.5rem;
    color: #6366f1;
    text-align: center;
    font-weight: 600;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.requirement-item:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateX(5px);
    text-decoration: none;
    color: inherit;
}

.requirement-item i {
    font-size: 1.2rem;
    color: #6366f1;
    width: 20px;
    text-align: center;
}

.requirement-item span {
    color: #ffffff;
    font-weight: 500;
    text-align: left;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.whitelist-form-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Captcha Styling */
.captcha-container {
    margin-bottom: 2rem;
}

.captcha-challenge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.captcha-question {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    padding: 1rem;
    min-width: 200px;
    text-align: center;
    font-weight: 600;
    color: #6366f1;
    font-size: 1.1rem;
}

.captcha-challenge input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.captcha-challenge input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.captcha-challenge input::placeholder {
    color: #a1a1aa;
}

.whitelist-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: #a1a1aa;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    color: #a1a1aa;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    text-align: left;
    line-height: 1.4;
}

.success-message {
    text-align: center;
    padding: 3rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
}

.success-message i {
    font-size: 3rem;
    color: #22c55e;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #22c55e;
}

.success-message p {
    color: #a1a1aa;
}

/* Roadmap Section */
.roadmap {
    padding: 100px 0;
    background: #0a0a0a;
}

@media (max-width: 768px) {
    .roadmap {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .roadmap {
        padding: 40px 0;
    }
}

.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #6366f1, #8b5cf6);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 10px;
    width: 20px;
    height: 20px;
    background: #6366f1;
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 1rem;
    color: #6366f1;
    text-align: left;
    font-weight: 600;
}

.timeline-content p {
    color: #d1d5db;
    line-height: 1.7;
    text-align: left;
    text-align: justify;
    hyphens: auto;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

/* Prevent mobile styles from applying when browser is forced to desktop mode */
@media (max-width: 768px) and (orientation: portrait) {
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        margin-bottom: 1.5rem;
        padding: 0 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .stat {
        padding: 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        text-align: justify;
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .about-features {
        flex-direction: column;
        gap: 1.5rem;
    }

    .feature {
        text-align: center;
        padding: 1rem 0.8rem;
        gap: 0.8rem;
    }

    .feature i {
        font-size: 1.5rem;
    }

    .feature h3,
    .feature p {
        text-align: center;
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .whitelist-form {
        padding: 2rem 1.5rem;
    }
    
    .captcha-challenge {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .captcha-question {
        min-width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .captcha-challenge input {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .warning-message {
        padding: 0.8rem 1rem;
        margin-bottom: 1.25rem;
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    }

    .password-screen {
        padding: 2rem 1.5rem;
        margin: 0 1rem 2rem;
    }

    .whitelist-requirements {
        padding: 1.5rem;
        margin: 0 1rem 2rem;
    }

    .timeline-item {
        padding-left: 60px;
        margin-bottom: 2rem;
    }

    .timeline-content {
        padding: 1.2rem;
    }

    .timeline-content p {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: clamp(0.85rem, 3vw, 0.9rem);
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .tech-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 1.5rem !important;
        padding: 0 20px 2rem 20px !important;
        padding-right: 40px !important;
        grid-template-columns: none !important;
    }

    .tech-item {
        flex: 0 0 70vw !important;
        min-width: 70vw !important;
        max-width: 70vw !important;
        padding: 1.5rem 1.2rem;
        scroll-snap-align: start !important;
        min-height: 280px;
    }

    .tech-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .tech-item h3 {
        font-size: clamp(1rem, 4vw, 1.1rem);
    }

    .tech-item p {
        font-size: clamp(0.85rem, 3vw, 0.9rem);
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 480px) and (orientation: portrait) {
    html {
        -webkit-text-size-adjust: 100%;
    }
    
    .container {
        padding: 0 10px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 8vw, 1.8rem);
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 4vw, 0.95rem);
        margin-bottom: 0.5rem;
    }

    .hero-description {
        font-size: clamp(0.8rem, 3.5vw, 0.85rem);
        margin-bottom: 1rem;
        padding: 0 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .section-title {
        font-size: clamp(1.3rem, 6vw, 1.6rem);
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: clamp(0.8rem, 3vw, 0.9rem);
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .whitelist-form {
        padding: 1.2rem 0.8rem;
    }
    
    .captcha-challenge {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .captcha-question {
        min-width: 100%;
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .captcha-challenge input {
        width: 100%;
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .warning-message {
        padding: 0.7rem 0.8rem;
        margin-bottom: 1rem;
        font-size: clamp(0.7rem, 3vw, 0.8rem);
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }

    .warning-message i {
        font-size: 1rem;
    }

    .password-screen {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem 1.5rem;
    }

    .whitelist-requirements {
        padding: 1rem 0.8rem;
        margin: 0 0.5rem 1.5rem;
    }

    .timeline-item {
        padding-left: 50px;
        margin-bottom: 1.5rem;
    }

    .timeline-marker {
        width: 15px;
        height: 15px;
        left: 13px;
    }

    .timeline-content {
        padding: 0.8rem;
    }

    .timeline-content h3 {
        font-size: clamp(0.95rem, 4vw, 1.05rem);
        margin-bottom: 0.5rem;
    }

    .timeline-content p {
        font-size: clamp(0.8rem, 3.5vw, 0.85rem);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tech-item {
        padding: 1.2rem 0.8rem;
    }

    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .tech-item h3 {
        font-size: clamp(0.95rem, 4vw, 1.05rem);
        margin-bottom: 0.5rem;
    }

    .tech-item p {
        font-size: clamp(0.8rem, 3.5vw, 0.85rem);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .about-text p {
        font-size: clamp(0.85rem, 3.5vw, 0.9rem);
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .feature {
        padding: 0.8rem 0.6rem;
        gap: 0.6rem;
    }

    .feature i {
        font-size: 1.3rem;
    }

    .feature h3 {
        font-size: clamp(0.9rem, 3.5vw, 0.95rem);
        margin-bottom: 0.3rem;
    }

    .feature p {
        font-size: clamp(0.8rem, 3vw, 0.85rem);
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .requirement-item {
        padding: 0.7rem 0.6rem;
    }

    .requirement-item i {
        font-size: 1rem;
    }

    .requirement-item span {
        font-size: clamp(0.8rem, 3vw, 0.85rem);
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .btn-large {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: clamp(1.2rem, 4vw, 1.4rem);
    }

    .stat-label {
        font-size: clamp(0.7rem, 2.5vw, 0.75rem);
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: clamp(0.75rem, 3vw, 0.8rem);
    }
}

/* Horizontal Scroll Styling for Mobile - Technical Details */
@media (max-width: 768px) and (orientation: portrait) {
    .tech-grid {
        scrollbar-width: thin;
        scrollbar-color: rgba(99, 102, 241, 0.5) rgba(255, 255, 255, 0.05);
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        /* Prevent text selection while scrolling */
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    /* Allow text selection inside scroll containers */
    .tech-grid * {
        -webkit-user-select: text;
        user-select: text;
    }
    
    .tech-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .tech-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 3px;
    }
    
    .tech-grid::-webkit-scrollbar-thumb {
        background: rgba(99, 102, 241, 0.5);
        border-radius: 3px;
    }
    
    .tech-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(99, 102, 241, 0.7);
    }
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Element Animations */
.hero-content {
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    animation: fadeInUp 1.5s ease-out;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #ec4899);
    background-size: 200% 200%;
    animation: fadeInUp 1.5s ease-out, shimmer 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    animation: fadeInUp 1.8s ease-out;
}

.hero-description {
    animation: fadeInUp 2s ease-out;
}

.hero-stats {
    animation: fadeInUp 2.2s ease-out;
}

.hero-buttons {
    animation: fadeInUp 2.4s ease-out;
}

.nft-card {
    animation: fadeInUp 0.8s ease-out;
    transition: all 0.3s ease;
}

.nft-card:hover {
    animation: float 2s ease-in-out infinite;
}

/* About Text Animation */
.about-text {
    animation: slideInFromLeft 0.8s ease-out;
    opacity: 0;
    transform: translateX(-30px);
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

/* About Features Animation */
.about-features {
    animation: slideInFromRight 0.8s ease-out;
    opacity: 0;
    transform: translateX(30px);
}

.about-features.animate {
    opacity: 1;
    transform: translateX(0);
}

.feature {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature:hover {
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
}

.timeline-item {
    animation: slideInFromLeft 0.8s ease-out;
    transition: all 0.3s ease;
}

.timeline-marker {
    animation: fadeInScale 1s ease-out;
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    animation: glow 2s ease-in-out infinite;
}

.logo {
    animation: float 3s ease-in-out infinite;
}

.nav-link {
    transition: all 0.3s ease;
}

.nav-link:hover {
    animation: bounce 0.6s ease;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Success Animation */
@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message i {
    animation: checkmark 0.6s ease-out;
}

/* Warning Message */
.warning-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: #f59e0b;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.5;
    animation: pulse-warning 2s ease-in-out infinite;
}

.warning-message i {
    font-size: 1.2rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.warning-message span {
    font-weight: 500;
}

.warning-message strong {
    color: #fbbf24;
    font-weight: 700;
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }
}

/* Staggered Animations */
.about-features .feature:nth-child(1) { animation-delay: 0.1s; }
.about-features .feature:nth-child(2) { animation-delay: 0.2s; }
.about-features .feature:nth-child(3) { animation-delay: 0.3s; }

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

/* Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Button Hover Effects */
.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Enhanced Card Hover Effects */
.nft-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.3);
}

/* Enhanced Feature Hover Effects */
.feature:hover {
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
    animation: none;
}

/* Enhanced Timeline Hover Effects */
.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-marker:hover {
    animation: pulse 1s ease-in-out infinite;
}

/* Enhanced Form Animations */
.form-group input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* Enhanced Success Message */
.success-message {
    animation: fadeInScale 0.8s ease-out;
}

.success-message i {
    animation: checkmark 0.8s ease-out, float 2s ease-in-out infinite 1s;
}

/* Enhanced Error Message */
.error-message {
    animation: slideInFromLeft 0.5s ease-out;
}

/* Enhanced Loading States */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    animation: pulse 1s ease-in-out infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #6366f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8b5cf6;
}

/* Whitelist Form Animation */
.whitelist-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.whitelist-content.show {
    opacity: 1;
    transform: translateY(0);
    animation: formSlideIn 0.8s ease-out;
}

@keyframes formSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Password Screen Exit Animation */
.password-screen.hide {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    transition: all 0.5s ease;
    pointer-events: none;
}

/* Technical Details Section */
.technical-details {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) and (orientation: portrait) {
    .technical-details {
        padding: 50px 0 80px 0;
    }
    
    .tech-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 2rem !important;
        padding: 0 40px 2rem 20px !important;
        margin-top: 2rem !important;
        grid-template-columns: none !important;
    }
    
    .tech-item {
        flex: 0 0 80vw !important;
        max-width: 80vw !important;
        min-width: 80vw !important;
        scroll-snap-align: start !important;
        min-height: 300px;
    }
}

@media (max-width: 480px) and (orientation: portrait) {
    .technical-details {
        padding: 40px 0 80px 0;
    }
    
    .tech-grid {
        gap: 1.5rem !important;
        padding-right: 40px !important;
    }
    
    .tech-item {
        flex: 0 0 85vw !important;
        max-width: 85vw !important;
        min-width: 85vw !important;
        min-height: 280px;
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.tech-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.tech-item h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

.tech-item p {
    color: #a1a1aa;
    line-height: 1.7;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-align: center;
    text-align: justify;
    hyphens: auto;
}
