/* Custom Properties */
:root {
    --bg-dark: #0a0c10;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-green: #5cb85c;
    --accent-green-hover: #4cae4c;
    --accent-dark-grey: #2a2a2a;
    --glass-bg: rgba(18, 20, 24, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Backgrounds */
.bg-layer {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: url('assets/bg.png') no-repeat center center / cover;
    filter: blur(8px);
    z-index: -2;
    transform: scale(1.05);
    animation: slowPan 30s ease-in-out infinite alternate;
}

@keyframes slowPan {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.1) translate(-1%, -1%); }
}

.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(10, 12, 16, 0.65) 0%, rgba(10, 12, 16, 0.95) 100%);
    z-index: -1;
}

/* Light Beam & Particles */
.light-beam {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 80% 0%, rgba(92, 184, 92, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.particles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.mote {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    animation: drift linear infinite;
}

@keyframes drift {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(150px) scale(1.5); opacity: 0; }
}

/* Floating Entities */
.floating-entities {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.entity {
    position: absolute;
    fill: none;
    stroke: rgba(92, 184, 92, 0.15); /* Subtly green */
    stroke-width: 1.5;
    filter: drop-shadow(0 0 10px rgba(92, 184, 92, 0.1));
    animation: float var(--duration) ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-40px) rotate(15deg); }
}

/* Layout */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 780px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(92, 184, 92, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Logo */
.header-logo {
    margin-bottom: 2rem;
}

.logo {
    max-width: 210px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.05);
}


/* Headings */
h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

h1 span {
    color: var(--accent-green);
    font-style: italic;
    font-weight: 600;
}

.sub-headline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.2rem 1rem;
    min-width: 100px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.time-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.time-box:hover::after {
    transform: scaleX(1);
}

.time-val {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(92, 184, 92, 0.2);
    display: inline-block;
}

.time-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

.time-separator {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-green);
    opacity: 0.7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.9; }
}

/* Construction Message */
.construction-message {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.construction-message::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
}

.status-label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-size: 0.9rem;
}


/* Animations */
.stagger-1 { opacity: 0; transform: translateY(30px); animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards; }
.stagger-2 { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards; }
.stagger-3 { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards; }
.stagger-4 { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards; }
.stagger-5 { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.0s forwards; }
.stagger-6 { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards; }
.stagger-7 { opacity: 0; animation: fadeIn 1.2s ease 1.5s forwards; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
    .glass-panel { padding: 3rem 2rem; width: 95%; }
    h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .sub-headline { font-size: 1rem; margin-bottom: 2.5rem; }
    .logo { max-width: 170px; }
    .countdown-container { gap: 0.6rem; margin-bottom: 2.5rem; }
    .time-box { min-width: 65px; padding: 0.8rem 0.5rem; }
    .time-val { font-size: 1.6rem; }
    .time-label { font-size: 0.75rem; }
    .time-separator { font-size: 1.5rem; }
    .glass-panel { padding: 2.5rem 1.5rem; border-radius: 20px; }
    .construction-message { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 1rem; }
    h1 { font-size: 1.8rem; margin-bottom: 1rem; }
    .sub-headline { font-size: 0.9rem; margin-bottom: 2rem; line-height: 1.5; }
    .logo { max-width: 140px; margin-bottom: 1.5rem; }
    .countdown-container { gap: 0.3rem; margin-bottom: 2rem; }
    .time-box { min-width: 55px; padding: 0.6rem 0.3rem; border-radius: 12px; }
    .time-val { font-size: 1.3rem; margin-bottom: 0.3rem; }
    .time-label { font-size: 0.65rem; letter-spacing: 1px; }
    .time-separator { font-size: 1.2rem; }
    .glass-panel { padding: 2rem 1rem; width: 100%; border-radius: 16px; }
    .construction-message { padding: 1.2rem 1rem; }
    .status-label { font-size: 0.75rem; letter-spacing: 1px; }
    .status-text { font-size: 0.85rem; line-height: 1.4; }
    .entity { opacity: 0.5; transform: scale(0.6); }
}
