@import url('https://fonts.googleapis.com/css2?family=Bitcount+Single:wght@100..900&display=swap');


/* Base Styles */
:root {
    --primary: #E63946;
    --dark: #0F0F13;
    --darker: #08080B;
    --light: #F7F7F9;
    --gray: #A5A6B8;
    --dark-gray: #1E1E26;
    --card-bg: #16161D;
    --logo-font: "Bitcount Single", system-ui;
}

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

html {
    scroll-behavior: smooth;
    height: 100%;

}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    background-image: radial-gradient(circle at 15% 50%, rgba(30, 30, 38, 0.3) 0%, rgba(15, 15, 19, 0) 100%);
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Typography */
h1,h2,h3,h4 {
    font-weight: 700;
    line-height: 1.1;
}

/*  Loader Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

#loader-text {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

#loader-percentage {
    font-size: 5rem;
    font-weight: 900;
}

/* Layout Components */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 7px;
    left: 0;
    width: 100%;
    padding: 0.125rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    /* semi-transparent background */
    backdrop-filter: blur(16px);
    /* strong blur for glass effect */
    -webkit-backdrop-filter: blur(16px);
    /* Safari support */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);

    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {

    border-radius: 70px;
    padding: 0.150rem 2rem;
    background-color: rgba(8, 8, 11, 0.671);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 2rem;
    font-weight: 400;
    font-family: var(--logo-font);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-optical-sizing: auto;

}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a,.card-content a {
    color: var(--light);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover,.card-content {

    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.waitlist-btn {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    font-size: 0.75rem;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.waitlist-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 19, 0.9) 0%, rgba(15, 15, 19, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 4rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 8px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero h2 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--gray);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.hero .waitlist-btn {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

/* Animated background for hero */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
    background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460, #1a1a2e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
}

/* About Section */
.about {
    background-color: var(--darker);
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.about-text {
    flex: 1;
}

.ethereum-badge {
    display: inline-block;
    background-color: #627EEA;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.about-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--gray);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.platform {
    background-color: var(--dark-gray);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
}


/* About Section */
.about-section {
    background-color: #18181c;
    color: #f5f5f7;
    padding: 5rem 0 3rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-container h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--primary, #6c63ff);
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 1;
    transform: none;
    transition: none;
}

.about-container h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--gray, #b0b0b8);
    opacity: 1;
    transform: none;
    transition: none;
}

.about-container p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: var(--gray, #b0b0b8);
    opacity: 1;
    transform: none;
    transition: none;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards Section */
.cards-section {
    background-color: var(--dark, #101014);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0 5rem 0;
}

.cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 15, 19, 0.95), rgba(15, 15, 19, 0.8));
    z-index: 1;
}

.cards-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.cards-container h2,
.cards-container h3,
.cards-container p {
    display: none;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 0;
    opacity: 1;
    transform: none;
    transition: none;
}

.card {
    background-color: var(--card-bg, #23232b);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    aspect-ratio: 2/3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    text-align: left;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.card-type {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.card:hover .card-title,
.card:hover .card-type {
    color: var(--primary);
}



/* Footer */
footer {
    background-color: var(--darker);
    padding: 6rem 0;
    text-align: center;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--primary);
    font-family: var(--logo-font);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    font-size: 0.875rem;
    color: var(--gray);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    color: var(--light);
    font-size: 1.25rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    .about-content {
        gap: 4rem;
    }
}

@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .platforms {
        justify-content: center;
    }

    .section {
        padding: 6rem 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding:0.125rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--darker);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .waitlist-btn {
        padding: 0.75rem 0.75rem;
        margin-left: auto;
        margin-right: 1rem;
    }

    .hero {
        min-height: 100vh;
        text-align: center;
    }

    .hero h1 {
        letter-spacing: 6px;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    /* Adjust scroll snap for mobile */
    .snap-section {
        height: auto;
        min-height: 100vh;
    }
    
    .scroll-nav {
        display: none; /* Hide scroll dots on mobile */
    }
}

