html {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2d2d2d 50%, #404040 75%, #525252 100%);
    font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    overflow-x: hidden;
    box-sizing: border-box;
}

#motivational-post {
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.9), rgba(26, 26, 26, 0.7));
    backdrop-filter: blur(25px);
    border: 3px solid rgba(245, 245, 245, 0.4);
    border-radius: 30px;
    color: white;
    text-align: center;
    width: 92%;
    max-width: 1600px;
    padding: 2.8rem;
    letter-spacing: 0.5px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 245, 245, 0.3);
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    overflow: hidden;
    margin: 25px auto;
}

/* Shimmer effect */
#motivational-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 245, 245, 0.2), transparent);
    animation: shimmer 5s infinite;
    z-index: 1;
}

/* Progress bar at bottom */
#motivational-post::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f5f5f5, #e5e5e5, #d4d4d4, #a3a3a3);
    background-size: 200% 100%;
    animation: progressBar 4s ease-in-out infinite;
    z-index: 2;
}

/* Video Carousel Styles */
.video-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0.5rem auto;
    border-radius: 30px;
    z-index: 3;
    overflow: visible;
    padding: 40px 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 1400px;
    border-radius: 30px;
    padding: 25px;
    margin: 30px auto;
    max-width: 95vw;
    overflow: visible;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    max-width: 92%;
    max-height: 92%;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 8px solid rgba(245, 245, 245, 0.8);
    border-radius: 30px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.9), 
        0 0 60px rgba(245, 245, 245, 0.6), 
        0 0 100px rgba(245, 245, 245, 0.3),
        0 0 150px rgba(245, 245, 245, 0.1),
        inset 0 0 40px rgba(245, 245, 245, 0.2);
    transition: all 0.5s ease;
    opacity: 0;
    background: rgba(10, 10, 10, 0.98);
}

.video-container video.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 2;
}

.video-container video:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.95), 
        0 0 120px rgba(255, 215, 0, 0.9), 
        0 0 180px rgba(255, 215, 0, 0.7),
        0 0 240px rgba(255, 215, 0, 0.4),
        0 0 250px rgba(255, 215, 0, 0.2),
        inset 0 0 60px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 1);
    border-width: 12px;
    z-index: 10;
}

h1 {
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 245, 245, 0.6);
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    position: relative;
    z-index: 3;
    line-height: 1.1;
}

p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.2rem;
    line-height: 1.5;
    opacity: 0.95;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 245, 245, 0.4);
    position: relative;
    z-index: 3;
    color: #d1d5db;
    letter-spacing: 1px;
}

p.subtitle {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    color: #9ca3af;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 245, 245, 0.5);
    letter-spacing: 1px;
    opacity: 0.95;
    position: relative;
    z-index: 3;
    font-family: 'Montserrat', sans-serif;
}

/* Computer emoji */
#motivational-post::before {
    content: '💻';
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 3rem;
    animation: sparkle 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(245, 245, 245, 0.6));
    z-index: 3;
}

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

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

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

@keyframes sparkle {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.3) rotate(10deg);
    }
}

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

/* Clean subtitle styling */
p.subtitle {
    white-space: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    #motivational-post {
        width: 95%;
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    p {
        font-size: 1rem;
    }
    
    p.subtitle {
        font-size: 0.9rem;
    }
    
    .video-carousel {
        width: 100%;
        max-width: 100%;
    }
    
    .video-container {
        height: 700px;
        padding: 15px;
        margin: 20px auto;
    }
    
    #motivational-post {
        width: 95%;
        padding: 2rem;
        margin: 15px auto;
    }
}

/* Scrimba Progress Bar - Hidden by default */
#scrimba-progress-container {
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.8));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(245, 245, 245, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin: 30px auto 50px auto;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 245, 245, 0.2);
    animation: fadeInUp 1.5s ease-out;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 100;
    /* Brave browser specific fixes */
    -webkit-backdrop-filter: blur(20px);
    will-change: transform;
}

/* Progress bar visible state */
#scrimba-progress-container.visible {
    display: block;
    opacity: 1;
    visibility: visible;
}

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

.progress-label {
    color: rgba(245, 245, 245, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.progress-percentage {
    color: rgba(6, 182, 212, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(6, 182, 212, 0.6);
}

.progress-bar {
    width: 100%;
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(245, 245, 245, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(6, 182, 212, 0.8) 0%, 
        rgba(34, 197, 94, 0.9) 50%, 
        rgba(255, 215, 0, 0.8) 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
    position: relative;
}

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

.progress-input {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid rgba(245, 245, 245, 0.3);
}

.progress-input::-webkit-slider-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    border: 1px solid rgba(245, 245, 245, 0.3);
}

.progress-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 1), rgba(34, 197, 94, 1));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 15px rgba(6, 182, 212, 0.8);
    transition: all 0.3s ease;
    border: 2px solid rgba(245, 245, 245, 0.8);
    /* Brave browser compatibility */
    position: relative;
    z-index: 1;
}

/* Firefox slider thumb */
.progress-input::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 1), rgba(34, 197, 94, 1));
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(245, 245, 245, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.progress-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 25px rgba(6, 182, 212, 1);
}

/* Confetti Animation */
.confetti {
    position: fixed;
    top: -10px;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    animation: confettiFall linear forwards;
    z-index: 9999;
    transform: rotate(45deg);
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

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

/* Evy's Message Overlay */
#evy-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeInOverlay 0.6s ease-out;
}

.evy-message-content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.95));
    border-radius: 25px;
    padding: 40px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 50px rgba(255, 215, 0, 0.3);
    animation: slideUpBounce 0.8s ease-out;
    border: 3px solid rgba(255, 215, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.evy-message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: messageShimmer 3s infinite;
    z-index: 1;
}

.evy-avatar {
    font-size: 5rem;
    margin-bottom: 25px;
    animation: heartBeat 2s infinite;
    position: relative;
    z-index: 2;
}

.evy-message-content h2 {
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.evy-message-text {
    color: #444;
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.close-evy-message {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.9), rgba(255, 105, 180, 0.9));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
    position: relative;
    z-index: 2;
}

.close-evy-message:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.6);
    background: linear-gradient(135deg, rgba(255, 20, 147, 1), rgba(255, 105, 180, 1));
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUpBounce {
    0% {
        transform: translateY(100px) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: translateY(-10px) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes heartBeat {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.1);
    }
}

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

/* Vertical Monitor Optimization */
@media (orientation: portrait) and (min-height: 1080px) {
    body {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    #motivational-post {
        width: 85%;
        margin-bottom: 20px;
    }
    
    .video-container {
        height: 1200px;
        margin: 25px auto;
        padding: 20px;
    }
    
    #motivational-post {
        width: 90%;
        padding: 2.5rem;
    }
    
    #scrimba-progress-container {
        margin-top: 20px;
        margin-bottom: 30px;
        width: 85%;
    }
}

/* Brave Browser Specific Optimizations */
@supports (-webkit-appearance: none) {
    .progress-input {
        -webkit-appearance: none;
        background: rgba(255, 255, 255, 0.3) !important;
    }
    
    .confetti {
        will-change: transform;
        backface-visibility: hidden;
    }
}

/* Responsive Design for Progress Bar */
@media (max-width: 768px) {
    #scrimba-progress-container {
        margin: 20px;
        padding: 20px;
    }

    .progress-label {
        font-size: 1rem;
    }

    .progress-percentage {
        font-size: 1.2rem;
    }

    .progress-bar {
        height: 12px;
    }

    .progress-input::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
    }

    .evy-message-content {
        margin: 20px;
        padding: 30px;
        max-width: 90%;
    }

    .evy-avatar {
        font-size: 4rem;
    }

    .evy-message-content h2 {
        font-size: 1.6rem;
    }

    .evy-message-text {
        font-size: 1.1rem;
    }

    .close-evy-message {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Media Controls Styling */
.media-controls {
    display: none; /* Hidden by default */
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.8));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(245, 245, 245, 0.3);
    border-radius: 20px;
    color: white;
    width: 90%;
    max-width: 800px;
    padding: 25px;
    margin: 30px auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 245, 245, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.media-controls.visible {
    display: block;
}

.controls-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(245, 245, 245, 0.2);
    padding-bottom: 15px;
}

.controls-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.8rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.controls-hint {
    font-size: 0.9rem;
    opacity: 0.7;
    color: #ccc;
}

.audio-controls-section,
.video-controls-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(245, 245, 245, 0.1);
}

.audio-controls-section h4,
.video-controls-section h4 {
    margin: 0 0 15px 0;
    color: #4facfe;
    font-size: 1.3rem;
    text-align: center;
}

.control-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
    flex-wrap: wrap;
}

.control-row label {
    min-width: 80px;
    font-weight: bold;
    color: #fff;
    font-size: 0.95rem;
}

.dropdown-control {
    flex: 1;
    min-width: 150px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(245, 245, 245, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.dropdown-control:focus {
    border-color: #4facfe;
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.3);
}

.dropdown-control option {
    background: #2d2d2d;
    color: white;
}

.control-button {
    padding: 8px 16px;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    min-width: 80px;
}

.control-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.slider-control {
    flex: 1;
    min-width: 120px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.slider-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.slider-control::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.6);
}

.slider-control::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#volume-display,
#audio-time,
#video-time {
    min-width: 80px;
    text-align: center;
    font-weight: bold;
    color: #ffd700;
    font-size: 0.9rem;
}

/* Fullscreen video styling - remove borders and padding */
video:fullscreen {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000;
}

video:-webkit-full-screen {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000;
}

video:-moz-full-screen {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000;
}

video:-ms-fullscreen {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000;
}

/* Focus Mode */
.focus-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    z-index: 2000000;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.focus-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.focus-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: white;
}

.focus-header {
    margin-bottom: 40px;
}

.focus-header h2 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.focus-header p {
    font-size: 1.2rem;
    color: rgba(245, 245, 245, 0.8);
    margin: 0;
}

.focus-timer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Hide elements during focus mode */
body.focus-mode #motivational-post,
body.focus-mode #scrimba-progress-container,
body.focus-mode .random-motivation-container,
body.focus-mode #media-controls {
    display: none !important;
}

/* Style timer differently in focus mode */
.focus-overlay .pomodoro-timer {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.8));
    backdrop-filter: blur(30px);
    border: 3px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 255, 136, 0.3);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.focus-overlay .pomodoro-timer:hover {
    transform: scale(1.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 255, 136, 0.4);
}

/* Responsive focus mode */
@media (max-width: 768px) {
    .focus-header h2 {
        font-size: 2rem;
    }
    
    .focus-header p {
        font-size: 1rem;
    }
    
    .focus-overlay .pomodoro-timer {
        transform: scale(1);
        margin: 20px;
    }
}

/* Random Motivation Button - Hidden by default */
.random-motivation-container {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    justify-content: center;
    margin: 20px auto;
    max-width: 600px;
}

.random-motivation-container.visible {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.random-motivation-btn {
    background: linear-gradient(145deg, #ff6b9d, #ff8fab);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.random-motivation-btn:hover {
    background: linear-gradient(145deg, #ff8fab, #ffa8c0);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 107, 157, 0.4);
}

.random-motivation-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 15px rgba(255, 107, 157, 0.3);
}

/* Pomodoro Timer - Hidden by default */
.pomodoro-timer {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.8));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(245, 245, 245, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin: 20px auto;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 245, 245, 0.2);
    color: white;
    text-align: center;
}

.pomodoro-timer.visible {
    display: block;
    opacity: 1;
    visibility: visible;
}

.timer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.timer-header h3 {
    margin: 0;
    color: #ff6b9d;
    font-size: 1.3rem;
}

.timer-hint {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.7);
    font-style: italic;
}

.timer-display {
    margin: 25px 0;
}

.timer-time {
    font-size: 3rem;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.timer-session {
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 20px;
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.timer-btn {
    background: linear-gradient(145deg, rgba(245, 245, 245, 0.1), rgba(245, 245, 245, 0.05));
    border: 1px solid rgba(245, 245, 245, 0.3);
    border-radius: 10px;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.timer-btn:hover {
    background: linear-gradient(145deg, rgba(245, 245, 245, 0.2), rgba(245, 245, 245, 0.1));
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#timer-switch {
    background: linear-gradient(145deg, #ff6b9d, #ff8fab);
    border-color: #ff6b9d;
    font-weight: bold;
}

#timer-switch:hover {
    background: linear-gradient(145deg, #ff8fab, #ffa8c0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4);
}

.timer-settings {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(245, 245, 245, 0.2);
}

.setting-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.setting-row label {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.8);
}

.timer-input {
    background: rgba(245, 245, 245, 0.1);
    border: 1px solid rgba(245, 245, 245, 0.3);
    border-radius: 5px;
    color: white;
    padding: 5px 10px;
    width: 60px;
    text-align: center;
    font-size: 0.9rem;
}

.timer-input:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Media Controls Responsive */
@media (max-width: 768px) {
    .media-controls {
        width: 95%;
        padding: 20px;
    }

    .control-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .control-row label {
        min-width: auto;
        text-align: center;
    }

    .dropdown-control,
    .slider-control {
        min-width: auto;
        width: 100%;
    }

    .random-motivation-container {
        margin: 15px auto;
    }

    .random-motivation-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .pomodoro-timer {
        padding: 20px;
        margin: 15px auto;
    }

    .timer-controls {
        flex-direction: column;
        gap: 10px;
    }

    .timer-btn {
        width: 100%;
    }
}