:root {
    --cyan: #00e5ff;
    --cyan-dark: #00b8d4;
    --bg-primary: #0a0e17;
    --bg-card: #111927;
    --bg-card-border: #1a2744;
    --text-primary: #ffffff;
    --text-secondary: #8899aa;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navbar */
.navbar-custom {
    background: transparent;
    padding: 1.2rem 0;
}

.navbar-brand-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
}

.navbar-brand-text:hover {
    color: var(--cyan);
}

.nav-link-custom {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--cyan) !important;
}

/* Badge */
.launch-badge {
    display: inline-block;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 229, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.6); }
}

/* Hero */
.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 1.5rem;
}

.hero-title span {
    color: var(--cyan);
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 550px;
    margin: 1rem auto;
    line-height: 1.7;
}

/* Countdown Section */
.countdown-section {
    margin: 3rem 0;
}

.countdown-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.5rem;
}

.countdown-cards {
    display: flex;
    gap: 0.4rem;
}

.countdown-label {
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.7rem;
    letter-spacing: 1px;
}

/* Flip Card */
.flip-card {
    width: 80px;
    height: 110px;
    perspective: 300px;
    position: relative;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.flip-card .top,
.flip-card .bottom {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card .top {
    top: 0;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    align-items: flex-start;
}

.flip-card .bottom {
    bottom: 0;
    border-radius: 0 0 10px 10px;
    border-top: none;
    align-items: flex-end;
}

.flip-card .top span,
.flip-card .bottom span {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--cyan);
    line-height: 110px;
}

/* Flip animation overlays */
.flip-card .top-flip,
.flip-card .bottom-flip {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card .top-flip {
    top: 0;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    transform-origin: bottom;
    transform: rotateX(0deg);
    z-index: 2;
    align-items: flex-start;
}

.flip-card .top-flip span {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--cyan);
    line-height: 110px;
}

.flip-card .bottom-flip {
    bottom: 0;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 0 0 10px 10px;
    transform-origin: top;
    transform: rotateX(90deg);
    z-index: 2;
    align-items: flex-end;
}

.flip-card .bottom-flip span {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--cyan);
    line-height: 110px;
}

.flip-card.flip .top-flip {
    animation: flip-top 0.6s ease-in forwards;
}

.flip-card.flip .bottom-flip {
    animation: flip-bottom 0.6s ease-out 0.3s forwards;
}

@keyframes flip-top {
    0% { transform: rotateX(0deg); }
    100% { transform: rotateX(-90deg); }
}

@keyframes flip-bottom {
    0% { transform: rotateX(90deg); }
    100% { transform: rotateX(0deg); }
}

/* Card glow on flip */
.flip-card.flip .top,
.flip-card.flip .bottom {
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* Signup Section */
.signup-section {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    margin: 3rem auto;
}

.signup-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.signup-form {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.signup-form input {
    background: var(--bg-primary);
    border: 1px solid var(--bg-card-border);
    color: var(--text-primary);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 200px;
    outline: none;
    transition: border-color 0.3s;
}

.signup-form input:focus {
    border-color: var(--cyan);
}

.signup-form input::placeholder {
    color: var(--text-secondary);
}

.btn-cyan {
    background: transparent;
    border: 1.5px solid var(--cyan);
    color: var(--cyan);
    padding: 0.7rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-cyan:hover {
    background: var(--cyan);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.signup-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.signup-note a {
    color: var(--cyan);
    text-decoration: underline;
}

/* Footer */
.footer {
    border-top: 1px solid var(--bg-card-border);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-icon-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.3s;
}

.footer-icon-card:hover {
    border-color: var(--cyan);
}

.footer-icon-card svg {
    width: 32px;
    height: 32px;
    fill: var(--cyan);
    margin-bottom: 0.5rem;
}

.footer-icon-card p {
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 1.5rem;
}

/* Water ripple background effect */
.water-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 229, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 229, 255, 0.02) 0%, transparent 50%);
}

/* Responsive */
@media (max-width: 768px) {
    .flip-card {
        width: 60px;
        height: 85px;
    }

    .flip-card .top span,
    .flip-card .bottom span,
    .flip-card .top-flip span,
    .flip-card .bottom-flip span {
        font-size: 2.2rem;
        line-height: 85px;
    }

    .countdown-group {
        margin: 0.3rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .signup-section {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .flip-card {
        width: 48px;
        height: 68px;
    }

    .flip-card .top span,
    .flip-card .bottom span,
    .flip-card .top-flip span,
    .flip-card .bottom-flip span {
        font-size: 1.6rem;
        line-height: 68px;
    }
}
