/* ==========================================================================
   AHMAD HAFIZ - FREELANCE ARCHITECT & DEVELOPER | COMING SOON
   Premium Dark Tech Aesthetic • Glassmorphism • Micro-animations
   ========================================================================== */

:root {
    --bg-primary: #07090e;
    --bg-secondary: #0d111a;
    --bg-card: rgba(18, 24, 38, 0.65);
    --bg-card-hover: rgba(26, 35, 54, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(99, 102, 241, 0.4);
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --accent-cyan: #06b6d4;
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    
    --gradient-glow: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo), var(--accent-purple));
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ambient Background Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    animation: floatGlow 15s ease-in-out infinite alternate;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
    top: -150px;
    left: 10%;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    bottom: -100px;
    right: 5%;
    animation-delay: -5s;
}

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

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Navigation / Header */
.navbar {
    position: relative;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 92%;
    margin: 1.5rem auto 0;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    background: rgba(13, 17, 26, 0.5);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-text .highlight {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-emerald);
}

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

@keyframes pulseDot {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--accent-emerald); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #c7d2fe;
    text-transform: uppercase;
}

[data-theme="light"] .badge-pill {
    color: var(--accent-indigo);
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.3);
    font-weight: 800;
}

.sparkle-icon {
    width: 14px;
    height: 14px;
    color: var(--accent-cyan);
    animation: spinSlow 8s linear infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.7;
    font-weight: 400;
}

/* Countdown Wrapper */
.countdown-wrapper {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(13, 17, 26, 0.7);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.countdown-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

.pulse-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.countdown-grid {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.time-value {
    font-family: var(--font-mono);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.time-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-top: 0.4rem;
}

.time-separator {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--border-highlight);
    margin-top: -15px;
}

/* Terminal Section */
.terminal-section {
    width: 100%;
}

.terminal-card {
    background: rgba(13, 17, 26, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.terminal-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.18);
}

.terminal-header {
    background: rgba(20, 26, 39, 0.9);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #10b981; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-main);
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.prompt {
    color: var(--accent-cyan);
    font-weight: 700;
}

.cmd-text {
    color: #e2e8f0;
    font-weight: 600;
}

.terminal-output {
    color: var(--text-muted);
    padding-left: 1rem;
    border-left: 2px solid rgba(99, 102, 241, 0.3);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.cmd-highlight {
    color: var(--accent-amber);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition-smooth);
}

.cmd-highlight:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

#terminal-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    flex: 1;
    caret-color: var(--accent-cyan);
}

.terminal-footer {
    background: rgba(18, 24, 38, 0.6);
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.quick-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.quick-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* Stack Section */
.stack-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-align: center;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.stack-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.stack-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.15);
}

.stack-item svg {
    width: 28px;
    height: 28px;
    color: var(--accent-cyan);
    flex-shrink: 0;
    margin-top: 0.2rem;
    transition: var(--transition-smooth);
}

.stack-item:hover svg {
    color: var(--accent-purple);
    transform: scale(1.1);
}

.stack-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.stack-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Notify Section */
.notify-section {
    width: 100%;
}

.notify-card {
    background: linear-gradient(135deg, rgba(20, 26, 39, 0.9) 0%, rgba(30, 27, 56, 0.8) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(99, 102, 241, 0.1);
}

.notify-content {
    flex: 1;
    min-width: 280px;
}

.notify-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.notify-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

.notify-form {
    flex: 1;
    min-width: 300px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    background: rgba(7, 9, 14, 0.8);
    border: 1px solid var(--border-color);
    padding: 0.35rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.input-group:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

.input-group input {
    background: transparent;
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    flex: 1;
}

.input-group input::placeholder {
    color: var(--text-dim);
}

.submit-btn {
    background: var(--gradient-glow);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.submit-btn:hover {
    opacity: 0.95;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.form-feedback {
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 20px;
    padding-left: 0.5rem;
}

.form-feedback.success { color: var(--accent-emerald); }
.form-feedback.error { color: #ef4444; }

/* Footer / Social Connections */
.footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-color);
    background: rgba(7, 9, 14, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    transform: translateY(-3px);
}

.whatsapp-btn:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--accent-emerald);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    font-size: 0.8rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.server-info {
    display: flex;
    gap: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

/* ==========================================================================
   THEME TOGGLE BUTTON & LIGHT MODE DESIGN SYSTEM ("Merdeka Bright")
   ========================================================================== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.5);
    transform: rotate(15deg) scale(1.05);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-toggle .sun-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

.theme-toggle.is-light .sun-icon {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.theme-toggle.is-light .moon-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Light Mode Variables ("Merdeka Bright") */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-highlight: rgba(99, 102, 241, 0.45);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;
    
    --accent-cyan: #0891b2;
    --accent-indigo: #4f46e5;
    --accent-purple: #9333ea;
    --accent-emerald: #059669;
    --accent-amber: #d97706;
    
    --gradient-glow: linear-gradient(135deg, #0891b2, #4f46e5, #9333ea);
}

/* Light Mode Component Overrides */
[data-theme="light"] .ambient-glow {
    opacity: 0.2;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .theme-toggle {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a;
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--accent-indigo);
    color: var(--accent-indigo);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.2);
}

[data-theme="light"] .countdown-wrapper {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(79, 70, 229, 0.18);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .time-value {
    text-shadow: 0 0 20px rgba(8, 145, 178, 0.15);
}

[data-theme="light"] .terminal-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 30px rgba(79, 70, 229, 0.06);
}

[data-theme="light"] .terminal-header {
    background: rgba(241, 245, 249, 0.95);
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .terminal-status {
    background: rgba(8, 145, 178, 0.12);
    color: var(--accent-cyan);
}

[data-theme="light"] .cmd-text {
    color: #0f172a;
}

[data-theme="light"] .terminal-output {
    border-left-color: rgba(79, 70, 229, 0.35);
    color: #334155;
}

[data-theme="light"] .terminal-footer {
    background: rgba(248, 250, 252, 0.9);
    border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .quick-btn {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
    color: #1e293b;
}

[data-theme="light"] .quick-btn:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.4);
    color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

[data-theme="light"] .stack-item {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .stack-item:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.08), 0 0 25px rgba(79, 70, 229, 0.1);
}

[data-theme="light"] .notify-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 242, 255, 0.85) 100%);
    border-color: rgba(79, 70, 229, 0.25);
    box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.12), inset 0 0 30px rgba(79, 70, 229, 0.03);
}

[data-theme="light"] .input-group {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .input-group:focus-within {
    border-color: var(--accent-indigo);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

[data-theme="light"] .input-group input {
    color: #0f172a;
}

[data-theme="light"] .footer {
    background: rgba(241, 245, 249, 0.9);
    border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .social-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(15, 23, 42, 0.1);
    color: #475569;
}

[data-theme="light"] .social-btn:hover {
    background: #ffffff;
    border-color: rgba(79, 70, 229, 0.4);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Wira Framework Magic Styles */
.wira-container {
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.wira-btn-magic {
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    transform: perspective(1px) translateZ(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 40px;
}

.wira-btn-magic:hover {
    transform: scale(1.05);
}

.btn-glow {
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #0891b2, #4f46e5, #9333ea, #0891b2);
    background-size: 400%;
    z-index: -1;
    border-radius: 40px;
    animation: animateGlow 15s linear infinite;
    opacity: 0.6;
    filter: blur(8px);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.wira-btn-magic:hover .btn-glow {
    opacity: 1;
    filter: blur(12px);
    animation: animateGlow 5s linear infinite;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(10, 15, 30, 0.95);
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-sans);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .btn-content {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.spin-slow {
    width: 18px; height: 18px;
    color: var(--accent-cyan);
    animation: spin 8s linear infinite;
}

.btn-text { font-size: 0.95rem; }
.btn-text strong {
    background: linear-gradient(to right, #0891b2, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.click-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 0.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    animation: pulseBadge 2s infinite;
}

[data-theme="light"] .click-badge { background: rgba(0,0,0,0.05); }

.wira-details-magic {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(-20px);
    width: 100%;
    max-width: 700px;
    pointer-events: none;
}

.wira-details-magic.active {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1.5rem;
    pointer-events: auto;
}

.glass-panel {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.wira-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

[data-theme="light"] .wira-header { border-bottom-color: rgba(0,0,0,0.1); }

.wira-header h4 {
    margin: 0;
    font-size: 1.1rem;
    background: linear-gradient(to right, #0891b2, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-badge {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    background: rgba(5, 150, 105, 0.2);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.wira-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.wira-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
    text-align: left;
}

[data-theme="light"] .wira-feature { background: rgba(0,0,0,0.03); }

.wira-feature:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .wira-feature:hover { background: rgba(0,0,0,0.06); }

.feature-icon {
    font-size: 1.2rem;
    background: rgba(255,255,255,0.05);
    width: 35px; height: 35px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

[data-theme="light"] .feature-icon { background: rgba(0,0,0,0.05); }

.feature-text h5 {
    margin: 0 0 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-main);
}

.feature-text p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@keyframes animateGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-container {
        padding: 2rem 1.25rem 4rem;
        gap: 3.5rem;
    }

    .countdown-grid {
        gap: 0.5rem;
    }

    .time-box {
        min-width: 55px;
    }

    .time-separator {
        font-size: 1.5rem;
    }

    .notify-card {
        padding: 2rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .server-info {
        justify-content: center;
        flex-wrap: wrap;
    }
}
