@import url('fonts.css');

:root,
[data-theme="dark"] {
    --gold: #d49428;
    --gold-bright: #e5a73b;
    --gold-glow: rgba(212, 148, 40, 0.35);
    --red-deep: #7a1d1d;
    --red-festive: #ad2828;
    --green-pine: #1b4332;
    --wood-dark: #1e110a;
    --bg-page: #0d0705;
    --glass-bg: rgba(26, 14, 9, 0.72);
    --glass-border: rgba(212, 148, 40, 0.28);
    --glass-blur: blur(16px);
    --card-surface: rgba(24, 13, 8, 0.65);
    --card-border: rgba(212, 148, 40, 0.22);
    --text-primary: #f7f3ed;
    --text-muted: rgba(247, 243, 237, 0.72);
    --heading-color: #f7f3ed;
    --btn-primary-bg: linear-gradient(135deg, #7a1d1d, #ad2828);
    --btn-primary-hover: linear-gradient(135deg, #8f2424, #c23333);
    --btn-primary-glow: rgba(173, 40, 40, 0.45);
    --btn-secondary-bg: rgba(26, 14, 9, 0.75);
    --btn-secondary-border: rgba(212, 148, 40, 0.3);
    --btn-secondary-text: #f7f3ed;
    --timer-num: #d49428;
    --timer-box-bg: rgba(20, 10, 6, 0.7);
    --timer-box-border: rgba(212, 148, 40, 0.25);
    --footer-bg: #0a0504;
    --footer-border: rgba(212, 148, 40, 0.25);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

[data-theme="classic"] {
    --gold: #d4af37;
    --gold-bright: #ffd700;
    --gold-glow: rgba(212, 175, 55, 0.45);
    --red-deep: #a7101b;
    --red-festive: #c1121f;
    --green-pine: #1b4332;
    --wood-dark: #120905;
    --bg-page: #0a0502;
    --glass-bg: rgba(18, 9, 5, 0.78);
    --glass-border: rgba(212, 175, 55, 0.35);
    --glass-blur: blur(16px);
    --card-surface: rgba(18, 9, 5, 0.72);
    --card-border: rgba(212, 175, 55, 0.26);
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.78);
    --heading-color: #ffffff;
    --btn-primary-bg: linear-gradient(135deg, #a7101b, #c1121f);
    --btn-primary-hover: linear-gradient(135deg, #be1421, #dc2626);
    --btn-primary-glow: rgba(193, 18, 31, 0.5);
    --btn-secondary-bg: rgba(18, 9, 5, 0.75);
    --btn-secondary-border: rgba(212, 175, 55, 0.35);
    --btn-secondary-text: #ffffff;
    --timer-num: #d4af37;
    --timer-box-bg: rgba(14, 7, 4, 0.75);
    --timer-box-border: rgba(212, 175, 55, 0.35);
    --footer-bg: #080402;
    --footer-border: rgba(212, 175, 55, 0.28);
}

[data-theme="pine"] {
    --gold: #d4af37;
    --gold-bright: #e0be48;
    --gold-glow: rgba(212, 175, 55, 0.35);
    --red-deep: #591016;
    --red-festive: #8a1f29;
    --green-pine: #1b5e34;
    --wood-dark: #0a2916;
    --bg-page: #041209;
    --glass-bg: rgba(7, 26, 15, 0.75);
    --glass-border: rgba(40, 140, 78, 0.35);
    --glass-blur: blur(16px);
    --card-surface: rgba(7, 26, 15, 0.68);
    --card-border: rgba(40, 140, 78, 0.28);
    --text-primary: #edf7f0;
    --text-muted: rgba(220, 242, 226, 0.72);
    --heading-color: #edf7f0;
    --btn-primary-bg: linear-gradient(135deg, #0f4024, #1f6e3c);
    --btn-primary-hover: linear-gradient(135deg, #15522f, #288c4d);
    --btn-primary-glow: rgba(31, 110, 60, 0.45);
    --btn-secondary-bg: rgba(7, 26, 15, 0.75);
    --btn-secondary-border: rgba(40, 140, 78, 0.35);
    --btn-secondary-text: #edf7f0;
    --timer-num: #34a864;
    --timer-box-bg: rgba(5, 20, 12, 0.7);
    --timer-box-border: rgba(40, 140, 78, 0.3);
    --footer-bg: #030d06;
    --footer-border: rgba(40, 140, 78, 0.28);
}

[data-theme="crimson"] {
    --gold: #d9a443;
    --gold-bright: #e8b85c;
    --gold-glow: rgba(217, 164, 67, 0.35);
    --red-deep: #590912;
    --red-festive: #991524;
    --green-pine: #1a3d28;
    --wood-dark: #240509;
    --bg-page: #120306;
    --glass-bg: rgba(32, 6, 12, 0.75);
    --glass-border: rgba(153, 21, 36, 0.35);
    --glass-blur: blur(16px);
    --card-surface: rgba(28, 6, 11, 0.68);
    --card-border: rgba(153, 21, 36, 0.28);
    --text-primary: #fff0f2;
    --text-muted: rgba(255, 225, 230, 0.72);
    --heading-color: #fff0f2;
    --btn-primary-bg: linear-gradient(135deg, #690c16, #991524);
    --btn-primary-hover: linear-gradient(135deg, #7d101c, #b31d2e);
    --btn-primary-glow: rgba(153, 21, 36, 0.45);
    --btn-secondary-bg: rgba(32, 6, 12, 0.75);
    --btn-secondary-border: rgba(153, 21, 36, 0.35);
    --btn-secondary-text: #fff0f2;
    --timer-num: #e05363;
    --timer-box-bg: rgba(22, 4, 8, 0.7);
    --timer-box-border: rgba(153, 21, 36, 0.3);
    --footer-bg: #0c0204;
    --footer-border: rgba(153, 21, 36, 0.28);
}

[data-theme="light"] {
    --gold: #8f6515;
    --gold-bright: #aa791a;
    --gold-glow: rgba(143, 101, 21, 0.25);
    --red-deep: #6f161c;
    --red-festive: #8f1b22;
    --green-pine: #1b4b39;
    --wood-dark: #b8cad8;
    --bg-page: #c2d3e1;
    --glass-bg: rgba(206, 222, 235, 0.88);
    --glass-border: rgba(35, 75, 110, 0.25);
    --glass-blur: blur(16px);
    --card-surface: rgba(214, 228, 239, 0.92);
    --card-border: rgba(35, 75, 110, 0.22);
    --text-primary: #0f1c29;
    --text-muted: #2d455c;
    --heading-color: #0f1c29;
    --btn-primary-bg: linear-gradient(135deg, #184368, #255b88);
    --btn-primary-hover: linear-gradient(135deg, #1d4d75, #2c689a);
    --btn-primary-glow: rgba(24, 67, 104, 0.35);
    --btn-secondary-bg: rgba(206, 222, 235, 0.9);
    --btn-secondary-border: rgba(35, 75, 110, 0.28);
    --btn-secondary-text: #0f1c29;
    --timer-num: #184368;
    --timer-box-bg: rgba(206, 222, 235, 0.85);
    --timer-box-border: rgba(35, 75, 110, 0.25);
    --footer-bg: #b3c7d7;
    --footer-border: rgba(35, 75, 110, 0.25);
}

[data-theme="aurora"] {
    --gold: #27ada3;
    --gold-bright: #36c2b7;
    --gold-glow: rgba(39, 173, 163, 0.35);
    --red-deep: #3c2975;
    --red-festive: #54449e;
    --green-pine: #0f4b46;
    --wood-dark: #071e22;
    --bg-page: #040a16;
    --glass-bg: rgba(6, 18, 34, 0.75);
    --glass-border: rgba(39, 173, 163, 0.35);
    --glass-blur: blur(16px);
    --card-surface: rgba(6, 18, 32, 0.68);
    --card-border: rgba(39, 173, 163, 0.28);
    --text-primary: #e5f6f8;
    --text-muted: rgba(205, 235, 240, 0.72);
    --heading-color: #e5f6f8;
    --btn-primary-bg: linear-gradient(135deg, #115752, #1a948b);
    --btn-primary-hover: linear-gradient(135deg, #166963, #22aba1);
    --btn-primary-glow: rgba(26, 148, 139, 0.45);
    --btn-secondary-bg: rgba(6, 18, 34, 0.75);
    --btn-secondary-border: rgba(39, 173, 163, 0.35);
    --btn-secondary-text: #e5f6f8;
    --timer-num: #27ada3;
    --timer-box-bg: rgba(4, 14, 26, 0.7);
    --timer-box-border: rgba(39, 173, 163, 0.3);
    --footer-bg: #030710;
    --footer-border: rgba(39, 173, 163, 0.28);
}

[data-theme="gingerbread"] {
    --gold: #c87a2d;
    --gold-bright: #db8c3b;
    --gold-glow: rgba(200, 122, 45, 0.4);
    --red-deep: #692911;
    --red-festive: #99401b;
    --green-pine: #29422e;
    --wood-dark: #140b06;
    --bg-page: #100804;
    --glass-bg: rgba(24, 13, 7, 0.8);
    --glass-border: rgba(200, 122, 45, 0.32);
    --glass-blur: blur(16px);
    --card-surface: rgba(24, 13, 7, 0.74);
    --card-border: rgba(200, 122, 45, 0.24);
    --text-primary: #faf2ea;
    --text-muted: rgba(250, 242, 234, 0.74);
    --heading-color: #faf2ea;
    --btn-primary-bg: linear-gradient(135deg, #692911, #99401b);
    --btn-primary-hover: linear-gradient(135deg, #7d3115, #b34a20);
    --btn-primary-glow: rgba(153, 64, 27, 0.45);
    --btn-secondary-bg: rgba(24, 13, 7, 0.75);
    --btn-secondary-border: rgba(200, 122, 45, 0.32);
    --btn-secondary-text: #faf2ea;
    --timer-num: #d88c3a;
    --timer-box-bg: rgba(18, 10, 5, 0.75);
    --timer-box-border: rgba(200, 122, 45, 0.28);
    --footer-bg: #0c0603;
    --footer-border: rgba(200, 122, 45, 0.25);
}

[data-theme="candycane"] {
    --gold: #2ea885;
    --gold-bright: #39c29a;
    --gold-glow: rgba(46, 168, 133, 0.35);
    --red-deep: #780d19;
    --red-festive: #b31627;
    --green-pine: #1b533a;
    --wood-dark: #140508;
    --bg-page: #0f0406;
    --glass-bg: rgba(26, 8, 12, 0.8);
    --glass-border: rgba(200, 35, 55, 0.32);
    --glass-blur: blur(16px);
    --card-surface: rgba(26, 8, 12, 0.74);
    --card-border: rgba(200, 35, 55, 0.25);
    --text-primary: #fff2f4;
    --text-muted: rgba(255, 226, 232, 0.74);
    --heading-color: #fff2f4;
    --btn-primary-bg: linear-gradient(135deg, #870d1b, #b31627);
    --btn-primary-hover: linear-gradient(135deg, #9f1122, #cf1d32);
    --btn-primary-glow: rgba(179, 22, 39, 0.45);
    --btn-secondary-bg: rgba(26, 8, 12, 0.75);
    --btn-secondary-border: rgba(200, 35, 55, 0.32);
    --btn-secondary-text: #fff2f4;
    --timer-num: #d92539;
    --timer-box-bg: rgba(20, 6, 9, 0.75);
    --timer-box-border: rgba(200, 35, 55, 0.28);
    --footer-bg: #0b0305;
    --footer-border: rgba(200, 35, 55, 0.25);
}

[data-theme="starlight"] {
    --gold: #cfab3e;
    --gold-bright: #e2be4c;
    --gold-glow: rgba(207, 171, 62, 0.4);
    --red-deep: #16264d;
    --red-festive: #253e7a;
    --green-pine: #123838;
    --wood-dark: #050a18;
    --bg-page: #030610;
    --glass-bg: rgba(7, 14, 30, 0.8);
    --glass-border: rgba(207, 171, 62, 0.32);
    --glass-blur: blur(16px);
    --card-surface: rgba(7, 14, 30, 0.74);
    --card-border: rgba(207, 171, 62, 0.24);
    --text-primary: #f0f4fd;
    --text-muted: rgba(220, 232, 252, 0.72);
    --heading-color: #f0f4fd;
    --btn-primary-bg: linear-gradient(135deg, #182a54, #264284);
    --btn-primary-hover: linear-gradient(135deg, #1e3366, #30519f);
    --btn-primary-glow: rgba(38, 66, 132, 0.45);
    --btn-secondary-bg: rgba(7, 14, 30, 0.75);
    --btn-secondary-border: rgba(207, 171, 62, 0.32);
    --btn-secondary-text: #f0f4fd;
    --timer-num: #cfab3e;
    --timer-box-bg: rgba(5, 10, 22, 0.75);
    --timer-box-border: rgba(207, 171, 62, 0.28);
    --footer-bg: #02040c;
    --footer-border: rgba(207, 171, 62, 0.25);
}

[data-theme="plum"] {
    --gold: #c99f65;
    --gold-bright: #dbb177;
    --gold-glow: rgba(201, 159, 101, 0.4);
    --red-deep: #5e1445;
    --red-festive: #8c2168;
    --green-pine: #203d36;
    --wood-dark: #15061c;
    --bg-page: #100417;
    --glass-bg: rgba(24, 7, 30, 0.8);
    --glass-border: rgba(201, 159, 101, 0.32);
    --glass-blur: blur(16px);
    --card-surface: rgba(24, 7, 30, 0.74);
    --card-border: rgba(201, 159, 101, 0.24);
    --text-primary: #f9f0fa;
    --text-muted: rgba(245, 225, 248, 0.72);
    --heading-color: #f9f0fa;
    --btn-primary-bg: linear-gradient(135deg, #5e1445, #8c2168);
    --btn-primary-hover: linear-gradient(135deg, #711953, #a4287b);
    --btn-primary-glow: rgba(140, 33, 104, 0.45);
    --btn-secondary-bg: rgba(24, 7, 30, 0.75);
    --btn-secondary-border: rgba(201, 159, 101, 0.32);
    --btn-secondary-text: #f9f0fa;
    --timer-num: #c99f65;
    --timer-box-bg: rgba(18, 5, 23, 0.75);
    --timer-box-border: rgba(201, 159, 101, 0.28);
    --footer-bg: #0c0312;
    --footer-border: rgba(201, 159, 101, 0.25);
}

#page-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--red-festive), var(--gold-bright));
    z-index: 100010;
    transition: width 0.22s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.25s ease;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 0 10px var(--gold-glow);
}
#page-progress-bar.active {
    opacity: 1;
}

a > *,
button > * {
    pointer-events: none;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .vintage-text, .section-title,
.wallpaper-dir-title, .countdown-title,
.modal-content h2, .modal-content h3 {
    color: var(--heading-color) !important;
}

p, .subtitle, .card-desc, .wallpaper-dir-desc,
.activity-summary, .tradition-desc, .movie-card-desc,
.progress-label, .time-box .label, .settings-row p,
.policy-container p, .policy-container li {
    color: var(--text-muted) !important;
}

.number, .timer-num,
#days, #hours, #minutes, #seconds,
.countdown-value {
    color: var(--timer-num) !important;
}

.time-box, .countdown-box {
    background: var(--timer-box-bg) !important;
    border-color: var(--timer-box-border) !important;
}

.glass-btn.primary,
.btn-play-playlist,
.wallpaper-dir-btn,
.seal-btn,
#save-settings-btn,
#home-fact-next-btn,
.spotify-brand-btn {
    background: var(--btn-primary-bg) !important;
    color: #ffffff !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

.glass-btn.primary:hover,
.btn-play-playlist:hover,
.wallpaper-dir-btn:hover,
.seal-btn:hover,
#save-settings-btn:hover,
#home-fact-next-btn:hover {
    background: var(--btn-primary-hover) !important;
    box-shadow: 0 0 20px var(--btn-primary-glow) !important;
}

.glass-btn:not(.primary),
.chip-btn,
.genre-pill,
.settings-btn,
.mobile-menu-btn,
.ctrl-btn {
    background: var(--btn-secondary-bg) !important;
    border-color: var(--btn-secondary-border) !important;
    color: var(--btn-secondary-text) !important;
}

.glass-btn:not(.primary):hover,
.chip-btn:hover,
.genre-pill:hover,
.settings-btn:hover,
.ctrl-btn:hover {
    border-color: var(--gold-bright) !important;
    box-shadow: 0 0 15px var(--gold-glow) !important;
}

.eco-card,
.wallpaper-dir-card,
.song-card-row,
.activity-card,
.gift-card,
.tradition-card,
.movie-card,
.game-card,
.glass-panel,
.modal-content,
.policy-container {
    background: var(--card-surface) !important;
    border-color: var(--card-border) !important;
}

.glass-nav {
    background: var(--glass-bg) !important;
    border-color: var(--glass-border) !important;
}

footer,
footer.glass-footer,
.glass-footer {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    background: var(--footer-bg) !important;
    border-top: 1px solid var(--footer-border) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45) !important;
}

.nav-item, .nav-logo {
    color: var(--text-primary) !important;
}

[data-theme="light"] .glow-text,
[data-theme="light"] .hero-title,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3 {
    text-shadow: none !important;
}
[data-theme="light"] .glass-nav,
[data-theme="light"] .glass-panel,
[data-theme="light"] .glass-footer,
[data-theme="light"] .countdown-box,
[data-theme="light"] .activity-card,
[data-theme="light"] .gift-card,
[data-theme="light"] .tradition-card,
[data-theme="light"] .recipe-card,
[data-theme="light"] .movie-card,
[data-theme="light"] .game-card,
[data-theme="light"] .wallpaper-dir-card,
[data-theme="light"] .policy-container {
    box-shadow: 0 8px 30px rgba(15, 35, 55, 0.08) !important;
}
[data-theme="light"] .wallpaper-dir-tag {
    background: rgba(30, 75, 115, 0.08) !important;
    color: #132230 !important;
    border-color: rgba(30, 75, 115, 0.2) !important;
}
[data-theme="light"] .wallpaper-dir-btn {
    color: #ffffff !important;
}

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

body {
    font-family: var(--font-body);
    color: white;
    background-color: var(--wood-dark);
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #d4af37 rgba(18, 9, 5, 0.75);
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: rgba(18, 9, 5, 0.85);
    border-radius: 8px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af37 0%, #c1121f 50%, #d4af37 100%);
    border-radius: 999px;
    border: 2px solid rgba(22, 11, 6, 0.9);
    box-shadow: 0 0 8px rgba(255, 183, 3, 0.45);
    transition: all 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffd700 0%, #e63946 50%, #ffd700 100%);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.8), 0 0 20px rgba(230, 57, 70, 0.5);
}

body.modal-open,
html.modal-open {
    overflow: hidden !important;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    background-color: var(--wood-dark);
}

.background-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.7) contrast(1.05);
}

.background-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(15, 5, 0, 0.7) 100%);
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.countdown-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.glow-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 300;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.glass-panel {
    background: rgba(15, 8, 5, 0.65);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    padding: 2.5rem;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.time-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
}

.number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.label {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
}

.progress-container {
    width: 100%;
    margin-top: 2rem;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: #d4af37;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.progress-label {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.controls-panel {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.glass-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-bright);
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.4);
    transform: translateY(-2px);
}

.glass-btn.primary {
    background: linear-gradient(135deg, var(--red-deep), var(--red-festive));
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-btn.primary:hover {
    background: linear-gradient(135deg, var(--red-festive), #ff4d4d);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.6);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 5, 3, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem 1rem;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
}

#spotify-modal.modal.hidden {
    display: flex !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: fixed !important;
    left: -99999px !important;
    top: -99999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

#spotify-modal:not(.hidden) {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    overflow-y: auto !important;
    z-index: 10000 !important;
}

#spotify-modal .ctrl-btn,
#spotify-modal .reroll-btn,
#spotify-modal .queue-btn,
#spotify-modal .close-btn,
#spotify-modal button,
.spotify-iframe-controls button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

#spotify-modal .ctrl-btn *,
#spotify-modal .reroll-btn *,
#spotify-modal .queue-btn *,
.spotify-iframe-controls button * {
    pointer-events: none !important;
}

.modal-content {
    position: relative;
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    margin: auto;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.hidden .modal-content {
    transform: scale(0.9);
}

.close-btn,
.modal-close-btn,
.activity-modal-close,
.game-modal-close,
.game-player-close,
.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: rgba(15, 8, 5, 0.5);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.4rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: auto !important;
    touch-action: manipulation;
    transition: all 0.25s ease;
    box-sizing: border-box;
    padding: 0;
    line-height: 1;
}

.close-btn:hover,
.modal-close-btn:hover,
.activity-modal-close:hover,
.game-modal-close:hover,
.game-player-close:hover,
.mobile-menu-close:hover {
    color: var(--gold-bright);
    background: rgba(255, 183, 3, 0.25);
    border-color: var(--gold-bright);
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(255, 183, 3, 0.4);
}

.close-btn svg,
.close-btn i,
.modal-close-btn svg,
.modal-close-btn i,
.activity-modal-close svg,
.activity-modal-close i,
.game-modal-close svg,
.game-modal-close i,
.game-player-close svg,
.game-player-close i,
.mobile-menu-close svg,
.mobile-menu-close i,
.mobile-menu-btn svg,
.mobile-menu-btn i {
    pointer-events: none;
    width: 20px;
    height: 20px;
}

.gift-panel h2 {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    margin-bottom: 1.5rem;
}

.gift-content {
    font-size: 1.1rem;
    line-height: 1.6;
}

#letter-modal {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
}

#letter-modal .modal-content,
#letter-modal .parchment-panel {
    margin: auto !important;
}

.parchment-panel {
    background: #e5b95c;
    background-image: linear-gradient(140deg, #f4d06f 0%, #e5b95c 35%, #d8a63a 70%, #be8b24 100%);
    border-radius: 18px;
    border: 3px solid #996c17;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(218, 165, 32, 0.35), inset 0 0 40px rgba(160, 110, 20, 0.28);
    color: #2b1805;
    padding: 2.75rem 2.25rem;
    box-sizing: border-box;
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .parchment-panel {
        padding: 1.85rem 1.4rem;
        border-radius: 14px;
    }
}

.vintage-text {
    font-family: 'Playfair Display', Georgia, serif;
    color: #2b1704;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

#wishlist-text {
    width: 100%;
    min-height: 200px;
    padding: 1.2rem 1.4rem;
    box-sizing: border-box;
    border: 2px dashed #996c17;
    border-radius: 12px;
    background: rgba(255, 246, 215, 0.95);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #2e1704;
    outline: none;
    resize: vertical;
    box-shadow: inset 0 2px 8px rgba(120, 80, 10, 0.15);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

#wishlist-text:focus {
    border-color: #7a4f08;
    background: #fffbf0;
    box-shadow: inset 0 2px 10px rgba(120, 80, 10, 0.2), 0 0 12px rgba(218, 165, 32, 0.4);
}

.parchment-panel .close-btn {
    color: #2b1704;
}

.seal-btn {
    background: linear-gradient(135deg, #c1121f 0%, #780000 100%);
    color: #fff;
    border: 2px solid #550000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(120, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 0.85rem 2.2rem;
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    margin-top: 1.2rem;
    transition: all 0.25s ease;
}

.seal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 0, 0, 0.6);
    background: linear-gradient(135deg, #d62230 0%, #8b0000 100%);
}

.spotify-panel {
    padding: 2.5rem;
    padding-top: 3.5rem;
    background: rgba(18, 9, 5, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 183, 3, 0.12);
    text-align: center;
}

.spotify-inner h2 {
    font-family: var(--font-heading);
    color: #1DB954;
    margin-bottom: 1.5rem;
}

.spotify-brand-btn {
    background: #1DB954 !important;
    margin: 0 auto;
}

.spotify-brand-btn:hover {
    background: #1ed760 !important;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.6) !important;
}

#spotify-player-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#spotify-album-art {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
}

#spotify-track-name {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: white;
}

#spotify-artist-name {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.spotify-controls {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.ctrl-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ctrl-btn:hover {
    transform: scale(1.1);
    color: #1DB954;
}

.ctrl-btn.play-btn {
    background: #1DB954;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ctrl-btn.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.8);
    color: white;
}

.ctrl-btn.play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 0;
    fill: currentColor;
    stroke: none;
}

.spotify-controls-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    margin-top: 0.5rem;
}

.spotify-controls {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    justify-content: center;
}

.spotify-reroll-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ctrl-btn.reroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright, #ffd166);
    cursor: pointer;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.ctrl-btn.reroll-btn:hover {
    transform: scale(1.15) rotate(15deg);
    color: #fff;
    background: rgba(255, 183, 3, 0.28);
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.45);
}

.ctrl-btn.reroll-btn svg {
    width: 22px;
    height: 22px;
}

.spin-anim,
.ctrl-btn.reroll-btn.spin-anim,
.reroll-btn.spin-anim,
.glass-btn.reroll-btn.spin-anim {
    animation: rerollSpin 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes rerollSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.25);
        color: #fff;
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.skip-pulse,
.ctrl-btn.skip-pulse,
.glass-btn.skip-pulse {
    animation: skipPulse 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes skipPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.22); color: var(--gold-bright, #ffd166); }
    100% { transform: scale(1); }
}

.spotify-brand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#open-spotify.playing {
    border-color: #1DB954;
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.4);
}

#open-spotify.playing .icon {
    color: #1DB954;
    animation: pulseMusic 2s infinite ease-in-out;
}

@keyframes pulseMusic {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.small-link {
    display: inline-block;
    color: var(--gold);
    text-decoration: underline !important;
    text-underline-offset: 3px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.small-link:hover {
    color: var(--gold-bright);
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.4);
}

.vintage-text {
    font-family: var(--font-heading);
    color: #8b0000;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(139, 0, 0, 0.2);
    padding-bottom: 0.5rem;
}

textarea {
    width: 100%;
    height: 200px;
    background: transparent;
    border: none;
    resize: none;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #2b1810;
    line-height: 1.8;
    background-image: repeating-linear-gradient(transparent, transparent 31px, rgba(139, 0, 0, 0.1) 31px, rgba(139, 0, 0, 0.1) 32px);
}

textarea:focus {
    outline: none;
}

.seal-btn {
    margin-top: 1rem;
    background: #b71c1c;
    color: #f4e4bc;
    border: none;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.seal-btn:hover {
    background: #8b0000;
    transform: translateY(-2px);
}

@keyframes gentle-pulse {
    0% {
        text-shadow: 0 0 15px var(--gold-glow);
    }

    100% {
        text-shadow: 0 0 30px var(--gold-bright), 0 0 50px var(--gold-glow);
    }
}

@media (max-width: 1100px) {
    .number {
        font-size: 4rem;
    }

    .countdown-grid {
        gap: 1rem;
    }

    .glass-panel {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .glow-text {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .time-box {
        padding: 1rem 0.5rem;
    }

    .number {
        font-size: 3rem;
    }

    .label {
        font-size: 0.8rem;
    }

    .glass-panel {
        padding: 1.5rem;
    }

    .controls-panel {
        flex-direction: column;
        gap: 1rem;
    }

    .controls-panel .glass-btn,
    .hero-actions .glass-btn {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .close-btn {
        top: 10px;
        right: 15px;
    }

    .fixed-fullscreen-btn {
        display: none !important;
    }
}

.enter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 20, 15, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.enter-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.enter-content {
    animation: fadeIn 2s ease-in-out;
}

.autoplay-arrow {
    position: fixed;
    top: 50px;
    left: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounceTopLeft 2s infinite;
    pointer-events: none;
    z-index: 10000;
}

@keyframes bounceTopLeft {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-15px, -15px);
    }
}

.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 8, 5, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 183, 3, 0.15);
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-bright);
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 105;
}

.nav-tree-icon {
    width: 24px;
    height: 24px;
    color: var(--gold-bright, #ffb703);
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 6px rgba(255, 183, 3, 0.4));
    vertical-align: middle;
}

.nav-logo:hover .nav-tree-icon {
    transform: scale(1.12) rotate(-5deg);
    filter: drop-shadow(0 0 10px rgba(255, 183, 3, 0.7));
}

.roulette-wheel-svg {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.movies-action-btn:hover .roulette-wheel-svg,
.btn-spin-roulette-main:hover .roulette-wheel-svg {
    transform: rotate(180deg) scale(1.15);
}

.nav-links {
    display: flex;
    gap: 2rem;
    position: relative;
}

@media (min-width: 769px) {
    .nav-links {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        pointer-events: auto;
    }
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 6px 4px;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-sliding-indicator {
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 3px;
    background: var(--gold-bright);
    border-radius: 999px;
    box-shadow: 0 0 10px var(--gold-glow), 0 0 18px var(--gold-glow);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
}

body:not(.no-animations) .nav-links a.active {
    color: var(--gold-bright);
    border-bottom: none !important;
    text-shadow: 0 0 12px var(--gold-glow);
}

body.no-animations .nav-sliding-indicator {
    display: none !important;
}

body.no-animations .nav-links a.active {
    color: var(--gold-bright);
    border-bottom: 2px solid var(--gold-bright);
}

body.no-animations,
body.no-animations *,
body.no-animations *::before,
body.no-animations *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}

body:not(.no-animations) main,
body:not(.no-animations) .hero-container,
body:not(.no-animations) .movies-catalog-wrap,
body:not(.no-animations) .recipes-catalog-wrap,
body:not(.no-animations) .activities-grid-wrap,
body:not(.no-animations) .gifts-grid-wrap,
body:not(.no-animations) .traditions-container,
body:not(.no-animations) .facts-container,
body:not(.no-animations) .wallpapers-directory-container {
    animation: festiveContentIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes festiveContentIn {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.996);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

body:not(.no-animations) .time-box {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

body:not(.no-animations) .time-box:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px var(--gold-glow);
}

body:not(.no-animations) .recipe-card,
body:not(.no-animations) .activity-card,
body:not(.no-animations) .gift-card,
body:not(.no-animations) .tradition-card,
body:not(.no-animations) .movie-card,
body:not(.no-animations) .game-card,
body:not(.no-animations) .wallpaper-dir-card {
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

body:not(.no-animations) .recipe-card:hover,
body:not(.no-animations) .activity-card:hover,
body:not(.no-animations) .gift-card:hover,
body:not(.no-animations) .tradition-card:hover,
body:not(.no-animations) .movie-card:hover,
body:not(.no-animations) .game-card:hover,
body:not(.no-animations) .wallpaper-dir-card:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 25px var(--gold-glow) !important;
    border-color: var(--gold) !important;
}

body:not(.no-animations) .glass-btn,
body:not(.no-animations) .wallpaper-dir-btn,
body:not(.no-animations) .btn-play-playlist,
body:not(.no-animations) .seal-btn {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease;
}

body:not(.no-animations) .glass-btn:hover,
body:not(.no-animations) .wallpaper-dir-btn:hover,
body:not(.no-animations) .btn-play-playlist:hover,
body:not(.no-animations) .seal-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

body:not(.no-animations) .glass-btn:active,
body:not(.no-animations) .wallpaper-dir-btn:active,
body:not(.no-animations) .btn-play-playlist:active,
body:not(.no-animations) .seal-btn:active {
    transform: translateY(1px) scale(0.98);
}

body:not(.no-animations) .modal:not(.hidden) .modal-content {
    animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modalPopIn {
    0% {
        opacity: 0;
        transform: scale(0.93) translateY(18px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    z-index: 1001;
}

.settings-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(15, 8, 5, 0.45);
    border: 1px solid rgba(255, 183, 3, 0.25);
    color: var(--gold-bright, #ffb703);
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1;
    z-index: 1002;
    touch-action: manipulation;
    pointer-events: auto !important;
}

.settings-btn:hover {
    background: rgba(255, 183, 3, 0.2);
    border-color: var(--gold-bright, #ffb703);
    transform: scale(1.06);
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.35);
}

.settings-btn svg,
.settings-btn i,
.settings-btn * {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0;
    pointer-events: none !important;
}

button svg,
button i,
button span,
.glass-btn svg,
.glass-btn i {
    pointer-events: none;
}

.mobile-menu-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(15, 8, 5, 0.45);
    border: 1px solid rgba(255, 183, 3, 0.25);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    flex-shrink: 0;
    z-index: 1002;
    touch-action: manipulation;
    line-height: 1;
}

.mobile-menu-btn:hover {
    background: rgba(255, 183, 3, 0.2);
    border-color: var(--gold-bright, #ffb703);
    color: var(--gold-bright, #ffb703);
    transform: scale(1.06);
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.35);
}

.mobile-menu-btn svg,
.mobile-menu-btn i {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0;
    pointer-events: none;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
}

.mobile-menu-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-menu-overlay.hidden .mobile-menu-container {
    transform: translateY(-20px);
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: white;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--gold);
}

.mobile-nav-links a.active {
    color: var(--gold-bright);
}

.home-wrapper {
    width: 100%;
}

.hero-section {
    min-height: 100vh;
    scroll-snap-align: start;
    padding-top: 80px;
    
    padding-bottom: 80px;
    
}

.page-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    padding-top: 80px !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.page-wrapper .glass-btn {
    display: flex !important;
    margin-top: 2rem !important;
}

.content-ecosystem {
    background: rgba(10, 5, 2, 0.85);
    backdrop-filter: blur(20px);
    padding: 6rem 2rem;
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
}

.content-ecosystem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

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

.eco-header {
    text-align: center;
    margin-bottom: 4rem;
}

.eco-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold-bright);
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.eco-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.eco-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eco-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.eco-card i {
    color: var(--gold);
    width: 32px;
    height: 32px;
    margin-bottom: 1.5rem;
}

.eco-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.eco-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
}

.small-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

footer,
footer.glass-footer,
.glass-footer {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    background: var(--footer-bg) !important;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--footer-border) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45) !important;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--gold) !important;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-col p {
    color: var(--text-muted) !important;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col a {
    display: block;
    color: var(--text-muted) !important;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--gold-bright) !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border) !important;
    text-align: center;
    color: var(--text-muted) !important;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-wrapper {
        scroll-snap-type: none;
    }

    .hero-section,
    .content-ecosystem {
        scroll-snap-align: none;
    }

    .content-ecosystem {
        padding: 4rem 1rem;
    }

    .eco-header h2 {
        font-size: 2.2rem;
    }
}

.advent-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.advent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.advent-door {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border-radius: 14px;
    transition: box-shadow 0.25s ease, filter 0.25s ease;
}

.door-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
}

.door-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.door-front {
    background: linear-gradient(145deg, #c41e3a 0%, #99152b 50%, #6e0d1d 100%);
    border: 2px solid rgba(255, 215, 0, 0.85);
    color: var(--gold);
    font-family: var(--font-heading);
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.25), inset 0 -4px 8px rgba(0, 0, 0, 0.4), 0 8px 22px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: all 0.3s ease;
}

.advent-door:nth-child(even) .door-front {
    background: linear-gradient(145deg, #1b5e3a 0%, #13452a 50%, #0b2c1b 100%);
}

.door-front::after {
    content: '';
    position: absolute;
    width: 22%;
    height: 100%;
    background: linear-gradient(90deg, #b8860b 0%, #ffd700 35%, #fff6c0 50%, #ffd700 65%, #b8860b 100%);
    opacity: 0.95;
    z-index: 1;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
}

.door-front::before {
    content: '';
    position: absolute;
    height: 22%;
    width: 100%;
    background: linear-gradient(180deg, #b8860b 0%, #ffd700 35%, #fff6c0 50%, #ffd700 65%, #b8860b 100%);
    opacity: 0.95;
    z-index: 1;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
}

.door-front .door-number {
    position: relative;
    z-index: 3;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #2d0a0f 45%, #150204 100%);
    border-radius: 50%;
    border: 3px solid #ffd700;
    color: #ffd700;
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7), 0 0 12px rgba(255, 215, 0, 0.5);
    transition: transform 0.25s ease;
}

.advent-door:nth-child(even) .door-front .door-number {
    background: radial-gradient(circle, #0c2b18 45%, #05140b 100%);
}

.advent-door:hover .door-number {
    transform: scale(1.08);
}

.advent-door[data-day="25"] {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    min-height: 220px;
}

.advent-door[data-day="25"] .door-front {
    background: linear-gradient(145deg, #162447 0%, #1f4068 50%, #0f182b 100%);
    border: 3px solid #ffd700;
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.35), 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 215, 0, 0.4);
}

.advent-door[data-day="25"] .door-number {
    width: 76px;
    height: 76px;
    font-size: 2.6rem;
    background: radial-gradient(circle, #101c38 45%, #080e1c 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6);
}

.advent-door.locked .door-front {
    cursor: pointer;
}

.door-lock-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffd700;
    width: 20px;
    height: 20px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.65);
    padding: 6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.75);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
    transition: transform 0.2s ease, background 0.2s ease;
}

.advent-door.locked:hover .door-lock-icon {
    transform: scale(1.15);
    background: rgba(0, 0, 0, 0.8);
}

@keyframes presentWiggle {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-5deg) scale(1.02); }
    40% { transform: rotate(5deg) scale(1.02); }
    60% { transform: rotate(-3deg); }
    80% { transform: rotate(3deg); }
}

.advent-door.wiggle {
    animation: presentWiggle 0.45s ease-in-out;
}

.advent-door:not(.locked):hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), 0 0 18px rgba(255, 215, 0, 0.45);
}

.door-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    text-align: center;
    border-radius: 14px;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    background: transparent;
}

.advent-door.open .door-front::before,
.advent-door.open .door-front::after {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.advent-door.open .door-front .door-number,
.advent-door.open .door-front .door-lock-icon {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.advent-door.open .door-back {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.door-back i {
    width: 48px;
    height: 48px;
    color: #ffd700;
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    transition: transform 0.2s ease;
}

.advent-door.open:hover .door-back i {
    transform: scale(1.1);
}

.door-back span {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: #ffffff;
    text-align: center;
    padding: 0 8px;
    line-height: 1.3;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

#game-canvas-container {
    position: relative;
    width: 100%;
    height: 350px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 1rem;
}

#game-canvas-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.game-score-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: var(--gold);
    font-weight: bold;
    z-index: 10;
}

.emoji-btn {
    font-size: 2rem;
    margin: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gold);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.emoji-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.queue-panel {
    background: rgba(18, 9, 5, 0.85);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid rgba(255, 183, 3, 0.35);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(243, 156, 18, 0.15);
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.2s ease;
}

.queue-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 183, 3, 0.3);
    transform: translateX(3px);
}

.queue-item.current {
    border: 1.5px solid var(--gold);
    background: linear-gradient(90deg, rgba(243, 156, 18, 0.18) 0%, rgba(20, 10, 5, 0.6) 100%);
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.2);
}

.queue-order-idx {
    font-weight: 700;
    color: var(--gold);
    min-width: 22px;
    font-size: 0.95rem;
    text-align: center;
}

.queue-art {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.queue-info {
    flex: 1;
    min-width: 0;
}

.queue-info h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.queue-info p {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.queue-tag {
    font-size: 0.65rem;
    background: var(--gold);
    color: #1a0c02;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.6px;
    display: inline-block;
    margin-bottom: 3px;
}

.queue-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.queue-action-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.queue-action-btn.play:hover {
    background: var(--gold);
    color: #1a0c02;
    border-color: var(--gold);
    transform: scale(1.12);
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.queue-action-btn.remove:hover {
    background: rgba(255, 107, 107, 0.25);
    color: #ff6b6b;
    border-color: #ff6b6b;
    transform: scale(1.12);
}

.queue-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px dashed rgba(255, 183, 3, 0.25);
}

.queue-mini-badge {
    background: #e74c3c;
    color: #fff;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 4px;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.5);
}

.youtube-viewer-panel {
    background: rgba(16, 7, 5, 0.9);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid rgba(255, 0, 0, 0.4);
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 0, 0, 0.25);
}

.yt-modal-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin: 0 0 12px;
}

.yt-db-link-badge {
    font-size: 0.8rem;
    color: var(--gold-bright);
    background: rgba(243, 156, 18, 0.1);
    border: 1px dashed rgba(243, 156, 18, 0.4);
    padding: 8px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-all;
}

.yt-db-link-badge a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.yt-featured-heading {
    margin-bottom: 8px;
}

.yt-featured-heading h5 {
    color: var(--gold-bright);
    font-size: 0.95rem;
    font-family: var(--font-heading);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.yt-featured-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
}

.yt-featured-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 183, 3, 0.3);
}

.yt-featured-item .yt-mini-art {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.yt-featured-item .yt-song-title {
    font-size: 0.88rem;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yt-featured-item .yt-song-artist {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ext-link-btn.youtube,
.btn-icon-link.youtube {
    background: rgba(255, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 0, 0, 0.4) !important;
    color: #fff !important;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
}

.ext-link-btn.youtube:hover,
.btn-icon-link.youtube:hover {
    background: rgba(255, 0, 0, 0.35) !important;
    border-color: #ff2222 !important;
    color: #fff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.6) !important;
}

.yt-svg-badge {
    transition: transform 0.2s ease;
    vertical-align: middle;
    flex-shrink: 0;
}

.ext-link-btn.youtube:hover .yt-svg-badge,
.btn-icon-link.youtube:hover .yt-svg-badge {
    transform: scale(1.18);
}

.playlist-card.favorites-playlist-card {
    border: 1.5px solid rgba(255, 75, 75, 0.5) !important;
    background: linear-gradient(135deg, rgba(45, 14, 14, 0.82) 0%, rgba(24, 11, 9, 0.78) 100%) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 75, 75, 0.25) !important;
    position: relative;
}

.playlist-card.favorites-playlist-card:hover {
    border-color: #ff6b6b !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 75, 75, 0.45) !important;
    transform: translateY(-6px);
}

.playlist-tag-chip.favorites {
    background: rgba(255, 75, 75, 0.25) !important;
    border: 1px solid #ff4b4b !important;
    color: #ff8585 !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.movies-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 24px 90px;
    position: relative;
    z-index: 1;
}

.movies-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.movies-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid var(--glass-border);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--gold-bright);
    margin-bottom: 1.2rem;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.movies-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gold);
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 30px var(--gold-glow);
}

.movies-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 780px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.movies-actions-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 2rem;
}

.movies-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.movies-action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--gold-bright);
    box-shadow: 0 10px 25px rgba(255, 183, 3, 0.3);
}

.movies-action-btn.primary {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.85) 0%, rgba(183, 28, 28, 0.9) 100%);
    border-color: rgba(255, 183, 3, 0.5);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.45);
}

.movies-action-btn.primary:hover {
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.65), 0 0 20px var(--gold-glow);
}

.movies-action-btn.active {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.3) 0%, rgba(243, 156, 18, 0.4) 100%);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.watchlist-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--gold-bright);
    color: var(--wood-dark);
    font-size: 0.75rem;
    font-weight: 700;
}

.marathon-section {
    background: rgba(28, 16, 11, 0.7);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    animation: fadeInSlide 0.4s ease;
}

.marathon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 183, 3, 0.15);
    padding-bottom: 1rem;
}

.marathon-title-wrap h3 {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marathon-title-wrap p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-top: 4px;
}

.marathon-progress-wrap {
    min-width: min(260px, 100%);
    max-width: 100%;
}

.marathon-progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 6px;
}

.marathon-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e63946, #ffb703);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 5px;
}

.marathon-progress-text {
    font-size: 0.85rem;
    color: var(--gold-bright);
    text-align: right;
    display: block;
}

.marathon-track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 8px;
}

.marathon-track-grid::-webkit-scrollbar {
    width: 6px;
}
.marathon-track-grid::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

.marathon-card {
    background: rgba(15, 7, 5, 0.6);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 12px;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.marathon-card:hover {
    border-color: var(--gold-bright);
    transform: translateY(-3px);
    background: rgba(25, 12, 8, 0.8);
}

.marathon-card.watched {
    border-color: #2ec4b6;
    background: rgba(10, 30, 25, 0.7);
}

.marathon-day-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    background: rgba(230, 57, 70, 0.9);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.marathon-card.watched .marathon-day-badge {
    background: #2ec4b6;
}

.marathon-card-art {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.marathon-card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.marathon-card:hover .marathon-card-art img {
    transform: scale(1.05);
}

.marathon-check-overlay {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.marathon-card.watched .marathon-check-overlay {
    background: #2ec4b6;
    color: #000;
}

.marathon-card-info h4 {
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.marathon-card-info p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 2px 0 0;
}

.marathon-toggle-btn {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.marathon-toggle-btn:hover {
    background: var(--gold-bright);
    color: var(--wood-dark);
    border-color: var(--gold-bright);
}

.marathon-card.watched .marathon-toggle-btn {
    background: rgba(46, 196, 182, 0.2);
    border-color: #2ec4b6;
    color: #2ec4b6;
}

.movies-filter-section {
    background: rgba(28, 16, 11, 0.55);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.movies-search-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.movies-search-wrap {
    position: relative;
    flex: 1;
    min-width: min(280px, 100%);
    max-width: 100%;
}

.movies-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
    width: 20px;
    height: 20px;
}

.movies-search-input {
    width: 100%;
    background: rgba(12, 6, 4, 0.65);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 12px 45px 12px 48px;
    font-size: 1rem;
    color: #fff;
    font-family: var(--font-body);
    transition: all 0.25s ease;
}

.movies-search-input:focus {
    outline: none;
    border-color: var(--gold-bright);
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.35);
    background: rgba(18, 9, 6, 0.85);
}

.movies-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.movies-search-clear:hover {
    color: #fff;
}

.movies-cat-pills {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 1.25rem;
    scrollbar-width: thin;
}

.movies-cat-pills::-webkit-scrollbar {
    height: 4px;
}
.movies-cat-pills::-webkit-scrollbar-thumb {
    background: rgba(255, 183, 3, 0.3);
    border-radius: 2px;
}

.cat-pill {
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.2);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cat-pill:hover {
    background: rgba(255, 183, 3, 0.18);
    border-color: var(--gold-bright);
    color: #fff;
    transform: translateY(-2px);
}

.cat-pill.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    border-color: var(--gold-bright);
    color: var(--wood-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
}

.movies-dropdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    border-top: 1px solid rgba(255, 183, 3, 0.15);
    padding-top: 1rem;
}

.movies-dropdown-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.filter-select {
    background: rgba(15, 7, 5, 0.7);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:focus,
.filter-select:hover {
    outline: none;
    border-color: var(--gold-bright);
    background: rgba(22, 10, 7, 0.9);
}

.filter-select option {
    background: var(--wood-dark);
    color: #fff;
}

.results-count-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.results-count-text strong {
    color: var(--gold-bright);
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 28px;
    margin-bottom: 3.5rem;
}

.movie-card {
    background: rgba(28, 16, 11, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-bright);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 183, 3, 0.25);
}

.movie-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #000;
}

.movie-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .movie-poster-wrap img {
    transform: scale(1.06);
}

.movie-poster-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 40%, rgba(20, 10, 6, 0.9) 100%);
    pointer-events: none;
}

.movie-badge-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    gap: 6px;
    align-items: center;
}

.imdb-score {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid var(--gold-bright);
    color: var(--gold-bright);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

.movie-year {
    background: rgba(0, 0, 0, 0.65);
    color: #eee;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.movie-badge-top-right {
    position: absolute;
    top: 10px;
    right: 48px;
    z-index: 2;
    display: flex;
    gap: 6px;
    align-items: center;
}

.rating-chip {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
}

.cheer-chip {
    background: rgba(183, 28, 28, 0.85);
    border: 1px solid #ff4b4b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.movie-bookmark-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 183, 3, 0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.movie-bookmark-btn:hover {
    transform: scale(1.15);
    background: var(--gold-bright);
    color: var(--wood-dark);
    border-color: var(--gold-bright);
}

.movie-bookmark-btn.active {
    background: var(--gold-bright);
    color: var(--wood-dark);
    border-color: var(--gold-bright);
    box-shadow: 0 0 12px var(--gold-glow);
}

.movie-content {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.movie-category-tag {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 4px;
}

.movie-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 6px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta-line {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.movie-cast-line {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-cast-line strong {
    color: rgba(255, 255, 255, 0.9);
}

.movie-quote-bubble {
    font-style: italic;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 183, 3, 0.07);
    border-left: 2px solid var(--gold);
    padding: 6px 10px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 12px;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-streaming-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    margin-top: auto;
}

.stream-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 6px;
}

.stream-pill.large {
    font-size: 0.82rem;
    padding: 4px 12px;
    background: rgba(255, 183, 3, 0.1);
    border-color: rgba(255, 183, 3, 0.25);
    color: #fff;
}

.movie-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.btn-movie-details {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn-movie-details:hover {
    background: rgba(255, 183, 3, 0.2);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.btn-movie-trailer {
    flex: 1;
    background: rgba(255, 0, 0, 0.18);
    border: 1px solid rgba(255, 0, 0, 0.45);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-movie-trailer:hover {
    background: rgba(255, 0, 0, 0.38);
    border-color: #ff3333;
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    color: #fff;
}

.movies-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(28, 16, 11, 0.5);
    border: 1px dashed var(--glass-border);
    border-radius: 20px;
}

.movies-empty-state h3 {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.movie-detail-panel {
    max-width: 860px;
    width: 92%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 32px;
}

.movie-modal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
}

@media (max-width: 768px) {
    .movie-modal-grid {
        grid-template-columns: 1fr;
    }
}

.movie-modal-poster-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    aspect-ratio: 2/3;
    background: #000;
}

.movie-modal-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-modal-cheer-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(183, 28, 28, 0.95) 100%);
    color: #fff;
    padding: 16px 12px 8px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.modal-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.badge-cat {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: var(--wood-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}

.badge-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-movie-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--gold-bright);
    line-height: 1.15;
    margin-bottom: 6px;
}

.modal-director {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.modal-quote-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 1.25rem;
}

.modal-quote-box p {
    font-style: italic;
    color: #fff;
    line-height: 1.45;
    font-size: 0.95rem;
}

.modal-section {
    margin-bottom: 1.25rem;
}

.modal-section h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 6px;
}

.modal-synopsis {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal-cast-tags,
.modal-stream-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cast-chip {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.modal-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 183, 3, 0.2);
}

.roulette-panel {
    max-width: 680px;
    width: 90%;
    text-align: center;
    padding: 36px 30px;
}

.roulette-header {
    margin-bottom: 1.5rem;
}

.roulette-header h2 {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 2rem;
    margin-bottom: 6px;
}

.roulette-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.roulette-filters-bar {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.roulette-select-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.roulette-select-item label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
}

.btn-spin-roulette-main {
    background: linear-gradient(135deg, #e63946 0%, #ffb703 100%);
    border: none;
    color: var(--wood-dark);
    font-size: 1.15rem;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 35px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.8rem;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.5), 0 0 25px var(--gold-glow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-spin-roulette-main:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.7), 0 0 35px var(--gold-glow);
}

.btn-spin-roulette-main:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.roulette-result-container {
    background: rgba(12, 6, 4, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roulette-idle-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.roulette-cycling-card {
    animation: pulseGlow 0.1s infinite alternate;
}

.cycling-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--gold-bright);
    margin-bottom: 4px;
}

.cycling-cat {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.roulette-winner-card {
    text-align: left;
    width: 100%;
}

.roulette-winner-sparkle {
    background: linear-gradient(90deg, #ffb703, #e63946);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 12px;
}

.winner-main-row {
    display: flex;
    gap: 18px;
    margin-bottom: 16px;
}

.winner-poster {
    width: 110px;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.winner-details {
    flex: 1;
}

.winner-cat {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
}

.winner-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #fff;
    margin: 2px 0 6px;
    line-height: 1.2;
}

.winner-score-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.score-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.winner-synopsis {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.winner-quote {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--gold-bright);
    margin-bottom: 8px;
}

.winner-stream-line {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.winner-actions-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 183, 3, 0.15);
    padding-top: 12px;
}

.movie-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(28, 16, 11, 0.95);
    border: 1px solid var(--gold-bright);
    backdrop-filter: var(--glass-blur);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow);
    z-index: 10000;
    max-width: 380px;
    animation: toastSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.movie-toast.hidden {
    display: none !important;
}

.movie-toast-content {
    flex: 1;
}

.movie-toast-title {
    font-weight: 700;
    color: var(--gold-bright);
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.movie-toast-msg {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    line-height: 1.3;
}

.movie-toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.movie-toast-close:hover {
    color: #fff;
}

@keyframes toastSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    from { opacity: 0.7; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1.02); }
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.spin-icon {
    animation: spinRotate 1s linear infinite;
}

@keyframes spinRotate {
    100% { transform: rotate(360deg); }
}

.playlists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.playlist-card {
    background: rgba(28, 16, 11, 0.55);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.playlist-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-bright);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(243, 156, 18, 0.25);
}

.playlist-card.active-playlist {
    border-color: var(--gold-bright);
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.45), 0 10px 30px rgba(0, 0, 0, 0.6);
    background: linear-gradient(145deg, rgba(45, 24, 12, 0.8) 0%, rgba(28, 16, 11, 0.7) 100%);
}

.playlist-card.active-playlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffb703, #e63946, #ffb703);
    z-index: 3;
}

.active-playlist-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffb703 0%, #f39c12 100%);
    color: #1a0c02;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 2;
}

.playlist-card-top {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 1;
    width: 100%;
}

.playlist-card-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.playlist-card:hover .playlist-card-top img {
    transform: scale(1.05);
}

.playlist-tag-chip {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 8, 5, 0.85);
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.playlist-card h3 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.playlist-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    flex: 1;
}

.playlist-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}

.btn-play-playlist {
    background: linear-gradient(135deg, var(--gold) 0%, #e67e22 100%);
    color: #1a0c02;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    border-radius: 22px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.35);
    text-decoration: none;
    text-align: center;
    width: 100%;
}

.btn-play-playlist:hover {
    background: linear-gradient(135deg, #ffb703 0%, #f39c12 100%);
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(255, 183, 3, 0.5);
}

.playlist-card.active-playlist .btn-play-playlist {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(46, 204, 113, 0.4);
}

.playlist-card.active-playlist .btn-play-playlist:hover {
    background: linear-gradient(135deg, #34e77c 0%, #2ecc71 100%);
    box-shadow: 0 6px 18px rgba(46, 204, 113, 0.6);
}

.playlist-ext-links {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.ext-link-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
    min-width: 0;
}

.ext-link-btn.spotify:hover {
    background: rgba(29, 185, 84, 0.2);
    border-color: #1db954;
    color: #1ed760;
}

.ext-link-btn.youtube:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #ff4d4d;
}

.chart-controls-panel {
    background: rgba(20, 10, 6, 0.65);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 14px 45px 14px 46px;
    border-radius: 25px;
    border: 1px solid var(--gold);
    background: rgba(12, 6, 4, 0.8);
    color: #fff;
    font-size: 1.05rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
    max-width: 100%;
}

.search-box input:focus {
    border-color: var(--gold-bright);
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
}

.clear-search-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.clear-search-btn.hidden {
    display: none;
}

.filter-controls-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.category-select-wrapper,
.jump-rank-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    flex-wrap: wrap;
}

.category-select-wrapper select,
.jump-rank-wrapper input {
    padding: 8px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 183, 3, 0.35);
    background: rgba(15, 8, 5, 0.85);
    color: #fff;
    outline: none;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.jump-rank-wrapper input {
    width: 90px;
    max-width: 100%;
    height: 38px;
    line-height: 38px;
}

#jump-rank-btn {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    margin: 0;
    align-self: center;
}

.quick-jump-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.chip-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 5px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.chip-btn:hover {
    background: rgba(243, 156, 18, 0.2);
    border-color: var(--gold);
    color: var(--gold-bright);
}

.genre-pills-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.genre-pill {
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.genre-pill:hover,
.genre-pill.active {
    background: var(--gold);
    color: #120703;
    font-weight: 700;
    border-color: var(--gold-bright);
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.4);
}

.results-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0 4px;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.songs-table-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.song-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(22, 12, 8, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 0.75rem 1.25rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.song-card-row:hover {
    background: rgba(35, 18, 12, 0.85);
    border-color: rgba(243, 156, 18, 0.5);
    transform: translateX(4px);
}

.song-card-row.top-3 {
    border-color: rgba(255, 183, 3, 0.45);
    background: linear-gradient(90deg, rgba(45, 24, 12, 0.75) 0%, rgba(22, 12, 8, 0.65) 100%);
}

.song-left-col {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex: 1;
    min-width: 0;
}

.rank-badge {
    min-width: 44px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.rank-badge.gold {
    background: linear-gradient(135deg, #ffd700, #ffae00);
    color: #2b1402;
    border: none;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.5);
}

.rank-badge.silver {
    background: linear-gradient(135deg, #e0e0e0, #b0b0b0);
    color: #1a1a1a;
    border: none;
    box-shadow: 0 0 10px rgba(224, 224, 224, 0.4);
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #a05a18);
    color: #ffffff;
    border: none;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.4);
}

.rank-badge.top-10 {
    border-color: var(--gold);
    color: var(--gold-bright);
}

.song-artwork {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.song-titles {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.song-titles h4 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-titles p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.song-cat-tag {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 7px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--gold-bright);
    white-space: nowrap;
}

.song-actions-col {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-play-song {
    background: var(--gold);
    color: #1a0c02;
    border: none;
    border-radius: 20px;
    padding: 7px 14px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-play-song:hover {
    background: var(--gold-bright);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(243, 156, 18, 0.6);
}

.btn-queue-song {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.4);
    color: var(--gold-bright);
    border-radius: 20px;
    padding: 7px 14px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-queue-song:hover {
    background: rgba(243, 156, 18, 0.2);
    border-color: var(--gold-bright);
    transform: scale(1.05);
}

.btn-icon-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-icon-link.spotify:hover {
    background: rgba(29, 185, 84, 0.2);
    border-color: #1db954;
    color: #1ed760;
    transform: scale(1.1);
}

.btn-icon-link.youtube:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #ff4d4d;
    transform: scale(1.1);
}

.fav-icon-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fav-icon-btn:hover,
.fav-icon-btn.active {
    color: #ff4b4b;
    transform: scale(1.15);
}

.fav-icon-btn.active svg {
    fill: #ff4b4b;
}

.music-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(25, 12, 7, 0.95);
    border: 1.5px solid var(--gold);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(243, 156, 18, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    max-width: 420px;
    width: calc(100% - 40px);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    opacity: 1;
}

.music-toast.hidden {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.toast-icon {
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.toast-body {
    flex: 1;
    min-width: 0;
}

.toast-title {
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 0.95rem;
}

.toast-message {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin-top: 2px;
}

.toast-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .song-card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .song-actions-col {
        width: 100%;
        justify-content: flex-end;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 0.6rem;
    }

    .song-left-col {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .chart-controls-panel {
        padding: 1rem;
    }

    .filter-controls-row {
        gap: 0.8rem;
    }

    .category-select-wrapper,
    .jump-rank-wrapper {
        width: 100%;
        justify-content: space-between;
    }

    .category-select-wrapper select,
    .jump-rank-wrapper input {
        flex: 1;
        max-width: calc(100% - 130px);
    }
}

@media (max-width: 600px) {
    .btn-queue-song span,
    .btn-play-song span {
        display: none;
    }

    .btn-queue-song,
    .btn-play-song {
        padding: 8px;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        justify-content: center;
    }

    .music-toast {
        bottom: 15px;
        right: 15px;
        left: 15px;
        width: auto;
    }
}

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

    .playlist-card {
        padding: 1rem;
    }

    .song-card-row {
        padding: 0.65rem 0.85rem;
    }

    .rank-badge {
        min-width: 36px;
        height: 34px;
        font-size: 0.85rem;
    }

    .song-artwork {
        width: 44px;
        height: 44px;
    }

    .song-titles h4 {
        font-size: 0.95rem;
    }
}

.games-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 24px 90px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.games-hero {
    text-align: center;
    margin-bottom: 2.2rem;
}

.games-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid var(--glass-border);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--gold-bright);
    margin-bottom: 1.2rem;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.games-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--gold);
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 30px var(--gold-glow);
}

.games-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 820px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.games-actions-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 2.5rem;
}

.games-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    backdrop-filter: var(--glass-blur);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.games-action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--gold-bright);
    box-shadow: 0 10px 25px rgba(255, 183, 3, 0.3);
}

.games-action-btn.primary {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.9) 0%, rgba(183, 28, 28, 0.95) 100%);
    border-color: rgba(255, 183, 3, 0.5);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.45);
}

.games-action-btn.primary:hover {
    box-shadow: 0 12px 30px rgba(230, 57, 70, 0.65), 0 0 20px var(--gold-glow);
}

.games-action-btn.active {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.3) 0%, rgba(243, 156, 18, 0.4) 100%);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.games-stats-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 2.5rem;
}

.games-stat-card {
    background: rgba(28, 16, 11, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
}

.games-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 183, 3, 0.4);
}

.games-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.3);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.games-stat-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-bright);
    margin: 0;
    line-height: 1.2;
}

.games-stat-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 2px 0 0;
}

.games-filter-section {
    background: rgba(28, 16, 11, 0.65);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.games-search-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.games-search-wrap {
    position: relative;
    flex: 1;
    min-width: min(280px, 100%);
    max-width: 100%;
}

.games-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
    width: 20px;
    height: 20px;
}

.games-search-input {
    width: 100%;
    background: rgba(12, 6, 4, 0.75);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 12px 45px 12px 48px;
    font-size: 1rem;
    color: #fff;
    font-family: var(--font-body);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.games-search-input:focus {
    outline: none;
    border-color: var(--gold-bright);
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.35);
    background: rgba(18, 9, 6, 0.9);
}

.games-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.games-search-clear:hover {
    color: #fff;
}

.games-cat-pills {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 1.25rem;
    scrollbar-width: thin;
}

.games-cat-pills::-webkit-scrollbar {
    height: 4px;
}
.games-cat-pills::-webkit-scrollbar-thumb {
    background: rgba(255, 183, 3, 0.3);
    border-radius: 2px;
}

.game-pill {
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.2);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.game-pill:hover {
    background: rgba(255, 183, 3, 0.18);
    border-color: var(--gold-bright);
    color: #fff;
    transform: translateY(-2px);
}

.game-pill.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    border-color: var(--gold-bright);
    color: var(--wood-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
}

.games-dropdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    border-top: 1px solid rgba(255, 183, 3, 0.15);
    padding-top: 1rem;
}

.games-dropdown-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.games-filter-select {
    background: rgba(15, 7, 5, 0.7);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.games-filter-select:focus,
.games-filter-select:hover {
    outline: none;
    border-color: var(--gold-bright);
    background: rgba(22, 10, 7, 0.9);
}

.games-filter-select option {
    background: var(--wood-dark);
    color: #fff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
    margin-bottom: 4rem;
}

.game-card {
    background: rgba(28, 16, 11, 0.65);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-sizing: border-box;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-bright);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 183, 3, 0.25);
}

.game-card-thumb-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #000;
}

.game-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.game-card:hover .game-card-thumb {
    transform: scale(1.06);
}

.game-thumb-genre-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    color: var(--gold-bright);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 183, 3, 0.3);
}

.game-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.game-card-badge-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.game-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.25), rgba(255, 183, 3, 0.2));
    border: 1px solid rgba(255, 183, 3, 0.3);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.game-badge-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.35);
    color: var(--gold-bright);
}

.game-bookmark-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.game-bookmark-btn:hover {
    color: var(--gold-bright);
    border-color: var(--gold-bright);
    background: rgba(255, 183, 3, 0.2);
    transform: scale(1.1);
}

.game-bookmark-btn.saved {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    color: var(--wood-dark);
}

.game-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.game-card:hover .game-card-title {
    color: var(--gold-bright);
}

.game-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.game-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 3px 9px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.game-chip i {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.game-card-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
    margin: 0 0 18px;
    flex-grow: 1;
}

.game-card-footer {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 183, 3, 0.12);
}

.game-card-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
}

.game-card-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.25);
    color: #fff;
}

.game-card-btn.secondary:hover {
    background: rgba(255, 183, 3, 0.2);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.game-card-btn.primary {
    background: linear-gradient(135deg, #e63946 0%, #b71c1c 100%);
    border: 1px solid rgba(255, 183, 3, 0.4);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.35);
}

.game-card-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.55), 0 0 15px var(--gold-glow);
    transform: translateY(-2px);
}

.game-card.coming-soon-card {
    border: 1px dashed rgba(255, 183, 3, 0.45);
    background: rgba(22, 11, 7, 0.6);
}

.game-card.coming-soon-card:hover {
    border-color: var(--gold-bright);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 183, 3, 0.2);
}

.coming-soon-badge {
    background: rgba(255, 183, 3, 0.18) !important;
    border: 1px solid var(--gold-bright) !important;
    color: var(--gold-bright) !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.game-card-btn.coming-soon-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 183, 3, 0.5);
    color: var(--gold-bright);
    box-shadow: none;
    cursor: pointer;
}

.game-card-btn.coming-soon-btn:hover {
    background: rgba(255, 183, 3, 0.18);
    border-color: var(--gold-bright);
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.25);
    transform: translateY(-2px);
}

.coming-soon-modal-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.25), rgba(255, 183, 3, 0.2));
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 1.25rem;
    color: var(--gold-bright);
    font-size: 0.95rem;
    font-weight: 600;
}

.games-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(25, 12, 7, 0.96);
    border: 1.5px solid var(--gold);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(243, 156, 18, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    max-width: 440px;
    width: calc(100% - 40px);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    opacity: 1;
    color: #fff;
    box-sizing: border-box;
}

.games-toast.hidden {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.game-modal-content {
    background: rgba(20, 10, 6, 0.95);
    border: 1px solid var(--gold);
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 183, 3, 0.2);
    border-radius: 20px;
    max-width: 680px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.2rem;
    position: relative;
    color: #fff;
}

.game-modal-header {
    border-bottom: 1px solid rgba(255, 183, 3, 0.2);
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
}

.game-modal-header h2 {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 2rem;
    margin: 0.5rem 0 0.8rem;
    line-height: 1.2;
}

.game-modal-section-title {
    color: var(--gold-bright);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.5rem 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.materials-box {
    background: rgba(255, 183, 3, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.rules-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rules-step-item {
    display: flex;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

.step-number-badge {
    background: var(--gold);
    color: var(--wood-dark);
    font-weight: 700;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.protips-box {
    background: rgba(46, 196, 182, 0.1);
    border: 1px solid rgba(46, 196, 182, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: #e0fbf7;
    line-height: 1.6;
    margin-top: 1rem;
}

.dice-rolling-box {
    text-align: center;
    padding: 2.5rem 1rem;
}

.dice-icon-animated {
    font-size: 4rem;
    color: var(--gold-bright);
    animation: diceSpin 0.7s infinite linear;
    display: inline-block;
}

.games-pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 1.5rem 0 3.5rem;
}

.pagination-status-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.game-controls-badge {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.game-controls-badge i {
    color: var(--gold-bright);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.game-mobile-warning-badge {
    background: rgba(220, 38, 38, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fca5a5;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1.35;
}

.game-mobile-warning-badge i {
    color: #ef4444;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.game-modal-mobile-warning {
    background: rgba(220, 38, 38, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.92rem;
    color: #fee2e2;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.45;
}

.game-modal-mobile-warning i {
    color: #f87171;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .games-page-wrapper {
        padding: 100px 16px 60px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .games-hero-title {
        font-size: 2.2rem;
    }

    .game-card-footer {
        flex-direction: column;
    }
}

.activities-page-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 2;
}

.activities-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 36px;
}

.activities-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.4);
    border-radius: 30px;
    color: var(--gold-bright);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
}

.activities-hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--gold-bright);
    margin: 0 0 16px;
    text-shadow: 0 4px 25px rgba(255, 183, 3, 0.35);
    line-height: 1.15;
}

.activities-hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 28px;
}

.activities-actions-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.activities-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(18, 10, 6, 0.75);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: 25px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.activities-action-btn:hover {
    background: rgba(255, 183, 3, 0.25);
    border-color: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.3);
    color: var(--gold-bright);
}

.activities-action-btn.primary {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.85), rgba(212, 143, 0, 0.85));
    color: #1a0f00;
    border-color: var(--gold-bright);
    font-weight: 700;
}

.activities-action-btn.primary:hover {
    background: linear-gradient(135deg, #ffc02e, #e59b00);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 183, 3, 0.5);
    color: #000;
}

.activities-action-btn.active {
    background: rgba(255, 183, 3, 0.3);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.activities-stats-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto 36px;
}

.activities-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(18, 10, 6, 0.65);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.activities-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 183, 3, 0.45);
}

.activities-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
    flex-shrink: 0;
}

.activities-stat-info h4 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-bright);
    font-family: var(--font-heading);
    line-height: 1.1;
}

.activities-stat-info p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.activities-filter-section {
    background: rgba(18, 10, 6, 0.75);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 36px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.activities-search-row {
    margin-bottom: 18px;
}

.activities-search-wrap {
    position: relative;
    width: 100%;
}

.activities-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.activities-search-input {
    width: 100%;
    padding: 14px 48px 14px 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.activities-search-input:focus {
    border-color: var(--gold-bright);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.3);
}

.activities-search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
}

.activities-search-clear:hover {
    color: #fff;
}

.activities-cat-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 183, 3, 0.3) transparent;
}

.activities-cat-pills::-webkit-scrollbar {
    height: 6px;
}
.activities-cat-pills::-webkit-scrollbar-thumb {
    background: rgba(255, 183, 3, 0.3);
    border-radius: 3px;
}

.activities-cat-pill {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.activities-cat-pill:hover {
    background: rgba(255, 183, 3, 0.15);
    border-color: rgba(255, 183, 3, 0.4);
    color: #fff;
}

.activities-cat-pill.active {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.85), rgba(212, 143, 0, 0.85));
    border-color: var(--gold-bright);
    color: #1a0f00;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
}

.activities-dropdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.activities-dropdown-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.activities-filter-select {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 0.88rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.activities-filter-select:focus,
.activities-filter-select:hover {
    border-color: var(--gold-bright);
}

.activities-filter-select option {
    background: #1a100a;
    color: #fff;
}

.activities-results-count {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.activities-results-count strong {
    color: var(--gold-bright);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 26px;
    margin-bottom: 40px;
}

.activity-card {
    background: rgba(18, 10, 6, 0.75);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    position: relative;
}

.activity-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-bright);
    box-shadow: 0 14px 40px rgba(255, 183, 3, 0.25);
}

.activity-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #111;
}

.activity-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-card-img {
    transform: scale(1.06);
}

.activity-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(18, 10, 6, 0.85);
    border: 1px solid rgba(255, 183, 3, 0.6);
    border-radius: 15px;
    color: var(--gold-bright);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.activity-card-category-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.activity-card-bookmark-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(18, 10, 6, 0.85);
    border: 1px solid rgba(255, 183, 3, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 3;
}

.activity-card-bookmark-btn:hover {
    background: var(--gold-bright);
    color: #1a0f00;
    transform: scale(1.1);
}

.activity-card-bookmark-btn.saved {
    background: var(--gold-bright);
    color: #1a0f00;
    border-color: var(--gold-bright);
}

.activity-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.activity-card-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--gold-bright);
}

.activity-card-rating-row span.reviews {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

.activity-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.25;
}

.activity-card-headline {
    font-size: 0.88rem;
    color: var(--gold-bright);
    margin: 0 0 12px;
    line-height: 1.4;
    font-style: italic;
}

.activity-card-meta-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.activity-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

.activity-card-summary {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 18px;
    flex: 1;
}

.activity-card-footer {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.activity-card-footer .guide-btn {
    flex: 1;
    padding: 9px 14px;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.85), rgba(212, 143, 0, 0.85));
    border: 1px solid var(--gold-bright);
    border-radius: 8px;
    color: #1a0f00;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.activity-card-footer .guide-btn:hover {
    background: #ffc02e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.4);
}

.activity-card.is-completed {
    border-color: rgba(46, 204, 113, 0.5);
}

.activity-card.is-completed::after {
    content: "✓ Completed";
    position: absolute;
    top: 12px;
    right: 56px;
    padding: 3px 8px;
    background: rgba(46, 204, 113, 0.9);
    color: #fff;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
}

.activity-modal-content {
    background: rgba(18, 10, 6, 0.95);
    border: 1px solid var(--gold-bright);
    border-radius: 20px;
    max-width: 840px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.activity-modal-hero {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.activity-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 10, 6, 0.95) 0%, rgba(18, 10, 6, 0.3) 60%, rgba(0, 0, 0, 0.6) 100%);
}

.activity-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.activity-modal-close:hover {
    background: var(--gold-bright);
    color: #000;
    transform: rotate(90deg);
}

.activity-modal-inner {
    padding: 24px 32px 36px;
    text-align: left;
}

.activity-modal-header {
    margin-bottom: 20px;
}

.activity-modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--gold-bright);
    margin: 8px 0;
    line-height: 1.2;
}

.activity-modal-headline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    font-style: italic;
    margin: 0 0 16px;
}

.activity-modal-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.activity-section-block {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.activity-section-block h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}

.activity-steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-step-item {
    display: flex;
    gap: 12px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.activity-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold-bright);
    color: #1a0f00;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.activity-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
}

.activity-check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold-bright);
    cursor: pointer;
}

.activity-pair-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.activity-pair-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--gold-bright);
}

.activity-pair-item strong {
    display: block;
    color: var(--gold-bright);
    font-size: 0.82rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.activity-pair-item p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.bucket-progress-wrap {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
}

.bucket-progress-bar-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 8px;
}

.bucket-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-bright), #2ecc71);
    width: 0%;
    transition: width 0.4s ease;
}

@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    .background-container,
    .glass-nav,
    .glass-footer,
    .activities-filter-section,
    .activities-actions-bar,
    .activities-stats-ribbon,
    .modal,
    .skip-link,
    button {
        display: none !important;
    }

    .activities-page-wrapper {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .print-only-header {
        display: block !important;
        text-align: center;
        margin-bottom: 24px;
        border-bottom: 2px solid #ccc;
        padding-bottom: 12px;
    }

    .activities-grid {
        display: block !important;
    }

    .activity-card {
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
        margin-bottom: 16px !important;
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
    }

    .activity-card-title {
        color: #000 !important;
    }

    .activity-card-summary,
    .activity-card-headline {
        color: #333 !important;
    }
}

@media (max-width: 768px) {
    .activities-page-wrapper {
        padding: 100px 16px 60px;
    }

    .activities-hero-title {
        font-size: 2.3rem;
    }

    .activities-stats-ribbon {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 380px;
        margin: 0 auto 2rem;
        width: 100%;
    }

    .activities-stats-ribbon .activities-stat-card:nth-child(2),
    .activities-stats-ribbon .activities-stat-card:nth-child(3) {
        display: none !important;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .activity-pair-box {
        grid-template-columns: 1fr;
    }

    .activity-modal-inner {
        padding: 20px;
    }

    .activity-modal-title {
        font-size: 1.7rem;
    }
}

.wallpapers-page-wrapper {
    max-width: 1360px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 2;
}

.wallpaper-status-alert {
    max-width: 900px;
    margin: 0 auto 28px;
    background: rgba(220, 38, 38, 0.16);
    border: 1.5px solid rgba(239, 68, 68, 0.6);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.25), inset 0 0 15px rgba(239, 68, 68, 0.12);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    backdrop-filter: blur(12px);
    animation: fadeInDown 0.4s ease;
}

.wallpaper-status-alert .alert-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid rgba(239, 68, 68, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ff6b6b;
}

.wallpaper-status-alert .wallpaper-alert-badge {
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.wallpaper-status-alert .wallpaper-alert-title {
    font-weight: 700;
    color: #ff8585;
    font-size: 0.95rem;
}

.wallpaper-status-alert .wallpaper-alert-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.92rem;
    line-height: 1.4;
}

.wallpaper-status-alert .alert-dismiss-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.wallpaper-status-alert .alert-dismiss-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.wallpapers-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 36px;
}

.wallpapers-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.4);
    border-radius: 30px;
    color: var(--gold-bright);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
}

.wallpapers-hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--gold-bright);
    margin: 0 0 16px;
    text-shadow: 0 4px 25px rgba(255, 183, 3, 0.35);
    line-height: 1.15;
}

.wallpapers-hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 28px;
}

.wallpapers-actions-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.wallpapers-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(18, 10, 6, 0.75);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: 25px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.wallpapers-action-btn:hover {
    background: rgba(255, 183, 3, 0.25);
    border-color: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.3);
    color: var(--gold-bright);
}

.wallpapers-action-btn.primary {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.85), rgba(212, 143, 0, 0.85));
    color: #1a0f00;
    border-color: var(--gold-bright);
    font-weight: 700;
}

.wallpapers-action-btn.primary:hover {
    background: linear-gradient(135deg, #ffc02e, #e59b00);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 183, 3, 0.5);
    color: #000;
}

.wallpapers-action-btn.active {
    background: rgba(255, 183, 3, 0.3);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

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

.wallpaper-card {
    background: rgba(18, 10, 6, 0.75);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    position: relative;
}

.wallpaper-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-bright);
    box-shadow: 0 14px 40px rgba(255, 183, 3, 0.25);
}

.wallpaper-media-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #140d07;
}

.wallpaper-media-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 183, 3, 0.04) 0%, rgba(255, 183, 3, 0.15) 50%, rgba(255, 183, 3, 0.04) 100%);
    background-size: 200% 100%;
    animation: wpShimmer 1.8s infinite;
    z-index: 1;
}

@keyframes wpShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.wallpaper-media-wrap.is-portrait {
    height: 340px;
}

.wallpaper-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

.wallpaper-img.is-loaded {
    opacity: 1;
}

.wallpaper-card:hover .wallpaper-img {
    transform: scale(1.05);
}

.wallpaper-overlay-actions {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    z-index: 3;
}

.wallpaper-card:hover .wallpaper-overlay-actions {
    opacity: 1;
}

.wallpaper-res-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(18, 10, 6, 0.85);
    border: 1px solid rgba(255, 183, 3, 0.6);
    border-radius: 15px;
    color: var(--gold-bright);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.wallpaper-license-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 3px 8px;
    background: rgba(46, 204, 113, 0.85);
    border-radius: 10px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.wallpaper-fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(18, 10, 6, 0.85);
    border: 1px solid rgba(255, 183, 3, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 4;
}

.wallpaper-fav-btn:hover {
    background: var(--gold-bright);
    color: #1a0f00;
    transform: scale(1.1);
}

.wallpaper-fav-btn.saved {
    background: var(--gold-bright);
    color: #1a0f00;
    border-color: var(--gold-bright);
}

.wallpaper-card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.wallpaper-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.wallpaper-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
}

.wallpaper-card-meta .downloads {
    color: var(--gold-bright);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wallpaper-card-footer {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.wallpaper-card-footer .preview-btn {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wallpaper-card-footer .preview-btn:hover {
    background: rgba(255, 183, 3, 0.2);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.wallpaper-card-footer .download-direct-btn {
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.85), rgba(212, 143, 0, 0.85));
    border: 1px solid var(--gold-bright);
    border-radius: 8px;
    color: #1a0f00;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.wallpaper-card-footer .download-direct-btn:hover {
    background: #ffc02e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.4);
}

.wallpaper-card-footer .source-link-btn {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.wallpaper-card-footer .source-link-btn:hover {
    background: rgba(46, 196, 182, 0.2);
    border-color: #2ec4b6;
    color: #2ec4b6;
}

.wallpaper-lightbox-content {
    background: rgba(15, 8, 4, 0.96);
    border: 1px solid var(--gold-bright);
    border-radius: 20px;
    max-width: 960px;
    width: 94%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(24px);
    text-align: left;
}

.wallpaper-preview-frame-container {
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080808;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.wallpaper-preview-frame-container img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wallpaper-device-switcher {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.wallpaper-device-switcher button {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #fff;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wallpaper-device-switcher button.active {
    background: var(--gold-bright);
    color: #000;
    border-color: var(--gold-bright);
    font-weight: 700;
}

.wallpapers-cat-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 183, 3, 0.3) transparent;
}

.wallpapers-cat-pills::-webkit-scrollbar {
    height: 6px;
}
.wallpapers-cat-pills::-webkit-scrollbar-thumb {
    background: rgba(255, 183, 3, 0.3);
    border-radius: 3px;
}

.wallpapers-cat-pill,
.category-pill-btn {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.wallpapers-cat-pill:hover,
.category-pill-btn:hover {
    background: rgba(255, 183, 3, 0.2);
    border-color: rgba(255, 183, 3, 0.5);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.2);
}

.wallpapers-cat-pill.active,
.category-pill-btn.active {
    background: linear-gradient(135deg, var(--gold-bright) 0%, #f39c12 100%);
    border-color: var(--gold-bright);
    color: #1a0f00;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(255, 183, 3, 0.45);
    transform: translateY(-1px);
}

.mockup-laptop-frame {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    background: #1e1e24;
    border-radius: 14px 14px 2px 2px;
    border: 3px solid #2b2b36;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
}

.mockup-laptop-header {
    height: 24px;
    background: #141418;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-laptop-screen {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000;
    position: relative;
    overflow: hidden;
}

.mockup-laptop-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mockup-laptop-dock {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 4px 10px;
    display: flex;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mockup-dock-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.mockup-laptop-base {
    height: 10px;
    max-width: 740px;
    margin: 0 auto;
    background: #2b2b36;
    border-radius: 0 0 10px 10px;
    position: relative;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.mockup-laptop-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #18181e;
    border-radius: 0 0 4px 4px;
}

.mockup-phone-frame {
    width: 270px;
    height: 520px;
    margin: 0 auto;
    background: #000;
    border-radius: 40px;
    border: 10px solid #2d2d38;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 0 4px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.mockup-phone-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #000;
    border-radius: 14px;
    z-index: 10;
}

.mockup-phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mockup-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mockup-phone-lockscreen {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 18px 24px;
    text-align: center;
    pointer-events: none;
}

.mockup-phone-time {
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mockup-phone-date {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.mockup-phone-bottom-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.mockup-phone-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

@media (max-width: 768px) {
    .wallpapers-page-wrapper {
        padding: 100px 16px 60px;
    }

    .wallpapers-hero-title {
        font-size: 2.3rem;
    }

    .wallpapers-grid {
        grid-template-columns: 1fr;
    }
}

.wallpapers-search-container {
    max-width: 680px;
    margin: 0 auto 20px;
    position: relative;
}

.wallpapers-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.wallpapers-search-wrap .search-icon {
    position: absolute;
    left: 18px;
    width: 20px;
    height: 20px;
    color: var(--gold-bright, #ffd700);
    pointer-events: none;
}

.wallpapers-search-wrap input {
    width: 100%;
    padding: 14px 48px 14px 50px;
    background: rgba(18, 10, 6, 0.85);
    border: 1.5px solid rgba(255, 183, 3, 0.35);
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.wallpapers-search-wrap input:focus {
    outline: none;
    border-color: var(--gold-bright, #ffd700);
    box-shadow: 0 6px 25px rgba(255, 183, 3, 0.35);
    background: rgba(28, 15, 8, 0.95);
}

.wallpapers-search-wrap .search-clear-btn {
    position: absolute;
    right: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wallpapers-search-wrap .search-clear-btn:hover {
    background: rgba(255, 183, 3, 0.3);
    color: #fff;
}

.wallpapers-filter-group-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.wallpapers-segmented-control {
    display: inline-flex;
    background: rgba(18, 10, 6, 0.8);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 25px;
    padding: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.wallpaper-device-btn,
.wallpaper-license-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wallpaper-device-btn:hover,
.wallpaper-license-btn:hover {
    color: #fff;
}

.wallpaper-device-btn.active,
.wallpaper-license-btn.active {
    background: linear-gradient(135deg, var(--gold-bright, #ffd700), #e59b00);
    color: #1a0f00;
    box-shadow: 0 2px 10px rgba(255, 183, 3, 0.4);
    font-weight: 700;
}

.wallpapers-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 14px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wallpapers-results-bar .results-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.wallpapers-results-bar .sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.wallpapers-results-bar select {
    background: rgba(18, 10, 6, 0.85);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: 8px;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

.wallpapers-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 36px 0 60px;
}

.wallpaper-license-badge.paid {
    background: rgba(230, 126, 34, 0.9);
    border: 1px solid rgba(255, 183, 3, 0.6);
    color: #fff;
}

.wallpaper-card-footer .source-link-btn.paid-btn {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.9), rgba(211, 84, 0, 0.9));
    border-color: #f39c12;
    color: #fff;
    font-weight: 700;
}

.wallpaper-card-footer .source-link-btn.paid-btn:hover {
    background: #e67e22;
    border-color: #ffb703;
    color: #fff;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

.gifts-page-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 10;
}

.gifts-hero {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 3rem;
}

.gifts-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: 50px;
    color: var(--gold-bright);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.gifts-hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--gold-bright);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.gifts-hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
}

.gifts-actions-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.saved-gifts-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e63946;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    padding: 0 6px;
    margin-left: 6px;
}

.gifts-section {
    margin-bottom: 4rem;
}

.gifts-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gifts-section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--gold-bright);
    margin-bottom: 0.5rem;
}

.gifts-section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.gifts-finder-panel {
    background: rgba(18, 10, 6, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    margin-bottom: 2.5rem;
}

.gifts-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 1.5rem;
}

.gifts-filter-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.gifts-filter-group select,
.gifts-filter-group input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gifts-filter-group select:focus,
.gifts-filter-group input:focus {
    outline: none;
    border-color: var(--gold-bright);
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.35);
}

.gifts-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.gifts-search-box input {
    padding-left: 38px;
    padding-right: 38px;
}

.gifts-search-box .search-icon {
    position: absolute;
    left: 12px;
    color: rgba(255, 255, 255, 0.5);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.gifts-search-box .clear-icon {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0;
    display: none;
}

.gifts-finder-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    flex-wrap: wrap;
    gap: 12px;
}

.gifts-count-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.gifts-count-text strong {
    color: var(--gold-bright);
}

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

.gift-card {
    background: rgba(18, 10, 6, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
}

.gift-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 183, 3, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.gift-card-media {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #000;
}

.gift-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gift-card:hover .gift-card-img {
    transform: scale(1.05);
}

.gift-budget-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 183, 3, 0.4);
    color: var(--gold-bright);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
}

.gift-collection-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(230, 57, 70, 0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gift-save-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gift-save-btn:hover {
    background: rgba(230, 57, 70, 0.9);
    border-color: #e63946;
    transform: scale(1.1);
}

.gift-save-btn.saved {
    background: #e63946;
    border-color: #ff6b6b;
    color: #fff;
}

.gift-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gift-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.82rem;
}

.gift-interest-tag {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 3px 8px;
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
}

.gift-price-estimate {
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 0.88rem;
}

.gift-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.35;
}

.gift-for-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.gift-card-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.25rem;
    flex: 1;
}

.gift-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gift-card-actions .glass-btn {
    padding: 9px 12px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
}

.glass-btn.active-saved {
    background: #e63946;
    border-color: #ff6b6b;
    color: #fff;
}

.gift-top-match-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 183, 3, 0.95);
    color: #120a06;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.gift-card-matched {
    border-color: rgba(255, 183, 3, 0.5) !important;
    box-shadow: 0 8px 26px rgba(255, 183, 3, 0.15) !important;
}

.gifts-ranking-divider {
    grid-column: 1 / -1;
    margin: 2.5rem 0 1.25rem;
    text-align: center;
    position: relative;
}

.gift-recipient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.recipient-category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 190px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 183, 3, 0.2);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.recipient-category-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-bright);
    box-shadow: 0 12px 32px rgba(255, 183, 3, 0.25);
}

.recipient-category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.recipient-category-card:hover .recipient-category-bg {
    transform: scale(1.06);
}

.recipient-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 5, 3, 0.95) 0%, rgba(10, 5, 3, 0.45) 55%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
}

.recipient-category-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gold-bright);
    margin-bottom: 4px;
}

.recipient-category-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    line-height: 1.4;
}

.recipient-category-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gift-budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.budget-category-card {
    background: rgba(18, 10, 6, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.budget-category-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-bright);
    background: rgba(35, 18, 10, 0.85);
}

.budget-category-card .budget-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.3);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.budget-category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold-bright);
    margin-bottom: 6px;
}

.budget-category-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 10px;
}

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

.collection-card {
    background: rgba(18, 10, 6, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s, border-color 0.25s;
}

.collection-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-bright);
}

.collection-card-media {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.collection-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.collection-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gold-bright);
    margin-bottom: 6px;
}

.collection-card-body p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.25rem;
    flex: 1;
}

.collection-quick-filter-btn {
    width: 100%;
}

.collection-quick-filter-btn.active {
    background: var(--gold-bright);
    color: #000;
    font-weight: 700;
}

.gift-list-panel {
    background: rgba(18, 10, 6, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.gift-list-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.25rem;
}

.gift-list-panel-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    gap: 10px;
}

.gift-list-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.saved-gifts-summary-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
}

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

.budget-stat-item .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.budget-stat-item .stat-val {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-bright);
    font-family: var(--font-heading);
}

.saved-gifts-items-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.saved-gift-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    transition: background 0.2s, border-color 0.2s;
}

.saved-gift-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 183, 3, 0.3);
}

.saved-gift-item.purchased {
    opacity: 0.75;
    background: rgba(46, 196, 182, 0.06);
    border-color: rgba(46, 196, 182, 0.25);
}

.saved-gift-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.saved-gift-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkmark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid rgba(255, 183, 3, 0.5);
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s;
}

.saved-gift-checkbox:checked + .custom-checkmark {
    background: #2ec4b6;
    border-color: #2ec4b6;
    color: #000;
}

.custom-checkmark i {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

.saved-gift-info {
    flex: 1;
}

.saved-gift-title {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 2px;
}

.saved-gift-title.strikethrough {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.6);
}

.saved-gift-price-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.saved-gift-budget-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.saved-gift-budget-input {
    width: 80px;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 183, 3, 0.3);
    border-radius: 6px;
    color: var(--gold-bright);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

.saved-gift-status-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.saved-gift-status-badge.badge-purchased {
    background: rgba(46, 196, 182, 0.2);
    border: 1px solid rgba(46, 196, 182, 0.5);
    color: #2ec4b6;
}

.saved-gift-status-badge.badge-pending {
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.35);
    color: var(--gold-bright);
}

.saved-gift-remove-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.saved-gift-remove-btn:hover {
    color: #e63946;
    background: rgba(230, 57, 70, 0.15);
}

.gift-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(18, 10, 6, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--gold-bright);
    border-radius: 12px;
    padding: 12px 20px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    z-index: 100000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gift-toast.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gift-packing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 1.5rem;
}

.packing-tip-card {
    background: rgba(18, 10, 6, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 18px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.packing-tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-bright, #ffb703), transparent);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.packing-tip-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-bright, #ffb703);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 183, 3, 0.2);
}

.packing-tip-card:hover::before {
    opacity: 1;
}

.packing-tip-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(255, 183, 3, 0.35);
    color: var(--gold-bright, #ffb703);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.packing-tip-card:hover .packing-tip-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 183, 3, 0.22);
}

.packing-tip-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gold-bright, #ffb703);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.packing-tip-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.gifts-view-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 auto 3rem;
    padding: 6px;
    background: rgba(18, 10, 6, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 50px;
    max-width: 860px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.gifts-view-tab-btn {
    padding: 12px 24px;
    border-radius: 40px;
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.gifts-view-tab-btn:hover {
    color: var(--gold-bright, #ffb703);
    background: rgba(255, 183, 3, 0.12);
}

.gifts-view-tab-btn.active {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.3), rgba(255, 183, 3, 0.15));
    border-color: var(--gold-bright, #ffb703);
    color: var(--gold-bright, #ffb703);
    box-shadow: 0 4px 20px rgba(255, 183, 3, 0.25);
}

.gifts-view-pane {
    display: block;
    animation: fadeInGiftPane 0.35s ease;
}

.gifts-view-pane.hidden {
    display: none !important;
}

@keyframes fadeInGiftPane {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .background-container, #particles-canvas, .glass-nav, .glass-footer, .gifts-hero, .gifts-finder-panel, .gift-recipient-grid, .gift-budget-grid, .special-collections-grid, .gifts-grid, .gift-toast {
        display: none !important;
    }
    .gift-list-panel {
        background: #fff !important;
        color: #000 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .gift-list-panel-header h3, .saved-gift-title, .budget-stat-item .stat-val {
        color: #000 !important;
    }
    .saved-gift-item {
        border-bottom: 1px solid #ccc !important;
        background: none !important;
        color: #000 !important;
    }
    .gift-list-header-actions, .saved-gift-remove-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .gifts-page-wrapper {
        padding: 100px 16px 60px;
    }

    .gifts-hero-title {
        font-size: 2.2rem;
    }

    .gifts-grid {
        grid-template-columns: 1fr;
    }

    .gift-card-actions {
        grid-template-columns: 1fr;
    }

    .saved-gift-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .saved-gift-budget-input-wrap {
        width: 100%;
        justify-content: flex-end;
    }
}

body.low-performance-mode #bg-video,
body.low-performance-mode #bg-video-low,
body.low-performance-mode #bg-video-high,
html.low-performance-mode #bg-video,
html.low-performance-mode #bg-video-low,
html.low-performance-mode #bg-video-high {
    display: none !important;
}

body.low-performance-mode .video-background,
body.low-performance-mode .background-container,
html.low-performance-mode .video-background,
html.low-performance-mode .background-container {
    display: block !important;
    background: #0d0705 url('../assets/ChristmasMovingBG_poster.jpg') center center / cover no-repeat fixed !important;
}

body.low-performance-mode .glass-panel,
body.low-performance-mode .glass-header,
body.low-performance-mode .glass-footer,
body.low-performance-mode .glass-nav,
body.low-performance-mode .eco-card,
body.low-performance-mode .tradition-card,
body.low-performance-mode .fact-card,
body.low-performance-mode .wallpaper-card,
body.low-performance-mode .modal-content {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(18, 10, 6, 0.96) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7) !important;
}

body.low-performance-mode #particles-canvas {
    opacity: 0.35 !important;
}

img.sequence-load {
    opacity: 0.15;
    filter: blur(8px);
    transition: opacity 0.4s ease, filter 0.4s ease;
}

img.sequence-load.is-loaded {
    opacity: 1;
    filter: blur(0);
}

.cookie-banner-glass {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 960px;
    background: rgba(14, 8, 6, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 183, 3, 0.4);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 183, 3, 0.2);
    z-index: 999999;
    padding: 1.5rem 1.8rem;
    color: #fff;
    animation: cookieSlideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 60px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-banner-glass.cookie-banner-hiding {
    animation: cookieSlideDown 0.35s ease forwards;
}

@keyframes cookieSlideDown {
    to {
        opacity: 0;
        transform: translate(-50%, 60px);
    }
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.cookie-emoji {
    font-size: 2.4rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 183, 3, 0.5));
}

.cookie-title {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 1.25rem;
    margin: 0 0 4px;
}

.cookie-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 20px;
}

.cookie-drawer {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-drawer.hidden {
    display: none;
}

.cookie-category {
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--gold-bright);
    cursor: pointer;
    font-size: 0.95rem;
}

.cookie-cat-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 4px 0 0 24px;
}

.cookie-drawer-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.settings-panel {
    max-width: 520px;
    width: 92%;
    background: rgba(14, 8, 6, 0.95);
    border: 1.5px solid var(--gold-bright);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 40px rgba(255, 183, 3, 0.25);
    padding: 2rem;
    color: #fff;
    text-align: left;
}

.settings-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 183, 3, 0.25);
}

.settings-header h2 {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 1.6rem;
    margin: 0;
}

.settings-group {
    margin-bottom: 1.6rem;
}

.settings-group-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.settings-select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
}

.settings-select option {
    background: #1a0f0a;
    color: #fff;
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
}

.settings-row-text h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    color: #fff;
}

.settings-row-text p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.settings-toggle {
    position: relative;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.settings-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.settings-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.settings-toggle input:checked + .settings-slider {
    background-color: var(--gold-bright);
}

.settings-toggle input:checked + .settings-slider:before {
    transform: translateX(22px);
    background-color: #120a06;
}

#particles-canvas,
#snow-canvas,
.background-container {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.game-card,
.movie-card,
.activity-card,
.wallpaper-card,
.gift-item-card,
.tradition-card,
.fact-card {
    contain: layout style;
    content-visibility: auto;
    contain-intrinsic-size: 320px 420px;
}

img {
    image-rendering: auto;
}

.wallpapers-lock-screen {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem;
    position: relative;
    z-index: 10;
}

.wallpapers-lock-screen.hidden,
.wallpapers-unlocked-content.hidden {
    display: none !important;
}

.wallpapers-lock-card {
    max-width: 490px;
    width: 100%;
    background: linear-gradient(135deg, rgba(22, 11, 9, 0.95), rgba(36, 17, 14, 0.97));
    border: 1.5px solid rgba(255, 183, 3, 0.45);
    border-radius: 24px;
    padding: 2.75rem 2.25rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 183, 3, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: fadeInScale 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.wallpapers-lock-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffd700, #ff9f1c, #ffd700, transparent);
}

.wallpapers-lock-card .lock-icon-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.35rem;
    background: radial-gradient(circle, rgba(255, 183, 3, 0.25) 0%, rgba(255, 183, 3, 0.05) 70%);
    border: 1.5px solid rgba(255, 183, 3, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright, #ffd700);
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.35);
}

.wallpapers-lock-card .lock-icon-wrap .lock-icon {
    width: 34px;
    height: 34px;
}

.wallpapers-lock-badge {
    display: inline-block;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.5);
    color: #ffd700;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 0.85rem;
}

.wallpapers-lock-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.9rem;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.wallpapers-lock-desc {
    color: rgba(255, 236, 209, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.85rem;
}

.wallpapers-lock-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.wallpapers-lock-input-group {
    position: relative;
    width: 100%;
}

.wallpapers-lock-input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 48px 13px 18px;
    background: rgba(10, 6, 4, 0.78);
    border: 1.5px solid rgba(255, 183, 3, 0.45);
    border-radius: 12px;
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.wallpapers-lock-input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 18px rgba(255, 183, 3, 0.4);
}

.wallpapers-lock-pwd-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.wallpapers-lock-pwd-toggle:hover {
    color: #ffd700;
}

.wallpapers-lock-error {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: #ff8585;
    font-size: 0.88rem;
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.wallpapers-lock-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.4rem;
}

.wallpapers-unlock-btn {
    background: linear-gradient(135deg, #ffd700, #ff9f1c);
    color: #1a0f00;
    border: none;
    border-radius: 12px;
    padding: 13px 24px;
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 22px rgba(255, 183, 3, 0.38);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.wallpapers-unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 183, 3, 0.55);
    filter: brightness(1.08);
}

.wallpapers-return-link {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s;
}

.wallpapers-return-link:hover {
    color: #ffd700;
}

@keyframes lockCardShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.wallpapers-lock-card.shake {
    animation: lockCardShake 0.45s ease;
}

.wallpapers-coming-soon-wrapper {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 10;
}

.wallpapers-coming-soon-card {
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(20, 10, 8, 0.92), rgba(35, 16, 12, 0.95));
    border: 1.5px solid rgba(255, 183, 3, 0.45);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(255, 183, 3, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.wallpapers-coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffd700, #ff9f1c, #ffd700, transparent);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid rgba(255, 183, 3, 0.45);
    color: var(--gold-bright, #ffd700);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.2);
}

.coming-soon-icon-wrap {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5rem;
    background: radial-gradient(circle, rgba(255, 183, 3, 0.25) 0%, rgba(255, 183, 3, 0.04) 70%);
    border: 2px solid rgba(255, 183, 3, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright, #ffb703);
    box-shadow: 0 0 35px rgba(255, 183, 3, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.coming-soon-icon-wrap:hover {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 0 50px rgba(255, 183, 3, 0.55);
}

.coming-soon-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    line-height: 1.15;
}

.coming-soon-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-bright, #ffb703);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(255, 183, 3, 0.35);
}

.coming-soon-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto 2.25rem;
}

.coming-soon-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 2.5rem;
}

.coming-soon-feature-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.coming-soon-feature-pill:hover {
    background: rgba(255, 183, 3, 0.12);
    border-color: rgba(255, 183, 3, 0.5);
    transform: translateY(-2px);
}

.coming-soon-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.coming-soon-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.coming-soon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.coming-soon-btn.primary {
    background: linear-gradient(135deg, #ffb703, #e89e00);
    color: #140a06;
    border: 1px solid #ffd700;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 183, 3, 0.35);
}

.coming-soon-btn.primary:hover {
    background: linear-gradient(135deg, #ffd700, #ffb703);
    box-shadow: 0 8px 30px rgba(255, 183, 3, 0.55);
    transform: translateY(-2px);
    color: #140a06;
}

@media (max-width: 640px) {
    .wallpapers-coming-soon-card {
        padding: 2.25rem 1.5rem;
    }
    .coming-soon-title {
        font-size: 2.1rem;
    }
    .coming-soon-subtitle {
        font-size: 1.1rem;
    }
    .coming-soon-desc {
        font-size: 0.95rem;
    }
    .coming-soon-features-grid {
        grid-template-columns: 1fr;
    }
    .coming-soon-actions {
        flex-direction: column;
        width: 100%;
    }
    .coming-soon-btn {
        width: 100%;
        justify-content: center;
    }
}

.progressive-img-loading {
    transition: filter 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.3s ease;
    will-change: filter;
}

.progressive-img-loaded {
    filter: none !important;
}

@media (max-width: 768px) {
    .eco-grid, .gifts-grid, .activities-grid, .traditions-grid, .recipes-grid {
        content-visibility: auto;
        contain-intrinsic-size: 360px;
    }

    .glass-panel, .eco-card, .gift-card, .activity-card {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    }
}

.wallpaper-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
    width: 100%;
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.wallpaper-dir-card {
    background: var(--card-surface);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    position: relative;
}

.wallpaper-dir-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--gold-bright);
}

.wallpaper-dir-thumb-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
}

.wallpaper-dir-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.wallpaper-dir-card:hover .wallpaper-dir-thumb {
    transform: scale(1.04);
}

.wallpaper-dir-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(18, 9, 5, 0.85);
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.wallpaper-dir-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wallpaper-dir-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold-bright);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.wallpaper-dir-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.wallpaper-dir-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.wallpaper-dir-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 8px;
}

[data-theme="light"] .wallpaper-dir-tag {
    background: rgba(20, 60, 90, 0.08);
    border-color: rgba(20, 60, 90, 0.16);
    color: #1a2a36;
}

.wallpaper-dir-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: #180d07;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.3);
}

.wallpaper-dir-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(243, 156, 18, 0.5);
    color: #180d07;
}

@media (max-width: 640px) {
    .wallpaper-directory-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 0.75rem;
    }
}