/* style.css - kuzeykakas.com Maintenance Page Styling (Ultra-Premium Masterpiece) */

/* ==========================================
   1. Reset & Dynamic Core Variables
   ========================================== */
:root {
    /* Theme color variables - changed dynamically via JS */
    --primary-color: #6366f1; /* Indigo default */
    --secondary-color: #a855f7; /* Purple default */
    --accent-color: #06b6d4; /* Cyan default */
    
    --bg-color: #040509;
    --card-bg: rgba(8, 10, 18, 0.55);
    --card-border: rgba(255, 255, 255, 0.04);
    --card-glow-color: rgba(99, 102, 241, 0.12);
    
    --success-color: #10b981; /* Green */
    --pending-color: #f59e0b; /* Amber */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #334155;
    
    --gradient-brand: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(168, 85, 247, 0.35));
    --gradient-border: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Background grid overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================
   2. Custom Trailing Cursor (Desktop only)
   ========================================== */
#custom-cursor {
    width: 32px;
    height: 32px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    display: none;
}

#custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    display: none;
}

@media (min-width: 1024px) {
    #custom-cursor, #custom-cursor-dot {
        display: block;
    }
}

/* ==========================================
   3. Canvas & Glowing Orbs
   ========================================== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: all;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
    animation: floatOrb 25s infinite alternate ease-in-out;
    will-change: transform, opacity;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(0,0,0,0) 70%);
    top: -15%;
    left: -10%;
    animation-delay: 0s;
    opacity: 0.25;
}

.orb-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--secondary-color) 0%, rgba(0,0,0,0) 70%);
    bottom: -20%;
    right: -10%;
    animation-delay: -6s;
    opacity: 0.25;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(0,0,0,0) 70%);
    top: 35%;
    left: 40%;
    animation-delay: -12s;
    opacity: 0.15;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 70px) scale(1.1); }
    100% { transform: translate(-30px, -50px) scale(0.95); }
}

/* ==========================================
   4. Container Layout
   ========================================== */
.container {
    width: 100%;
    max-width: 860px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    position: relative;
}

/* ==========================================
   5. Header Controls & Actions
   ========================================== */
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.glow-icon {
    font-size: 1.25rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.brand-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-family: var(--font-main);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Accent Palette dots */
.theme-customizer {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.theme-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.theme-dot:hover {
    transform: scale(1.25);
}

.theme-dot.active {
    border-color: #ffffff;
    box-shadow: 0 0 10px #ffffff;
}

/* Audio button */
.audio-toggle {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.audio-toggle:hover {
    color: var(--primary-color);
    border-color: rgba(99, 102, 241, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.audio-toggle.active {
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

/* Language selector */
.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    padding: 0.25rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

/* Status Badge */
.status-badge {
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 0.45rem 0.85rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.2); opacity: 0; }
}

.status-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================
   6. Main Card & holographic glitch
   ========================================== */
.main-content {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.glass-card {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    padding: 4rem 3.5rem;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

/* Sci-fi Corner Borders */
.corner-borders::before, .corner-borders::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 2;
}

.corner-borders::before {
    top: 15px;
    left: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.corner-borders::after {
    bottom: 15px;
    right: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    border-right: 2px solid rgba(255, 255, 255, 0.1);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--card-glow-color) 0%, rgba(0,0,0,0) 65%);
    pointer-events: none;
    z-index: 0;
}

.card-header {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.announcement-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.18);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
}

.announcement-tag i {
    animation: spinSlow 4s infinite linear;
}

@keyframes spinSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.maintenance-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Glitch Effect Keyframes */
.glitch-wrapper {
    position: relative;
    display: inline-block;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ef4444;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #06b6d4;
    clip: rect(85px, 450px, 140px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(15px, 9999px, 66px, 0); }
    10% { clip: rect(34px, 9999px, 55px, 0); }
    20% { clip: rect(85px, 9999px, 5px, 0); }
    30% { clip: rect(27px, 9999px, 115px, 0); }
    40% { clip: rect(76px, 9999px, 92px, 0); }
    50% { clip: rect(44px, 9999px, 12px, 0); }
    60% { clip: rect(9px, 9999px, 64px, 0); }
    70% { clip: rect(115px, 9999px, 55px, 0); }
    80% { clip: rect(42px, 9999px, 85px, 0); }
    90% { clip: rect(64px, 9999px, 132px, 0); }
    100% { clip: rect(18px, 9999px, 90px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(76px, 9999px, 116px, 0); }
    11% { clip: rect(5px, 9999px, 85px, 0); }
    22% { clip: rect(122px, 9999px, 14px, 0); }
    33% { clip: rect(34px, 9999px, 55px, 0); }
    44% { clip: rect(85px, 9999px, 105px, 0); }
    55% { clip: rect(18px, 9999px, 76px, 0); }
    66% { clip: rect(99px, 9999px, 35px, 0); }
    77% { clip: rect(54px, 9999px, 125px, 0); }
    88% { clip: rect(110px, 9999px, 5px, 0); }
    100% { clip: rect(45px, 9999px, 90px, 0); }
}

.maintenance-description {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 2.5rem;
}

/* ==========================================
   7. System Status & Load Graph
   ========================================== */
.status-dashboard {
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}

.section-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.performance-chart-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.chart-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
}

#monitor-chart {
    display: block;
    opacity: 0.85;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.status-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    position: relative;
}

.status-item.clickable {
    cursor: pointer;
}

.status-item.clickable:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.05);
}

.status-item.clickable:active {
    transform: translateY(0);
}

.service-info {
    display: flex;
    flex-direction: column;
}

.service-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.click-hint {
    font-size: 0.65rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-smooth);
    height: 0;
    overflow: hidden;
}

.status-item:hover .click-hint {
    opacity: 1;
    transform: translateY(0);
    height: 12px;
    margin-top: 2px;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.service-status.active { color: var(--success-color); }
.service-status.active .indicator-dot {
    background-color: var(--success-color);
    box-shadow: 0 0 8px var(--success-color);
}

.service-status.pending { color: var(--pending-color); }
.service-status.pending .indicator-dot {
    background-color: var(--pending-color);
    box-shadow: 0 0 8px var(--pending-color);
}

.service-status.testing { color: var(--accent-color); }
.service-status.testing .indicator-dot {
    background-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

/* Click flashing animation trigger */
.ping-flash {
    animation: itemFlash 0.5s ease-out;
}

@keyframes itemFlash {
    0% { background: rgba(99, 102, 241, 0.15); box-shadow: 0 0 20px rgba(99, 102, 241, 0.2); }
    100% { background: rgba(255, 255, 255, 0.015); }
}

/* ==========================================
   8. Progress Bar
   ========================================== */
.progress-container {
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.progress-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.progress-val {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-mono);
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 100px;
    position: relative;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    width: 0%;
    transition: width 0.1s linear;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% auto;
    animation: shine 2.5s infinite linear;
}

@keyframes shine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ==========================================
   9. Countdown Clock
   ========================================== */
.countdown-container {
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}

.countdown-heading {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
}

.countdown-box:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.25);
    background: rgba(255, 255, 255, 0.025);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.4rem;
    font-family: var(--font-mono);
}

.countdown-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   10. Interactive Terminal Widget
   ========================================== */
.terminal-widget {
    position: relative;
    z-index: 1;
    background: rgba(5, 6, 12, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 0.35rem;
}

.terminal-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.terminal-dots .dot.red { background-color: #ef4444; }
.terminal-dots .dot.yellow { background-color: #f59e0b; }
.terminal-dots .dot.green { background-color: #10b981; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.terminal-action-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
}

.terminal-action-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.terminal-body {
    padding: 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.5;
    color: #cbd5e1;
    height: 105px;
    overflow-y: auto;
    text-align: left;
}

/* Scrollbar Customization */
.terminal-body::-webkit-scrollbar {
    width: 4px;
}
.terminal-body::-webkit-scrollbar-track {
    background: transparent;
}
.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.log-line {
    margin-bottom: 0.25rem;
    word-break: break-all;
    animation: logFadeIn 0.3s ease-out forwards;
}

@keyframes logFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.log-time { color: var(--text-muted); margin-right: 0.5rem; }
.log-success { color: var(--success-color); }
.log-info { color: var(--accent-color); }
.log-warn { color: var(--pending-color); }

/* ==========================================
   11. Subscription Section
   ========================================== */
.subscription-section {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2.25rem;
    text-align: center;
}

.subscription-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.subscribe-form {
    max-width: 480px;
    margin: 0 auto;
}

.input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 0.35rem;
    transition: var(--transition-smooth);
}

.input-wrapper:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 0.025);
}

.email-input-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
}

.subscribe-form input[type="email"] {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    padding: 0.75rem 1rem 0.75rem 2.8rem;
    font-weight: 300;
}

.subscribe-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.submit-button {
    background: var(--gradient-brand);
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.25);
}

.submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.45);
    filter: brightness(1.08);
}

.submit-button:active {
    transform: translateY(0);
}

.button-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.submit-button:hover .button-arrow {
    transform: translateX(3px);
}

.form-feedback {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-feedback.success { color: var(--success-color); opacity: 1; }
.form-feedback.error { color: #f87171; opacity: 1; }

/* ==========================================
   12. Footer Styling
   ========================================== */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 3rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

#social-twitter:hover { color: #1da1f2; border-color: rgba(29, 161, 242, 0.3); }
#social-instagram:hover { color: #e1306c; border-color: rgba(225, 48, 108, 0.3); }
#social-linkedin:hover { color: #0077b5; border-color: rgba(0, 119, 181, 0.3); }
#social-github:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.3); }

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.copyright .highlight {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================
   13. Responsive Adaptations
   ========================================== */
@media (max-width: 768px) {
    .container { padding: 1.5rem 0.75rem; }
    .header { margin-bottom: 2rem; }
    .glass-card { 
        padding: 2.25rem 1.5rem; 
        border-radius: 20px; 
        backdrop-filter: none; 
        -webkit-backdrop-filter: none; 
        background: rgba(8, 10, 18, 0.88); 
    }
    .glitch::before, .glitch::after {
        display: none;
    }
    .maintenance-title { font-size: clamp(1.7rem, 5vw, 2.2rem); }
    .status-grid { grid-template-columns: 1fr; gap: 0.6rem; }
    .status-item { padding: 0.85rem 1.1rem; }
    .countdown-grid { gap: 0.5rem; }
    .countdown-box { padding: clamp(0.6rem, 2vw, 0.9rem) 0.25rem; border-radius: 12px; }
    .countdown-number { font-size: clamp(1.4rem, 5.5vw, 1.8rem); }
    
    /* Subscription form styling stacked */
    .input-wrapper {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 0.75rem;
    }
    
    .email-input-container {
        background: rgba(255, 255, 255, 0.015);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        transition: var(--transition-smooth);
    }
    
    .email-input-container:focus-within {
        border-color: rgba(99, 102, 241, 0.5);
        box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
        background: rgba(255, 255, 255, 0.025);
    }
    
    .subscribe-form input[type="email"] {
        background: transparent;
        border: none;
        padding: 0.85rem 1rem 0.85rem 2.8rem;
    }
    
    .submit-button {
        width: 100%;
        justify-content: center;
        padding: 0.85rem;
        border-radius: 12px;
    }
    
    /* Performance optimizations for mobile */
    .glow-orb {
        filter: blur(80px);
        opacity: 0.2;
        animation: none;
    }
    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 350px; height: 350px; }
    .orb-3 { width: 250px; height: 250px; }
}

@media (max-width: 480px) {
    .container { padding: 1rem 0.5rem; }
    .header { flex-direction: column; gap: 1.1rem; align-items: center; }
    
    /* Keep actions wrapping in a compact row instead of massive vertical stack */
    .header-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    .theme-customizer, .lang-switcher, .status-badge {
        width: auto;
    }
    
    .status-badge {
        width: 100%;
        justify-content: center;
    }
    
    .maintenance-title { font-size: clamp(1.35rem, 5.5vw, 1.65rem); }
    .glass-card { padding: 1.75rem 1.1rem; border-radius: 16px; }
    
    /* Hide diagnostic button text on extra small devices to prevent overflow */
    .terminal-action-btn span {
        display: none;
    }
    .terminal-action-btn {
        padding: 0.35rem 0.55rem;
    }
}
