/* Base Styles */
:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --accent-color: #f1faee;
    --text-color: #2b2d42;
    --light-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* WebGL Background */
#webgl-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom, #000000 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

/* Ensure content is above the WebGL canvas */
.container {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem;
    max-width: 1200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: calc(100% - 2rem);
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.1; 
        box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.2);
    }
    50% { 
        opacity: 1; 
        box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.8);
    }
}

.comet {
    position: absolute;
    width: 8px;
    height: 3px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.8), rgba(100,149,237,0.8));
    box-shadow: 0 0 20px 5px rgba(100, 149, 237, 0.6);
    opacity: 0;
    transform-origin: left center;
    filter: blur(1px);
    animation: comet 8s linear infinite;
    will-change: transform, opacity;
}

.comet::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, rgba(100,149,237,0.8), transparent);
}

@keyframes comet {
    0% {
        transform: translate(-100px, -100px) rotate(45deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    20% {
        opacity: 1;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: translate(calc(100vw + 100px), calc(100vh + 100px)) rotate(45deg) scale(1);
        opacity: 0;
    }
}

/* Content Styling */
.content {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    color: #fff;
}

.slogan {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #a0a0ff;
    text-shadow: 0 0 10px rgba(160, 160, 255, 0.5);
}

.coming-soon {
    font-size: 1.5rem;
    color: #fff;
    margin: 3rem 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.animated-text {
    display: inline-block;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .slogan {
        font-size: 1.4rem;
    }
    
    .coming-soon {
        font-size: 1.2rem;
    }
    
    .container {
        margin: 1rem;
        padding: 1rem;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--light-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

/* Header Styles */
header {
    margin-bottom: 2rem;
}

.logo {
    max-width: 250px;
    height: auto;
    animation: bounce 2s infinite;
}

/* Main Content Styles */
.content {
    padding: 2rem 0;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.slogan {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.sloganhastag {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.coming-soon {
    margin: 3rem 0;
    text-align: center;
}

.launch-text {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #a5dff9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    animation: gradient 8s ease infinite, pulse 2s infinite;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    padding: 0.5rem;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #6e45e2 0%, #89d4cf 100%);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    min-width: 75px;
    text-align: center;
    margin-bottom: 0.6rem;
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
    box-shadow: 0 4px 15px rgba(110, 69, 226, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px -10px #a78bfa;
    }
    to {
        box-shadow: 0 0 20px 5px #a78bfa;
    }
}

.countdown-number:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(110, 69, 226, 0.6);
}

.countdown-label {
    font-size: 1rem;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    margin-top: 0.3rem;
    transition: all 0.3s ease;
}

.countdown-item:hover .countdown-label {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(2px);
}

/* Animation for each countdown item with delay */
.countdown-item:nth-child(1) .countdown-number { animation-delay: 0s; }
.countdown-item:nth-child(2) .countdown-number { animation-delay: 0.2s; }
.countdown-item:nth-child(3) .countdown-number { animation-delay: 0.4s; }
.countdown-item:nth-child(4) .countdown-number { animation-delay: 0.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animated-text::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: var(--accent-color);
    animation: blink 0.7s infinite;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        margin: 0.5rem;
        width: calc(100% - 1rem);
        border-radius: 10px;
    }

    .title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .slogan {
        font-size: 1.4rem;
    }

    .sloganhastag {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .launch-text {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .countdown-container {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.5rem 0.3rem;
    }

    .countdown-number {
        font-size: 1.8rem;
        min-width: 60px;
        padding: 0.4rem 0.6rem;
        margin-bottom: 0.3rem;
    }

    .countdown-label {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .countdown-item {
        min-width: calc(50% - 1rem);
        margin: 0.2rem;
    }

    .countdown-number {
        font-size: 2rem;
        min-width: auto;
        width: 100%;
    }

    .countdown-label {
        font-size: 0.8rem;
    }
}

/* Footer Styles */
footer {
    margin-top: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--light-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Typing Animation */
.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--accent-color);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.15em;
    animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-color); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .slogan {
        font-size: 1.4rem;
    }
    
    .coming-soon {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .slogan {
        font-size: 1.2rem;
    }
    
    .logo {
        max-width: 120px;
    }
}
