/* /public/styles.css */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    font-size: 16px;
}

body {
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 35%, #0f3460 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
}

.hero-content {
    max-width: 560px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* Logo */
.logo-container {
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease-out;
}

.logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.15));
}

/* Typography */
.headline {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    animation: slideInDown 1s ease-out 0.2s both;
}

.tagline {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: slideInUp 1s ease-out 0.4s both;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.6s both;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 0.8rem;
    min-width: 70px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    transition: color 0.3s ease;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 0.25rem;
    font-weight: 500;
}

.countdown-separator {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.6;
    margin: 0 0.2rem;
}

/* Launch Info Container */
.launch-info {
    animation: slideInUp 1s ease-out 0.8s both;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.launch-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #764ba2;
    text-decoration: underline;
}



/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

.server-info {
    font-size: 0.75rem;
    opacity: 0.5;
    font-family: 'Courier New', monospace;
}

/* No JS Fallback */
.no-js-fallback {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    max-width: 400px;
}

.no-js-fallback a {
    color: #ffc107;
    text-decoration: none;
}

.no-js-fallback a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 1rem;
    }
    
    .countdown {
        gap: 0.3rem;
        margin-bottom: 2rem;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 0.8rem 0.6rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .launch-info {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 60px;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .launch-info {
        padding: 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .countdown-item:hover,
    .social-links a:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .footer,
    .no-js-fallback {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-content {
        color: black;
    }
}