/* assets/css/style.css - KAOS DEL FLOW Premium & Balanced Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --primary: #e21d3c; /* Elegant, balanced red */
    --primary-hover: #f43f5e;
    --primary-light: #fff1f2;
    --dark-accent: #1e293b;
    --light-accent: #f1f5f9;
    --border-color: #e2e8f0;
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Typography */
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Smooth Radial / Round Settings */
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --radius-full: 9999px;
    
    /* Soft, Peaceful Shadows (Replaces Brutalist hard black shadows) */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 38px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 24px 48px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.75;
    overflow-x: hidden;
    padding-bottom: 95px; /* Perfect spacing for fixed radio player */
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark-accent);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Typography Harmonies */
p {
    font-size: 0.975rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-secondary);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation (Fullhead Square Header) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    width: 100%;
    max-width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark-accent);
}

.logo-text span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

nav ul li a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-accent);
}

/* Buttons (Square Brutalist/Modern Theme) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 24px;
    border-radius: 0; /* Square edges */
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-dark {
    background-color: var(--dark-accent);
    color: #ffffff;
}

.btn-dark:hover {
    background-color: #0f172a;
}

/* Slider Section (Square Fullhead/Fullwidth aspect ratio) */
.hero-slider {
    position: relative;
    width: 100%;
    margin-top: 80px; /* Aligned with fullhead header height */
    overflow: hidden;
    border-radius: 0; /* Square edges */
    box-shadow: var(--shadow-lg);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 420px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 6s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    color: #ffffff;
    padding: 0 60px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 0.4s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.slide-subtitle {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 300;
    color: #cbd5e1;
    margin-bottom: 28px;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    width: 24px;
}

/* Sections */
section {
    padding: 90px 0;
    border-bottom: none;
}

.section-bg {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin: 20px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 14px;
}

/* Cards (Modern, Clean Rounded styling) */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-info h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.about-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.about-card-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

/* Event Filter & Cards */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.filter-tab {
    padding: 8px 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

.event-body {
    padding: 20px;
    flex-grow: 1;
}

.event-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.event-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.event-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.event-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: auto;
}

.event-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Wizard Form */
.form-step {
    display: none;
}
.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.register-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.form-steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
}

.form-steps-indicator::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step-indicator-item {
    position: relative;
    z-index: 2;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.step-indicator-item.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.step-indicator-item.completed {
    border-color: var(--dark-accent);
    background: var(--dark-accent);
    color: #ffffff;
}

.form-step-title {
    font-size: 1.35rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: inline-block;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="password"],
select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: #ffffff;
    transition: var(--transition);
}

textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: #ffffff;
    transition: var(--transition);
}

input::placeholder,
textarea::placeholder {
    font-family: var(--font-body);
    color: #94a3b8;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(226, 29, 60, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* Fullbleed Fixed Radio Player Bar (Premium & Professional Glassmorphic Style) */
.radio-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    border-top: 2px solid var(--primary); /* Sharp accent border top */
    z-index: 999;
    padding: 15px 40px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}

.player-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
}

.player-avatar {
    width: 45px;
    height: 45px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 !important; /* Strictly square */
}

.player-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.player-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.player-status {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
}

.player-status .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Spectrum Visualizer */
.spectrum-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    width: 45px;
    height: 20px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.spectrum-visualizer.playing {
    opacity: 1;
}

.spectrum-bar {
    width: 4px;
    height: 4px;
    background-color: var(--primary);
    transition: height 0.3s ease;
}

.spectrum-visualizer.playing .spectrum-bar:nth-child(1) { animation: visualize 0.8s ease-in-out infinite alternate; }
.spectrum-visualizer.playing .spectrum-bar:nth-child(2) { animation: visualize 0.5s ease-in-out infinite alternate; animation-delay: 0.15s; }
.spectrum-visualizer.playing .spectrum-bar:nth-child(3) { animation: visualize 0.7s ease-in-out infinite alternate; animation-delay: 0.3s; }
.spectrum-visualizer.playing .spectrum-bar:nth-child(4) { animation: visualize 0.6s ease-in-out infinite alternate; animation-delay: 0.1s; }
.spectrum-visualizer.playing .spectrum-bar:nth-child(5) { animation: visualize 0.9s ease-in-out infinite alternate; animation-delay: 0.2s; }

/* Volume Slider */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
}

.volume-control span {
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.volume-slider {
    width: 90px;
    height: 4px;
    accent-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 0;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.volume-slider:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Play Button */
.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 0 !important; /* Strictly square */
    background: var(--primary);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.play-btn:hover {
    background: #ffffff;
    color: var(--text-primary);
    transform: none; /* Premium flat hover inversion */
}


/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--border-color);
    border-radius: 0; /* Square edges */
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-icon-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Login Page (Split Hero fullbleed design) */
.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
    overflow: hidden;
}

.login-hero {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    position: relative;
    height: 100%;
    width: 100%;
}

.login-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

.login-hero-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.login-hero-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #ffffff;
    height: 100%;
    width: 100%;
}

.login-form-card {
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.5s ease;
}

/* Estandarizar inputs de login */
.login-form-card .form-group {
    margin-bottom: 20px;
}

.login-form-card label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.login-form-card input[type="text"],
.login-form-card input[type="email"],
.login-form-card input[type="password"] {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 2px solid var(--border-color);
    border-radius: 0 !important; /* Totalmente cuadrado */
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #ffffff;
    color: var(--text-primary);
    transition: var(--transition);
}

.login-form-card input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: none; /* Sin sombra redondeada */
}

.login-form-card .btn {
    border-radius: 0 !important; /* Botón cuadrado */
    height: 50px;
    font-size: 0.95rem;
}


/* Votaciones Modal Styles (Premium Square Design) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none; /* Controlled by JS class active / show */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border: 3px solid var(--dark-accent);
    border-radius: 0 !important; /* Square design */
    width: 100%;
    max-width: 800px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    padding: 40px;
    animation: fadeIn 0.4s ease;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--dark-accent);
    color: #ffffff;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.modal-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

.modal-details-card,
.modal-chart-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px;
}

.modal-details-card h4,
.modal-chart-card h4 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark-accent);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.meta-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-details-list li {
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 8px;
}

.meta-details-list li:last-child {
    border-bottom: none;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.meta-details-list strong,
.meta-details-list span:not(.meta-label) {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    word-break: break-all;
}

.modal-chart-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .modal-body-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .modal-content {
        padding: 20px;
    }
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes visualize {
    0% { height: 4px; }
    100% { height: 20px; }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .login-wrapper {
        grid-template-columns: 1fr;
        margin: 0;
        border-radius: 0;
    }
    .login-hero {
        display: none;
    }
    header {
        top: 0;
    }
    .nav-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 14px;
        box-shadow: var(--shadow-lg);
    }
    nav ul.show {
        display: flex;
    }
    .slide-title {
        font-size: 2.1rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}
