/* ===================================
   TIMER PAGE SPECIFIC STYLES
   =================================== */

.timer-hero {
    background: linear-gradient(135deg,
        rgba(255, 183, 197, 0.15) 0%,
        rgba(212, 181, 241, 0.15) 100%);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-secondary);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ===================================
   TIMER GRID LAYOUT
   =================================== */

.timer-section {
    padding: var(--spacing-xl) 0;
}

.timer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* ===================================
   TIMER PANEL
   =================================== */

.timer-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.timer-display {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto var(--spacing-lg);
}

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

.timer-ring-bg {
    fill: none;
    stroke: var(--bg-secondary);
    stroke-width: 12;
}

.timer-ring-progress {
    fill: none;
    stroke: #ffb7c5;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 8px rgba(255, 183, 197, 0.5));
}

.timer-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-time span {
    min-width: 2ch;
    text-align: center;
}

/* ===================================
   TIMER MODE BUTTONS
   =================================== */

.timer-mode {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.mode-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--primary);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.mode-btn:hover {
    background: rgba(255, 183, 197, 0.1);
}

.mode-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-color: transparent;
}

/* ===================================
   TIMER CONTROLS
   =================================== */

.timer-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.control-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

/* Make fullscreen and reset buttons smaller on desktop */
@media (min-width: 769px) {
    .btn-fullscreen,
    .btn-reset {
        grid-column: span 1;
    }
}

.btn-start {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.btn-pause {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
}

.btn-pause:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
}

.btn-reset {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 2px solid var(--text-light);
}

.btn-reset:hover {
    background: var(--bg-primary);
    border-color: var(--text-secondary);
}

/* ===================================
   TIMER STATS
   =================================== */

.timer-stats {
    display: flex;
    justify-content: space-around;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-item .stat-icon {
    font-size: 2rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===================================
   SETTINGS CARD
   =================================== */

.settings-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.settings-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.setting-item {
    padding: var(--spacing-sm) 0;
}

.setting-item label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    color: var(--text-secondary);
}

.setting-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

/* ===================================
   TREE PANEL
   =================================== */

.tree-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tree-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.tree-level-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.level-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.level-progress {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===================================
   TREE CANVAS
   =================================== */

.tree-canvas {
    background: linear-gradient(to bottom, #E3F2FD 0%, #F5F5F5 100%);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    min-height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.timer-tree-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

#timer-tree-image {
    position: relative;
    z-index: 1;
    transition: opacity 0.4s ease;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tree-progress-label {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    z-index: 3;
    pointer-events: none;
}

.timer-petal-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: none;
    z-index: 2;
}

.timer-floating-petal {
    position: absolute;
    width: 32px;
    height: 28px;
    background: radial-gradient(circle at 40% 40%, #fff, #ffb7c5);
    border-radius: 60% 40% 60% 40%;
    opacity: 0.8;
    animation: floatPetal 18s infinite;
}

@keyframes floatPetal {
    0% {
        transform: translateY(-10px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(calc(100% + 100px)) translateX(30px) rotate(360deg);
        opacity: 0;
    }
}

.tree-finale-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.finale-petal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 12px;
    background: radial-gradient(circle at 40% 40%, #fff, hsl(var(--hue, 340), 76%, 74%));
    border-radius: 60% 40% 60% 40%;
    filter: drop-shadow(0 6px 10px rgba(255, 183, 197, 0.4));
}

@keyframes petalBurst {
    0% {
        transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + 100px * cos(var(--angle, 0))), calc(-50% + 100px * sin(var(--angle, 0)))) scale(1.2) rotate(180deg);
        opacity: 0;
    }
}

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

/* ===================================
   TREE MILESTONES
   =================================== */

.tree-milestones h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.milestone-list {
    list-style: none;
}

.milestone-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    margin-bottom: 0.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.milestone-icon {
    font-size: 1.5rem;
}

/* ===================================
   ACHIEVEMENTS SECTION
   =================================== */

.achievements-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.achievement-card {
    background: linear-gradient(135deg,
        rgba(255, 183, 197, 0.1) 0%,
        rgba(212, 181, 241, 0.1) 100%);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.achievement-card.locked {
    opacity: 0.5;
    filter: grayscale(1);
}

.achievement-card.unlocked {
    border-color: var(--primary);
    opacity: 1;
    filter: grayscale(0);
}

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

.achievement-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.achievement-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.achievement-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===================================
   DARK MODE ADJUSTMENTS
   =================================== */

[data-theme="dark"] .timer-hero {
    background: radial-gradient(circle at 20% 20%, rgba(255, 46, 230, 0.14), transparent 36%),
        radial-gradient(circle at 80% 0%, rgba(104, 210, 187, 0.12), transparent 38%),
        linear-gradient(160deg, #0f1022 0%, #11142d 60%, #181338 100%);
}

[data-theme="dark"] .settings-card,
[data-theme="dark"] .tree-card {
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 46, 230, 0.2);
    background: radial-gradient(circle at 20% 20%, rgba(255, 46, 230, 0.06), transparent 32%),
        radial-gradient(circle at 80% 0%, rgba(104, 210, 187, 0.05), transparent 30%),
        var(--bg-card);
}

[data-theme="dark"] .tree-canvas {
    background: linear-gradient(180deg, rgba(199, 169, 255, 0.12) 0%, rgba(17, 16, 45, 0.92) 100%);
    border-color: rgba(255, 46, 230, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .tree-progress-label {
    background: rgba(17, 24, 39, 0.85);
    color: var(--text-primary);
}

[data-theme="dark"] .achievements-section {
    background: var(--bg-card);
}

[data-theme="dark"] .achievement-card {
    background: linear-gradient(135deg, rgba(255, 46, 230, 0.12) 0%, rgba(104, 210, 187, 0.12) 100%);
    border-color: rgba(255, 46, 230, 0.35);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Desktop: Verstecke mobile Container, zeige desktop Container */
.mobile-controls-container {
    display: none;
}

.desktop-controls-container {
    display: block;
}

/* Desktop: Verstecke mobile Settings-Card */
.settings-card-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .timer-grid {
        grid-template-columns: 1fr;
    }

    .tree-card {
        position: static;
    }
}

@media (max-width: 768px) {
    /* ===================================
       MOBILE: Komplett neu strukturiert
       =================================== */

    /* Zeige mobile Container, verstecke desktop */
    .mobile-controls-container {
        display: block;
    }

    .desktop-controls-container {
        display: none;
    }

    /* Timer-Grid: Einspaltig */
    .timer-grid {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    /* Timer-Panel: Oben, prominent */
    .timer-panel {
        order: 1;
        position: relative;
        width: 100%;
    }

    .timer-card {
        padding: var(--spacing-lg);
        text-align: center;
    }

    /* Timer-Display: Zentriert und gut sichtbar */
    .timer-display {
        width: 200px;
        height: 200px;
        margin: 0 auto var(--spacing-md);
    }

    .timer-ring-bg,
    .timer-ring-progress {
        stroke-width: 10;
    }

    .timer-time {
        font-size: 3rem;
        font-weight: 700;
    }

    /* Desktop Settings-Card im Timer-Panel verstecken */
    .timer-panel .settings-card:not(.settings-card-mobile) {
        display: none;
    }

    /* Tree-Panel: Darunter */
    .tree-panel {
        order: 2;
        position: relative;
    }

    .tree-card {
        padding: var(--spacing-lg);
    }

    .tree-title {
        font-size: 1.3rem;
    }

    .tree-canvas {
        min-height: 350px;
        margin-bottom: var(--spacing-md);
    }

    .timer-tree-wrapper {
        height: 350px;
    }

    /* Mobile Kontrollelemente unter dem Baum */
    .mobile-controls-container {
        border-top: 2px solid rgba(255, 183, 197, 0.2);
        padding-top: var(--spacing-md);
        margin-top: var(--spacing-md);
    }

    [data-theme="dark"] .mobile-controls-container {
        border-top-color: rgba(255, 46, 230, 0.2);
    }

    /* Mode Buttons: 2 Spalten */
    .mobile-controls-container .timer-mode {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: var(--spacing-md);
    }

    .mobile-controls-container .mode-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .mobile-controls-container .mode-btn:last-child {
        grid-column: 1 / -1;
    }

    /* Cycle Indicator */
    .mobile-controls-container .pomodoro-cycle-indicator {
        padding: 0.75rem !important;
        margin-bottom: var(--spacing-md);
        background: rgba(102, 126, 234, 0.08) !important;
    }

    .mobile-controls-container .pomodoro-cycle-indicator > div:first-child {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* Control Buttons: 3 Spalten + Fullscreen darunter */
    .mobile-controls-container .timer-controls {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: var(--spacing-md);
    }

    .mobile-controls-container .control-btn {
        padding: 0.85rem 0.5rem;
        font-size: 0.85rem;
    }

    .mobile-controls-container .btn-fullscreen {
        grid-column: 1 / -1;
    }

    /* Stats: 3 Spalten Grid */
    .mobile-controls-container .timer-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: var(--spacing-md);
        background: var(--bg-secondary);
        border-radius: var(--radius-md);
    }

    .mobile-controls-container .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }

    .mobile-controls-container .stat-icon {
        font-size: 1.8rem;
    }

    .mobile-controls-container .stat-number {
        font-size: 1.4rem;
    }

    .mobile-controls-container .stat-text {
        font-size: 0.75rem;
    }

    /* Mobile Settings-Card: Ganz unten */
    .settings-card-mobile {
        display: block;
        margin-top: var(--spacing-xl);
        background: var(--bg-card);
        padding: var(--spacing-lg);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    [data-theme="dark"] .settings-card-mobile {
        box-shadow: var(--shadow-md);
        border-color: rgba(255, 46, 230, 0.2);
        background: radial-gradient(circle at 20% 20%, rgba(255, 46, 230, 0.06), transparent 32%),
            radial-gradient(circle at 80% 0%, rgba(104, 210, 187, 0.05), transparent 30%),
            var(--bg-card);
    }

    .settings-card-mobile h3 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-md);
    }

    /* Tree progress label */
    .tree-progress-label {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Achievements */
    .achievements-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    /* ===================================
       SMALL MOBILE: Kompaktere Elemente
       =================================== */

    .timer-card {
        padding: var(--spacing-md);
    }

    /* Kleinerer Timer-Display */
    .timer-display {
        width: 180px;
        height: 180px;
        margin-bottom: var(--spacing-md);
    }

    .timer-time {
        font-size: 2.5rem;
    }

    /* Tree Card kompakter */
    .tree-card {
        padding: var(--spacing-md);
    }

    .tree-title {
        font-size: 1.2rem;
    }

    .tree-canvas {
        min-height: 320px;
    }

    .timer-tree-wrapper {
        height: 320px;
    }

    /* Mobile Controls kompakter */
    .mobile-controls-container .mode-btn {
        padding: 0.65rem;
        font-size: 0.8rem;
    }

    .mobile-controls-container .control-btn {
        padding: 0.75rem 0.4rem;
        font-size: 0.8rem;
    }

    .mobile-controls-container .stat-icon {
        font-size: 1.5rem;
    }

    .mobile-controls-container .stat-number {
        font-size: 1.2rem;
    }

    .mobile-controls-container .stat-text {
        font-size: 0.7rem;
    }

    /* Settings kompakter */
    .settings-card-mobile {
        padding: var(--spacing-md);
        margin-top: var(--spacing-lg);
    }

    .settings-card-mobile h3 {
        font-size: 1rem;
    }

    /* Achievements */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .achievement-card {
        padding: 1.25rem;
    }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    /* ===================================
       EXTRA SMALL: Minimale Elemente
       =================================== */

    /* Noch kleinerer Timer-Display */
    .timer-display {
        width: 160px;
        height: 160px;
    }

    .timer-time {
        font-size: 2.2rem;
    }

    /* Tree kompakter */
    .tree-card {
        padding: 0.75rem;
    }

    .tree-title {
        font-size: 1.1rem;
    }

    .tree-canvas {
        min-height: 300px;
    }

    .timer-tree-wrapper {
        height: 300px;
    }

    /* Controls noch kompakter */
    .mobile-controls-container .mode-btn {
        padding: 0.6rem;
        font-size: 0.75rem;
    }

    .mobile-controls-container .control-btn {
        padding: 0.7rem 0.3rem;
        font-size: 0.75rem;
    }

    .mobile-controls-container .stat-icon {
        font-size: 1.3rem;
    }

    .mobile-controls-container .stat-number {
        font-size: 1.1rem;
    }

    /* Hero kompakter */
    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .timer-hero {
        padding: 2rem 0;
    }
}

/* ===================================
   FULLSCREEN MODE STYLES
   =================================== */

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 99999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fullscreen-overlay.active {
    display: block;
    opacity: 1;
}

/* Hide global floating music controls when fullscreen is active */
.fullscreen-overlay.active ~ #music-toggle-btn,
.fullscreen-overlay.active ~ .music-volume-control,
body:has(.fullscreen-overlay.active) #music-toggle-btn,
body:has(.fullscreen-overlay.active) .music-volume-control {
    display: none !important;
}

.fullscreen-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

/* Exit Button */
.fullscreen-exit {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 100;
    line-height: 1;
    padding: 0;
}

.fullscreen-exit:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.fullscreen-exit span {
    display: block;
    line-height: 1;
    margin-top: -4px;
}

/* Fullscreen Music Controls (Video Player Style) */
.fullscreen-music-controls {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1.2rem;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.music-control-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.music-control-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.music-control-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.music-play-pause-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.music-play-pause-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.music-play-pause-btn:active {
    transform: translateY(0);
}

.music-status-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.music-volume-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
}

.volume-icon {
    font-size: 1.2rem;
    opacity: 0.9;
}

.fullscreen-volume-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    transition: background 0.2s ease;
}

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

.fullscreen-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.fullscreen-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.fullscreen-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.fullscreen-volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.fullscreen-volume-slider:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fullscreen-volume-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    min-width: 2.5rem;
    text-align: right;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Main Content Layout */
.fullscreen-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1600px;
    width: 100%;
    height: 100%;
    max-height: 900px;
}

/* Timer Section */
.fullscreen-timer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.fullscreen-mode-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Timer Display */
.fullscreen-timer-display {
    position: relative;
    width: 350px;
    height: 350px;
}

/* Hide tree image inside timer-display on desktop - it should only show in tree-panel */
.fullscreen-timer-display .fullscreen-tree-image {
    display: none;
}

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

.fullscreen-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 10;
}

.fullscreen-ring-progress {
    fill: none;
    stroke: #ffb7c5;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 477;
    stroke-dashoffset: 477;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 12px rgba(255, 183, 197, 0.7));
}

.fullscreen-timer-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: white;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.1em;
}

.fullscreen-timer-time span {
    min-width: 2.5ch;
    text-align: center;
}

/* Progress Bar - Hidden as per user request */
.fullscreen-progress-bar {
    display: none;
}

/* Cycle Indicator */
.fullscreen-cycle-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.fullscreen-cycle-info .cycle-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.fullscreen-cycle-dots {
    display: flex;
    gap: 0.75rem;
}

/* Control Buttons */
.fullscreen-controls {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
}

.fullscreen-control-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fullscreen-btn-toggle {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.fullscreen-btn-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.fullscreen-btn-toggle.is-running {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.fullscreen-btn-toggle.is-running:hover {
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.fullscreen-btn-reset {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.fullscreen-btn-reset:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Tree Panel */
.fullscreen-tree-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

/* Tree Visualization */
.fullscreen-tree {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.fullscreen-tree-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.fullscreen-tree-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
}

.fullscreen-tree-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    min-height: 400px;
}

.fullscreen-tree-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.3));
    transition: opacity 0.3s ease;
}

/* Motivation Quote */
.fullscreen-motivation {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.fullscreen-motivation .motivation-icon {
    font-size: 2.5rem;
    animation: floatMotivation 3s ease-in-out infinite;
}

@keyframes floatMotivation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fullscreen-motivation .motivation-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Ambient Background Effects */
.fullscreen-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.6;
}

.ambient-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: floatParticle 20s infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Create varied particle sizes and positions */
.ambient-particle:nth-child(1) {
    left: 5%;
    width: 6px;
    height: 6px;
    animation-delay: 0s;
    animation-duration: 14s;
}

.ambient-particle:nth-child(2) {
    left: 15%;
    width: 4px;
    height: 4px;
    animation-delay: 2s;
    animation-duration: 18s;
}

.ambient-particle:nth-child(3) {
    left: 25%;
    width: 8px;
    height: 8px;
    animation-delay: 4s;
    animation-duration: 16s;
}

.ambient-particle:nth-child(4) {
    left: 35%;
    width: 5px;
    height: 5px;
    animation-delay: 1s;
    animation-duration: 20s;
}

.ambient-particle:nth-child(5) {
    left: 45%;
    width: 7px;
    height: 7px;
    animation-delay: 6s;
    animation-duration: 15s;
}

.ambient-particle:nth-child(6) {
    left: 55%;
    width: 4px;
    height: 4px;
    animation-delay: 3s;
    animation-duration: 19s;
}

.ambient-particle:nth-child(7) {
    left: 65%;
    width: 6px;
    height: 6px;
    animation-delay: 7s;
    animation-duration: 17s;
}

.ambient-particle:nth-child(8) {
    left: 75%;
    width: 5px;
    height: 5px;
    animation-delay: 5s;
    animation-duration: 21s;
}

.ambient-particle:nth-child(9) {
    left: 85%;
    width: 8px;
    height: 8px;
    animation-delay: 8s;
    animation-duration: 14s;
}

.ambient-particle:nth-child(10) {
    left: 95%;
    width: 4px;
    height: 4px;
    animation-delay: 9s;
    animation-duration: 18s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(110vh) translateX(0) scale(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) translateX(30px) scale(1) rotate(180deg);
        opacity: 0.6;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-10vh) translateX(-30px) scale(0.5) rotate(360deg);
        opacity: 0;
    }
}

/* Dark Mode Adjustments for Fullscreen */
[data-theme="dark"] .fullscreen-overlay {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

[data-theme="dark"] .fullscreen-timer-section,
[data-theme="dark"] .fullscreen-tree,
[data-theme="dark"] .fullscreen-motivation {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 46, 230, 0.3);
}

[data-theme="dark"] .fullscreen-ring-bg {
    stroke: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .fullscreen-tree-level {
    background: rgba(255, 46, 230, 0.1);
}

/* Button Styling for Fullscreen Button */
.btn-fullscreen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-fullscreen:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* ===================================
   RESPONSIVE FULLSCREEN MODE
   =================================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .fullscreen-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-height: none;
    }

    .fullscreen-timer-display {
        width: 300px;
        height: 300px;
    }

    .fullscreen-timer-time {
        font-size: 5rem;
    }

    .fullscreen-tree-image {
        min-height: 300px;
    }

    .fullscreen-tree-image img {
        max-height: 300px;
    }
}

/* Mobile Fullscreen: Minimalistisches Zen-Design */
@media (max-width: 768px) {
    .fullscreen-container {
        padding: 0;
        background: linear-gradient(135deg,
            rgba(255, 183, 197, 0.15) 0%,
            rgba(212, 181, 241, 0.15) 50%,
            rgba(255, 255, 255, 0.95) 100%);
    }

    .fullscreen-exit {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        z-index: 100;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 183, 197, 0.3);
    }

    /* Zen-inspirierte vertikale Zentrierung mit Grid Layout */
    .fullscreen-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        position: relative;
        min-height: 100vh;
        padding: 2rem 1.5rem 6rem 1.5rem;
    }

    /* Container für Baum + Ring - ZUSAMMEN in einem Container */
    .fullscreen-timer-section {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        gap: 0 !important;
        position: relative;
    }

    .fullscreen-tree-panel {
        display: none !important;
    }

    .fullscreen-tree {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    /* Verstecke Elemente, die nicht im mobilen Design sein sollen */
    .fullscreen-tree-title,
    .fullscreen-tree-level {
        display: none !important;
    }

    .fullscreen-motivation {
        display: none !important;
    }

    .fullscreen-progress-bar {
        display: none !important;
    }

    .fullscreen-mode-label {
        display: none !important;
    }

    /* GEMEINSAMER Container für Baum + Ring */
    .fullscreen-timer-display {
        width: 300px;
        height: 300px;
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 0 1rem 0;
    }

    /* Ring - positioniert im Container */
    .fullscreen-timer-ring {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block !important;
        pointer-events: none;
    }

    .fullscreen-ring-bg {
        stroke: rgba(255, 183, 197, 0.15) !important;
        stroke-width: 8 !important;
    }

    .fullscreen-ring-progress {
        stroke: #ffb7c5 !important;
        stroke-width: 8 !important;
        filter: drop-shadow(0 0 8px rgba(255, 183, 197, 0.4)) !important;
    }

    /* Baum - positioniert INNERHALB des gleichen Containers */
    /* Re-enable tree image inside timer-display for mobile */
    .fullscreen-timer-display .fullscreen-tree-image {
        display: flex !important;
    }

    .fullscreen-tree-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 220px;
        height: 220px;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 0;
        margin: 0;
        pointer-events: none;
    }

    .fullscreen-tree-image img {
        max-width: 180px;
        max-height: 180px;
        width: 180px;
        height: 180px;
        object-fit: contain;
        filter: drop-shadow(0 8px 30px rgba(255, 183, 197, 0.2));
    }

    /* Timer-Zeit: Direkt nach dem Display */
    .fullscreen-timer-time {
        font-size: 4.5rem;
        font-weight: 200;
        font-family: 'Poppins', -apple-system, sans-serif;
        color: rgba(92, 107, 192, 0.85);
        text-shadow: 0 2px 20px rgba(255, 183, 197, 0.15);
        letter-spacing: 0.05em;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.1em;
        width: auto;
        margin: 0.5rem 0 1.5rem 0;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .fullscreen-timer-time span {
        min-width: auto;
        text-align: center;
    }

    /* Zyklus-Tracker */
    .fullscreen-cycle-info {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin: 0 0 2rem 0;
        width: auto;
    }

    .fullscreen-cycle-info .cycle-text {
        font-family: 'Quicksand', sans-serif;
        font-size: 0.9rem;
        font-weight: 400;
        color: rgba(92, 107, 192, 0.7);
        text-shadow: none;
        letter-spacing: 0.5px;
    }

    .fullscreen-cycle-dots {
        display: flex;
        gap: 0.5rem;
    }

    .fullscreen-cycle-dots div {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50%;
        background: rgba(255, 183, 197, 0.3);
        transition: all 0.3s ease;
    }

    /* Control Buttons */
    .fullscreen-controls {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0;
        align-items: center;
    }

    .fullscreen-btn-toggle {
        padding: 1.1rem 2.5rem;
        border: none;
        border-radius: 100px;
        font-weight: 600;
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: linear-gradient(135deg, #ffb7c5 0%, #d4b5f1 100%);
        color: white;
        box-shadow: 0 0 30px rgba(255, 183, 197, 0.5),
                    0 4px 15px rgba(255, 183, 197, 0.3);
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .fullscreen-btn-toggle.is-running {
        background: linear-gradient(135deg, #ffa07a 0%, #ff6b9d 100%);
        box-shadow: 0 0 30px rgba(255, 160, 122, 0.5),
                    0 4px 15px rgba(255, 107, 157, 0.3);
    }

    /* Entferne Emojis von Buttons */
    .fullscreen-btn-toggle::before {
        content: none;
    }

    .fullscreen-btn-toggle:active {
        transform: scale(0.98);
        box-shadow: 0 0 20px rgba(255, 183, 197, 0.4),
                    0 2px 10px rgba(255, 183, 197, 0.2);
    }

    /* 5. RESET Button: Zurückhaltend */
    .fullscreen-btn-reset {
        padding: 0.9rem 2rem;
        border: 1.5px solid rgba(212, 181, 241, 0.3);
        border-radius: 100px;
        font-weight: 500;
        font-size: 0.9rem;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.5);
        color: rgba(92, 107, 192, 0.7);
        box-shadow: none;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .fullscreen-btn-reset:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.7);
        border-color: rgba(212, 181, 241, 0.5);
    }

    /* Mode Label: Versteckt im mobilen Design */
    .fullscreen-mode-label {
        display: none !important;
    }

    /* Music Controls: Kompakte Single Box */
    .fullscreen-music-controls {
        position: relative !important;
        padding: 1rem 1.25rem;
        margin: 1.5rem 0 0 0;
        background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 248, 250, 0.95) 100%) !important;
        border: 1.5px solid rgba(255, 183, 197, 0.4);
        border-radius: 14px;
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(255, 183, 197, 0.2),
                    0 2px 8px rgba(0, 0, 0, 0.05);
        max-width: 320px;
        width: 100%;
        display: flex !important;
        flex-direction: column;
        gap: 0.85rem;
    }

    .music-toggle-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        font-weight: 600;
        background: linear-gradient(135deg, #ffb7c5 0%, #ffd4e5 100%);
        border: 1px solid rgba(255, 183, 197, 0.4);
        border-radius: 10px;
        color: #5a3d5c;
        box-shadow: 0 2px 8px rgba(255, 183, 197, 0.25);
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        width: 100%;
    }

    .music-toggle-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 183, 197, 0.35);
    }

    .music-toggle-btn:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(255, 183, 197, 0.3);
    }

    .music-toggle-btn.playing {
        background: linear-gradient(135deg, #68d2bb 0%, #a8e6cf 100%);
        color: rgba(17, 24, 39, 0.9);
    }

    .music-status-text {
        font-size: 0.9rem;
        font-weight: 600;
        color: #5a3d5c;
    }

    .music-volume-control {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0.5rem 0;
    }

    .volume-icon {
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .fullscreen-volume-slider {
        flex: 1;
        height: 6px;
        border-radius: 3px;
        background: rgba(255, 183, 197, 0.2);
        outline: none;
        -webkit-appearance: none;
        accent-color: #ffb7c5;
    }

    .fullscreen-volume-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #ffb7c5;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(255, 183, 197, 0.3);
        transition: transform 0.2s ease;
    }

    .fullscreen-volume-slider::-webkit-slider-thumb:hover {
        transform: scale(1.1);
    }

    .fullscreen-volume-slider::-moz-range-thumb {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #ffb7c5;
        cursor: pointer;
        border: none;
        box-shadow: 0 2px 4px rgba(255, 183, 197, 0.3);
        transition: transform 0.2s ease;
    }

    .fullscreen-volume-slider::-moz-range-thumb:hover {
        transform: scale(1.1);
    }

    .fullscreen-volume-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: rgba(92, 107, 192, 0.75);
        min-width: 42px;
        text-align: right;
        flex-shrink: 0;
    }

    /* Dark Mode Anpassungen */
    [data-theme="dark"] .fullscreen-container {
        background: linear-gradient(135deg,
            rgba(255, 46, 230, 0.08) 0%,
            rgba(104, 210, 187, 0.08) 50%,
            rgba(17, 24, 39, 0.95) 100%);
    }

    [data-theme="dark"] .fullscreen-timer-time {
        color: rgba(255, 255, 255, 0.9);
    }

    [data-theme="dark"] .fullscreen-cycle-info .cycle-text {
        color: rgba(255, 183, 197, 0.6);
    }

    [data-theme="dark"] .fullscreen-btn-reset {
        background: rgba(17, 24, 39, 0.5);
        color: rgba(255, 183, 197, 0.8);
        border-color: rgba(255, 46, 230, 0.3);
    }

    [data-theme="dark"] .fullscreen-music-controls {
        background: linear-gradient(135deg,
            rgba(17, 24, 39, 0.95) 0%,
            rgba(31, 41, 55, 0.95) 100%) !important;
        border-color: rgba(255, 183, 197, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                    0 2px 8px rgba(255, 183, 197, 0.1);
    }

    [data-theme="dark"] .music-control-title {
        color: rgba(255, 183, 197, 0.9);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    [data-theme="dark"] .music-play-pause-btn {
        background: linear-gradient(135deg, rgba(255, 183, 197, 0.25) 0%, rgba(255, 107, 157, 0.25) 100%);
        border-color: rgba(255, 183, 197, 0.4);
        color: rgba(255, 183, 197, 0.95);
    }

    [data-theme="dark"] .music-status-text {
        color: rgba(255, 183, 197, 0.85);
    }

    [data-theme="dark"] .fullscreen-volume-label {
        color: rgba(255, 183, 197, 0.75);
    }
}

/* Small Mobile Fullscreen: Kompakteres Zen-Design */
@media (max-width: 480px) {
    .fullscreen-content {
        padding: 1.5rem 1rem;
    }

    .fullscreen-exit {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    /* Timer Display kleiner */
    .fullscreen-timer-display {
        width: 260px !important;
        height: 260px !important;
        margin: 0 0 0.75rem 0 !important;
    }

    /* Kleinerer Baum */
    .fullscreen-tree-image {
        width: 200px !important;
        height: 200px !important;
    }

    .fullscreen-tree-image img {
        max-height: 160px !important;
        max-width: 160px !important;
        width: 160px !important;
        height: 160px !important;
    }

    /* Zyklus-Tracker kompakter */
    .fullscreen-cycle-info {
        margin: 0 0 1.5rem 0 !important;
    }

    .fullscreen-cycle-info .cycle-text {
        font-size: 0.85rem;
    }

    .fullscreen-cycle-dots div {
        width: 7px !important;
        height: 7px !important;
    }

    /* Timer kleiner */
    .fullscreen-timer-time {
        font-size: 3.5rem !important;
        margin: 0.25rem 0 1.25rem 0 !important;
    }

    /* Buttons kompakter */
    .fullscreen-controls {
        max-width: 280px;
    }

    /* Music controls kleiner */
    .fullscreen-music-controls {
        padding: 1rem 1.25rem !important;
        margin: 1.25rem 0 0 0 !important;
        max-width: 280px !important;
    }

    .fullscreen-btn-toggle {
        padding: 1rem 2rem !important;
        font-size: 0.95rem !important;
    }

    .fullscreen-btn-reset {
        padding: 0.8rem 1.75rem !important;
        font-size: 0.85rem !important;
    }

    .music-toggle-btn {
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .music-status-text {
        font-size: 0.85rem !important;
    }

    .volume-icon {
        font-size: 1.1rem !important;
    }

    .fullscreen-volume-label {
        font-size: 0.8rem !important;
    }

    .fullscreen-volume-slider {
        height: 5px !important;
    }

    .fullscreen-volume-slider::-webkit-slider-thumb {
        width: 14px !important;
        height: 14px !important;
    }

    .fullscreen-volume-slider::-moz-range-thumb {
        width: 14px !important;
        height: 14px !important;
    }
}

/* Landscape mode for mobile devices: Horizontales Zen-Layout */
@media (max-width: 768px) and (orientation: landscape) {
    .fullscreen-content {
        flex-direction: row;
        padding: 1.5rem 2rem;
        gap: 2rem;
    }

    /* Baum links */
    .fullscreen-tree-image {
        order: 1;
        max-height: 220px;
        margin: 0;
        flex: 0 0 220px;
    }

    .fullscreen-tree-image img {
        max-height: 220px;
        max-width: 220px;
    }

    /* Rechte Seite: Timer + Controls */
    .fullscreen-cycle-info,
    .fullscreen-timer-display,
    .fullscreen-controls {
        order: 2;
    }

    .fullscreen-cycle-info {
        margin: 0 0 1rem 0;
    }

    .fullscreen-timer-time {
        font-size: 4rem;
        margin: 0 0 2rem 0;
    }

    .fullscreen-controls {
        max-width: 280px;
    }

    .fullscreen-mode-label {
        top: 1rem;
        left: 1rem;
        transform: none;
    }
}
