@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

canvas:not(.card-shader) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glassy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(50px);
    pointer-events: none;
}

/* Base styles */
:root {
    --background: rgb(10, 10, 11);
    --foreground: rgb(250, 250, 250);
    --card: rgb(10, 10, 11);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    overscroll-behavior: none;
    min-height: 100vh;
    position: relative;
}

/* Background Elements */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.logo-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('logo.png');
    background-size: 64px;
    opacity: 0.02;
    pointer-events: none;
}

/* Main Content */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.content {
    text-align: center;
}

.logo {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 1.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .logo {
        width: 12rem;
        height: 12rem;
    }
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 4.5rem;
    }
}

.subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 1.25rem;
    }
}

/* Scroll Button */
.scroll-hint {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    margin: 0;
    backdrop-filter: none;
    box-shadow: none;
}

.scroll-hint:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Remove any existing button styles that might affect it */
.scroll-hint.bounce {
    background: none;
    border: none;
    box-shadow: none;
}

/* Partners Section */
.partners {
    padding: 4rem 1rem;
    max-width: 1024px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Simple Cards */
.card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: white;
    transition: border-color 0.2s;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.card svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.6);
}

.card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* About Section */
.about {
    text-align: center;
    max-width: 32rem;
    margin: 0 auto;
}

.about p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
footer {
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(to top, var(--background), transparent);
}

/* Animations */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

button {
    margin: 3em 0;
    padding: 1em 1.5em;
    color: #fff;
    font-size: 16px;
    border: 1px solid rgba(149, 99, 255, 0.5);
    outline: none;
    border-radius: 0.75em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Create layered gradient effects to simulate the shader */
    background: 
        /* Layer 1: Base iridescent gradient */
        linear-gradient(
            120deg,
            rgba(160, 93, 234, 0.4) 0%,
            rgba(57, 34, 215, 0.4) 50%,
            rgba(130, 93, 234, 0.4) 100%
        ),
        /* Layer 2: Highlight effect */
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 10%,
            transparent 50%
        ),
        /* Layer 3: Shadow effect */
        linear-gradient(
            180deg,
            rgba(60, 8, 126, 0) 0%,
            rgba(60, 8, 126, 0.32) 100%
        ),
        /* Base color */
        rgba(113, 47, 255, 0.12);
    
    /* Add a subtle inner glow */
    box-shadow: 
        inset 0 0 12px #bf97ff3d,
        inset 0 0 2px rgba(255, 255, 255, 0.1);
    
    /* Add backdrop blur for the glassy effect */
    backdrop-filter: blur(20px);
    
    /* Smooth transitions */
    transition: all 0.3s ease;
}

/* Hover effect */
button:hover {
    background: 
        /* Layer 1: Enhanced iridescent gradient */
        linear-gradient(
            120deg,
            rgba(180, 113, 254, 0.5) 0%,
            rgba(77, 54, 235, 0.5) 50%,
            rgba(150, 113, 254, 0.5) 100%
        ),
        /* Layer 2: Enhanced highlight */
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.07) 10%,
            transparent 50%
        ),
        /* Layer 3: Enhanced shadow */
        linear-gradient(
            180deg,
            rgba(80, 28, 146, 0) 0%,
            rgba(80, 28, 146, 0.42) 100%
        ),
        /* Enhanced base color */
        rgba(133, 67, 255, 0.15);
    
    /* Enhanced glow on hover */
    box-shadow: 
        inset 0 0 15px #bf97ff5d,
        inset 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Active state */
button:active {
    transform: translateY(1px);
    background: 
        /* Darker gradients for pressed state */
        linear-gradient(
            120deg,
            rgba(140, 73, 214, 0.4) 0%,
            rgba(37, 14, 195, 0.4) 50%,
            rgba(110, 73, 214, 0.4) 100%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.05) 0%,
            transparent 50%
        ),
        rgba(93, 27, 235, 0.12);
} 