/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #4a4a4a;
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Container and layout */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.content {
    text-align: center;
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
    padding: 4rem 2rem;
}

/* Brand/Logo */
.logo {
    margin-bottom: 5rem;
}

.brand {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #2a2a2a;
    text-transform: uppercase;
    position: relative;
}

/* Main content */
.main-content {
    margin-bottom: 6rem;
}

.title {
    font-size: 4rem;
    font-weight: 200;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    color: #2a2a2a;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #888888;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #00d4ff;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

.footer-text {
    font-size: 0.9rem;
    color: #aaaaaa;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Minimal geometric accents */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    background: #00d4ff;
}

.shape-1 {
    width: 1px;
    height: 100px;
    top: 20%;
    left: 10%;
    opacity: 0.2;
}

.shape-2 {
    width: 80px;
    height: 1px;
    top: 70%;
    right: 15%;
    opacity: 0.2;
}

.shape-3 {
    width: 1px;
    height: 60px;
    bottom: 30%;
    left: 85%;
    opacity: 0.15;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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


/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .brand {
        font-size: 2.8rem;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .shape-1 {
        height: 80px;
    }
    
    .shape-2 {
        width: 60px;
    }
    
    .shape-3 {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .brand {
        font-size: 2.2rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main-content {
        margin-bottom: 4rem;
    }
    
    .footer {
        gap: 1.5rem;
    }
}

/* Dark mode support - keeping light theme */
@media (prefers-color-scheme: dark) {
    body {
        background: #f8f9fa;
        color: #2a2a2a;
    }
    
    .brand, .title {
        color: #1a1a1a;
    }
    
    .subtitle {
        color: #666666;
    }
    
    .description {
        color: #4a4a4a;
    }
    
    .footer-text {
        color: #888888;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .brand, .title {
        color: #000000;
    }
    
    .subtitle, .description {
        color: #000000;
    }
    
    .footer-text {
        color: #000000;
    }
    
    .shape {
        background: #000000;
        opacity: 1;
    }
}

/* Game UI */
.game-ui {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10;
    opacity: 1;
    pointer-events: auto;
}

.game-score {
    font-size: 0.9rem;
    color: #00d4ff;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-align: right;
}


/* Game dots */
.game-dot {
    position: fixed;
    width: 20px;
    height: 20px;
    background: #00d4ff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    pointer-events: none;
}

.game-dot.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.game-dot.clicked {
    opacity: 0;
    transform: scale(1.5);
    animation: dotClick 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 20;
}

.game-dot.timeout {
    opacity: 0;
    transform: scale(0.5);
    animation: dotTimeout 0.3s ease-out;
}

@keyframes dotClick {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 #00d4ff;
    }
    25% {
        transform: scale(1.3);
        opacity: 0.9;
        box-shadow: 0 0 15px #00d4ff, 0 0 30px #00d4ff;
    }
    50% {
        transform: scale(2.2);
        opacity: 0.7;
        box-shadow: 0 0 25px #00d4ff, 0 0 50px #00d4ff, 0 0 75px #00d4ff;
    }
    75% {
        transform: scale(2.8);
        opacity: 0.4;
        box-shadow: 0 0 35px #00d4ff, 0 0 70px #00d4ff, 0 0 105px #00d4ff;
    }
    100% {
        transform: scale(3.5);
        opacity: 0;
        box-shadow: 0 0 50px #00d4ff, 0 0 100px #00d4ff, 0 0 150px #00d4ff;
    }
}

@keyframes dotTimeout {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.5);
        opacity: 0;
    }
}


/* Mobile responsive for game */
@media (max-width: 768px) {
    .game-ui {
        top: 1rem;
        right: 1rem;
    }
    
    .game-score {
        font-size: 0.8rem;
    }
    
    .game-dot {
        width: 30px;
        height: 30px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .content {
        animation: none;
    }
    
    .game-dot {
        transition: none;
    }
}
