:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #f59e0b;
    --accent: #10b981;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --shadow: 0 20px 40px rgba(0,0,0,0.1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes soundWave {
    0%, 100% { height: 10px; }
    50% { height: 30px; }
}
@keyframes fall {
    to { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -200px; right: -200px;
    animation: float 6s ease-in-out infinite;
}
header::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    bottom: -100px; left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}
.header-content { position: relative; z-index: 1; }
.badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
}
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}
.header-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.stat-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    color: white;
    transition: transform 0.3s;
    min-width: 120px;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-card i { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.stat-card .number { font-size: 2rem; font-weight: 700; }
.stat-card .label { font-size: 0.85rem; opacity: 0.9; }
.scroll-down {
    position: absolute;
    bottom: 2rem;
    color: white;
    font-size: 2rem;
    animation: float 2s ease-in-out infinite;
    cursor: pointer;
}

/* ===== NAV ===== */
nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}
nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s;
    font-size: 0.9rem;
}
nav a:hover, nav a.active {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.section-title p { color: #64748b; font-size: 1.1rem; }

/* ===== PLANNING ===== */
.planning-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.day-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.4s, border-color 0.4s;
}
.day-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.day-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.day-card:nth-child(2)::before { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.day-card:nth-child(3)::before { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.day-card:nth-child(4)::before { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.day-card:nth-child(5)::before { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.day-card:nth-child(6)::before { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.day-card:nth-child(7)::before { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.day-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}
.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.day-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.day-card:nth-child(2) .day-number { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); -webkit-background-clip: text; }
.day-card:nth-child(3) .day-number { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); -webkit-background-clip: text; }
.day-card:nth-child(4) .day-number { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); -webkit-background-clip: text; }
.day-badge {
    background: #e0e7ff;
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.day-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.session {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
    cursor: pointer;
}
.session:hover {
    background: #e0e7ff;
    transform: translateX(5px);
}
.session-time {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.session-info h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.session-info p { font-size: 0.8rem; color: #64748b; }
.session i { color: var(--primary); margin-top: 0.2rem; }

/* ===== SUBJECTS ===== */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.subject-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
}
.subject-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.subject-header {
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.subject-header i {
    font-size: 3rem;
    opacity: 0.3;
    position: absolute;
    right: 1rem; top: 1rem;
}
.subject-header h3 { font-size: 1.5rem; position: relative; z-index: 1; }
.subject-header p { opacity: 0.9; font-size: 0.9rem; position: relative; z-index: 1; }
.math-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.fr-header { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.ar-header { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.svt-header { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.ang-header { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
.ph-header { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }

.subject-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}
.subject-card.expanded .subject-body {
    max-height: 2000px;
}
.subject-toggle {
    width: 100%;
    padding: 1rem;
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 1rem;
}
.subject-toggle:hover { background: #f8fafc; }
.subject-toggle i { transition: transform 0.3s; }
.subject-card.expanded .subject-toggle i { transform: rotate(180deg); }

.resume-item {
    padding: 1rem;
    border-left: 3px solid var(--primary);
    margin: 0 1.5rem 1rem 1.5rem;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
}
.resume-item h4 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--primary); }
.resume-item ul { list-style: none; font-size: 0.9rem; color: #475569; }
.resume-item li { margin-bottom: 0.3rem; padding-left: 1.2rem; position: relative; }
.resume-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ===== EXAMS ===== */
.exam-years {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.year-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 1rem;
}
.year-btn:hover, .year-btn.active {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}
.exam-content {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.exam-content.visible {
    opacity: 1;
    transform: translateY(0);
}
.exam-subject-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
    flex-wrap: wrap;
}
.exam-tab {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 0.95rem;
}
.exam-tab:hover, .exam-tab.active {
    background: var(--primary);
    color: white;
}
.exam-question {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary);
}
.exam-question h4 { color: var(--secondary); margin-bottom: 0.5rem; }
.exam-question p { color: #475569; margin-bottom: 1rem; line-height: 1.6; }
.correction-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    display: none;
}
.correction-box.visible { display: block; animation: slideIn 0.5s; }
.correction-box h5 { color: var(--accent); margin-bottom: 0.5rem; }
.correction-box p { margin-bottom: 0.5rem; }
.show-corr-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 0.95rem;
}
.show-corr-btn:hover { background: #059669; transform: scale(1.05); }

/* ===== PODCASTS ===== */
.podcast-container {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.podcast-container.visible {
    opacity: 1;
    transform: translateY(0);
}
.podcast-player {
    background: var(--dark);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}
.podcast-player::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}
.player-content { position: relative; z-index: 1; }
.player-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.podcast-cover {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(99,102,241,0.4);
}
.player-info { flex: 1; }
.podcast-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.podcast-meta { opacity: 0.7; font-size: 0.9rem; }
.waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    margin: 1.5rem 0;
}
.wave-bar {
    width: 4px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: soundWave 1s ease-in-out infinite;
}
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }
.wave-bar:nth-child(8) { animation-delay: 0.7s; }
.wave-bar:nth-child(9) { animation-delay: 0.8s; }
.wave-bar:nth-child(10) { animation-delay: 0.9s; }
.wave-bar:nth-child(11) { animation-delay: 1.0s; }
.wave-bar:nth-child(12) { animation-delay: 1.1s; }

.progress-container { width: 100%; }
.progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}
.progress-fill {
    height: 100%;
    background: var(--secondary);
    width: 0%;
    border-radius: 3px;
    transition: width 0.3s;
}
.time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}
.player-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.control-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    font-family: inherit;
}
.control-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.play-btn {
    width: 60px; height: 60px;
    background: white;
    color: var(--dark);
    font-size: 1.5rem;
}
.play-btn:hover { background: var(--secondary); color: white; }

.podcast-list {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.podcast-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 0.9rem;
}
.podcast-btn:hover, .podcast-btn.active {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* ===== QUIZ ===== */
.quiz-section {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}
.quiz-question {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark);
}
.quiz-options { display: grid; gap: 1rem; }
.quiz-option {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.quiz-option:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}
.quiz-option.correct {
    border-color: var(--accent);
    background: #ecfdf5;
}
.quiz-option.wrong {
    border-color: var(--danger);
    background: #fef2f2;
}
.option-letter {
    width: 36px; height: 36px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.quiz-feedback {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    display: none;
}
.quiz-feedback.visible { display: block; animation: slideIn 0.5s; }
.quiz-feedback.success { background: #ecfdf5; color: #065f46; }
.quiz-feedback.error { background: #fef2f2; color: #991b1b; }

/* ===== CHAT ===== */
.live-chat {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 2px solid #e0e7ff;
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.live-indicator {
    width: 10px; height: 10px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
.chat-header h4 { font-size: 1rem; }
.chat-header span { font-size: 0.8rem; color: #64748b; margin-left: auto; }
.chat-messages {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
}
.chat-msg {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    animation: slideIn 0.3s;
}
.chat-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.chat-bubble {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    font-size: 0.9rem;
    max-width: 80%;
}
.chat-bubble .name { font-weight: 600; font-size: 0.8rem; color: var(--primary); margin-bottom: 0.2rem; }
.chat-input-area {
    display: flex;
    gap: 0.5rem;
}
.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    font-size: 1rem;
}
.chat-input:focus { border-color: var(--primary); }
.chat-send {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 1rem;
}
.chat-send:hover { background: var(--primary-dark); transform: scale(1.05); }

/* ===== PROGRESS ===== */
.progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.progress-box {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.progress-box.visible {
    opacity: 1;
    transform: translateY(0);
}
.progress-box h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
}
.day-circles {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.day-circle {
    width: 40px; height: 40px;
    background: #e2e8f0;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}
.day-circle:hover { transform: scale(1.1); }
.day-circle.done {
    background: var(--accent);
    color: white;
}
.hint {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}
.bar-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.bar-bg {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}
.time-big {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
}
.time-sub {
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1rem;
}
.time-breakdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.time-breakdown > div { text-align: center; }
.time-num { font-size: 1.5rem; font-weight: 700; }
.time-label { font-size: 0.75rem; color: #64748b; }

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
footer p { opacity: 0.7; margin-bottom: 1rem; }
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.3s;
}
.footer-links a:hover { opacity: 1; }
.dates { font-size: 0.85rem; }
.credit { font-size: 0.8rem; margin-top: 1rem; opacity: 0.5; }

/* ===== TIMER ===== */
.study-timer {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid var(--primary);
}
.timer-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: monospace;
}
.timer-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-family: inherit;
}
.timer-btn:hover { transform: scale(1.1); }

/* ===== CONFETTI ===== */
.confetti {
    position: fixed;
    width: 10px; height: 10px;
    top: 0;
    animation: fall 3s linear forwards;
    z-index: 9999;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .header-stats { flex-direction: column; gap: 1rem; }
    .section-title h2 { font-size: 1.8rem; }
    nav { gap: 0.5rem; padding: 0.5rem; }
    nav a { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
    .planning-container { grid-template-columns: 1fr; }
    .subjects-grid { grid-template-columns: 1fr; }
    .player-top { flex-direction: column; text-align: center; }
    .podcast-cover { margin: 0 auto; }
    .study-timer { bottom: 1rem; right: 1rem; padding: 0.75rem 1rem; }
    .timer-display { font-size: 1.2rem; }
}
