/* CSS Variables for Theme Support */
:root {
    /* Light Theme Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-primary: #333333;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --accent-color: #667eea;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}
.home-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #f0f0f0;
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
    z-index: 999;
}

.home-button:hover {
    background-color: #e0e0e0;
}


/* Dark Theme Colors */
[data-theme="dark"] {
    --primary-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --border-color: #4a5568;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --accent-color: #818cf8;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--primary-gradient);
    min-height: 100vh;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Theme Toggle */
.theme-toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-toggle {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    width: 60px;
    height: 35px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.moon-icon, .sun-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: all 0.3s ease;
}

.moon-icon {
    left: 8px;
    opacity: 1;
}

.sun-icon {
    right: 8px;
    opacity: 0;
}

[data-theme="dark"] .moon-icon {
    opacity: 0;
}

[data-theme="dark"] .sun-icon {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Tracker Container */
.tracker-container {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px var(--shadow-color);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

/* Course Selector */
.course-selector {
    margin-bottom: 30px;
}

.course-selector h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Progress Section */
.progress-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    align-items: center;
}

.progress-circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.progress-circle {
    position: relative;
    width: 400px;
    height: 400px;
    max-width: 90vw;
    max-height: 90vw;
    min-width: 280px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 12;
}

.progress-ring-bg-inner {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 10;
}

.progress-ring-topics {
    fill: none;
    stroke: #10b981;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 816;
    stroke-dashoffset: 816;
    transition: stroke-dashoffset 0.8s ease-in-out;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.3));
}

.progress-ring-pyq {
    fill: none;
    stroke: #3b82f6;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 659;
    stroke-dashoffset: 659;
    transition: stroke-dashoffset 0.8s ease-in-out;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

/* Countdown Container */
.countdown-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 85%;
    max-width: 240px;
}

.exam-countdown {
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 15px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.countdown-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-display {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.countdown-number {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    margin-bottom: 4px;
    min-height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.countdown-number.urgent {
    color: #e53e3e;
    animation: pulse-urgent 1s infinite;
}

.countdown-number.warning {
    color: #ed8936;
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-urgent {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes pulse-warning {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.countdown-label {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exam-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.exam-date {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 600;
}

.exam-subject {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
}

/* Countdown States */
.countdown-expired {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    border-color: #e53e3e;
}

.countdown-expired .countdown-title {
    color: #e53e3e;
}

.countdown-expired .countdown-number {
    color: #e53e3e;
}

.countdown-soon {
    background: linear-gradient(135deg, #feebc8 0%, #fbd38d 100%);
    border-color: #ed8936;
}

.countdown-soon .countdown-title {
    color: #ed8936;
}

/* Stats Display */
.stats-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 180px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.topics-stat .stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.pyq-stat .stat-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.exam-stat .stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

/* Topics and PYQ Lists */
.topics-list, .pyq-list {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 600px;
}

.topics-list h3, .pyq-list h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.topics-container, .pyq-container {
    max-height: 300px;
    overflow-y: auto;
}

.topic-item, .pyq-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.topic-item:hover, .pyq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.topic-item.completed {
    background: #f0fff4;
    border-color: #10b981;
}

.pyq-item.completed {
    background: #eff6ff;
    border-color: #3b82f6;
}

.topic-checkbox, .pyq-checkbox {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.topic-label, .pyq-label {
    flex: 1;
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
}

.topic-item.completed .topic-label,
.pyq-item.completed .pyq-label {
    text-decoration: line-through;
    color: #718096;
}

/* Legend */
.legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.9rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.topics-color {
    background: #10b981;
}

.pyq-color {
    background: #3b82f6;
}

/* Hide seconds on large screens to keep clean layout */
@media (min-width: 769px) {
    .countdown-seconds {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-circle {
        width: 320px;
        height: 320px;
        max-width: 85vw;
        max-height: 85vw;
        min-width: 280px;
        min-height: 280px;
    }
    
    .countdown-container {
        width: 80%;
        max-width: 200px;
    }
    
    .exam-countdown {
        padding: 12px;
    }
    
    .countdown-title {
        font-size: 0.9rem;
        margin-bottom: 8px;
        letter-spacing: 0.3px;
    }
    
    .countdown-number {
        font-size: 1.2rem;
        min-height: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
    
    .countdown-display {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .exam-date {
        font-size: 0.75rem;
    }
    
    .exam-subject {
        font-size: 0.7rem;
    }
    
    .stats-display {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
    
    .container {
        padding: 15px;
    }
    
    .tracker-container {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .legend {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .topics-list, .pyq-list {
        padding: 20px;
    }
    
    .progress-ring-topics {
        stroke-width: 10;
    }
    
    .progress-ring-pyq {
        stroke-width: 8;
    }
}

@media (max-width: 480px) {
    .progress-circle {
        width: 280px;
        height: 280px;
        max-width: 80vw;
        max-height: 80vw;
        min-width: 260px;
        min-height: 260px;
    }
    
    .countdown-container {
        width: 75%;
        max-width: 180px;
    }
    
    .countdown-display {
        gap: 3px;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .countdown-item {
        flex: 1;
        min-width: 0;
        max-width: 22%;
    }
    
    .countdown-number {
        font-size: 0.9rem;
        min-height: 1.2rem;
    }
    
    .countdown-label {
        font-size: 0.55rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .countdown-title {
        font-size: 0.8rem;
        margin-bottom: 6px;
        letter-spacing: 0.2px;
    }
    
    .exam-countdown {
        padding: 10px;
    }
    
    .exam-date {
        font-size: 0.7rem;
    }
    
    .exam-subject {
        font-size: 0.65rem;
    }
    
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .progress-ring-topics {
        stroke-width: 8;
    }
    
    .progress-ring-pyq {
        stroke-width: 6;
    }
}

@media (max-width: 360px) {
    .progress-circle {
        width: 260px;
        height: 260px;
        max-width: 75vw;
        max-height: 75vw;
        min-width: 240px;
        min-height: 240px;
    }
    
    .countdown-container {
        width: 70%;
        max-width: 160px;
    }
    
    .countdown-display {
        gap: 2px;
        flex-wrap: nowrap;
    }
    
    .countdown-item {
        max-width: 23%;
    }
    
    .countdown-number {
        font-size: 0.8rem;
        min-height: 1rem;
    }
    
    .countdown-label {
        font-size: 0.5rem;
    }
    
    .countdown-title {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
    
    .exam-countdown {
        padding: 8px;
    }
    
    .container {
        padding: 8px;
    }
    
    .tracker-container {
        padding: 15px;
    }
}

/* Scrollbar Styling */
.topics-container::-webkit-scrollbar,
.pyq-container::-webkit-scrollbar {
    width: 6px;
}

.topics-container::-webkit-scrollbar-track,
.pyq-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.topics-container::-webkit-scrollbar-thumb,
.pyq-container::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.topics-container::-webkit-scrollbar-thumb:hover,
.pyq-container::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f1f5f9;
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s linear infinite;
}

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

/* Success Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-animation {
    animation: pulse 0.5s ease-in-out;
}

/* Motivational Message Styles */
.motivational-message {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.motivational-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.quote-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.quote-text {
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.6;
    font-style: italic;
}

.progress-summary {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* Celebration Animation */
.celebration {
    animation: celebrate 2s ease-in-out;
}

@keyframes celebrate {
    0% { transform: scale(1); }
    25% { transform: scale(1.05) rotate(2deg); }
    50% { transform: scale(1.1) rotate(-2deg); }
    75% { transform: scale(1.05) rotate(1deg); }
    100% { transform: scale(1); }
}

/* Enhanced Stats Card with Hover Effects */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.topics-stat::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.pyq-stat::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.exam-stat::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Enhanced Progress Ring Animation */
.progress-ring-topics,
.progress-ring-pyq {
    transition: stroke-dashoffset 0.8s ease-in-out, stroke 0.3s ease;
}

.progress-ring-topics:hover,
.progress-ring-pyq:hover {
    stroke-width: 14;
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.5));
}

/* Study Streak Indicator */
.study-streak {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

/* Keyboard Shortcuts Help */
.keyboard-shortcuts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.keyboard-shortcuts.show {
    opacity: 1;
}

.keyboard-shortcuts h4 {
    margin-bottom: 10px;
    color: #667eea;
}

.keyboard-shortcuts ul {
    list-style: none;
    padding: 0;
}

.keyboard-shortcuts li {
    margin-bottom: 5px;
}

.keyboard-shortcuts code {
    background: #4a5568;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* Study Techniques Section */
.study-techniques-container {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px var(--shadow-color);
    margin: 30px 0;
    border: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.technique-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.technique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
    border-color: var(--accent-color);
}

.technique-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.technique-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.technique-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.technique-tip {
    background: var(--bg-tertiary);
    color: var(--accent-color);
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 4px solid var(--accent-color);
}

/* Pomodoro Timer Section */
.pomodoro-container {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px var(--shadow-color);
    margin: 30px 0;
    border: 1px solid var(--border-color);
    text-align: center;
}

.pomodoro-timer {
    max-width: 500px;
    margin: 0 auto;
}

.timer-display-large {
    margin-bottom: 30px;
}

.timer-circle-large {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.timer-svg-large {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-bg-large {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 8;
}

.timer-progress-large {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.timer-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
}

.timer-label {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pomodoro-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.pomodoro-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.start-btn {
    background: var(--success-color);
    color: white;
}

.pause-btn {
    background: var(--warning-color);
    color: white;
}

.reset-btn {
    background: var(--error-color);
    color: white;
}

.pomodoro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.pomodoro-presets {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.preset-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.preset-btn:hover,
.preset-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.pomodoro-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .techniques-grid {
        grid-template-columns: 1fr;
    }
    
    .pomodoro-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .pomodoro-presets {
        flex-direction: column;
        align-items: center;
    }
    
    .timer-circle-large {
        width: 150px;
        height: 150px;
    }
    
    .timer-time {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .motivational-message {
        margin: 15px;
        padding: 15px;
    }
    
    .quote-text {
        font-size: 1rem;
    }
    
    .progress-summary {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .technique-card {
        padding: 20px;
    }
    
    .study-techniques-container,
    .pomodoro-container {
        padding: 20px;
    }
}
