:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --header-bg: rgba(18, 18, 18, 0.95);
    --section-bg: #151515;
    --border-color: #262626;
    --character-bg: #1a1a1a;
    --character-border: #333;
    --muted-text: #a4b0be;
    --nav-link-color: #b2bec3;
    --nav-hover-color: #a8ff04;
    --gradient-color: #4c7400; /* Fixed typo from --gradiant-color */
    --logo-color: #6f99e7;
}

body.light-mode {
    --bg-color: #fcf9f2;         
    --text-color: #3b302a;       
    --header-bg: rgba(252, 249, 242, 0.95);
    --section-bg: #fffcf5;       
    --border-color: #e6dfd1;     
    --character-bg: #f5eedb;     
    --character-border: #d4c8b0;
    --muted-text: #78685e;       
    --nav-link-color: #78685e;
    --nav-hover-color: #0984e3;
    --gradient-color: #0652dd; /* Fixed typo here as well */
    --logo-color: #71ad00;
}

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

/* Force clean 10px scrollbar and eliminate track/arrows across all engines */
html {
    overflow-y: scroll; 
    height: 100%;
}

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

::-webkit-scrollbar-track {
    background: transparent !important;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--muted-text);
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-corner {
    display: none !important;
    width: 0;
    height: 0;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

html, body {
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}
body::-webkit-scrollbar {
    display: none; 
}

/* Custom Scrollbar Track/Bar UI */
#custom-scrollbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 10px;
    height: 100vh;
    background: transparent;
    z-index: 9999;
    pointer-events: none; 
}

#custom-scrollbar-thumb {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    background: var(--muted-text); 
    border-radius: 5px;
    cursor: pointer;
    pointer-events: auto; 
    opacity: 0; 
    transition: background 0.2s ease, opacity 0.2s ease;
}

#custom-scrollbar-thumb:hover {
    opacity: 1 !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100%;
}

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

/* @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
} */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
}

header nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--logo-color);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

header .logo img {
    display: block;
    height: 44px; 
    width: auto;
    object-fit: contain;
}

.logo-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0 , 0.2); 
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.logo-icon-wrapper:hover {
    background-color: rgba(128, 128, 128, 0.35); 
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

header nav a {
    color: var(--nav-link-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

header nav a:hover {
    color: var(--nav-hover-color);
}

#theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 32px;
    height: 32px;
}

.theme-icon {
    position: absolute;
    height: 22px;
    width: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

body.light-mode .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

body.light-mode .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

section {
    width: 90%;
    max-width: 1200px;
    min-height: 70vh;
    padding: 80px 40px;
    margin: 40px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: none;
}

.stuff-section /* .intro-section */{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

.stuff-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.more-btn {
    padding: 12px 24px;
    border: none; 
    border-radius: 6px;
    background: linear-gradient(135deg, var(--nav-hover-color), var(--gradient-color)); 
    color: #000000; 
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.light-mode .more-btn {
    background: linear-gradient(135deg, var(--nav-hover-color), var(--gradient-color));
    color: #ffffff; 
}

.more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #000000; 
}

.stuff-section {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
}

.about-skills-layout {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: stretch; 
    gap: 40px;
    text-align: left;
    position: relative;
}

.about-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-column h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 10px;
}

.about-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-column .about-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--muted-text);
    text-align: left;
    display: block;
    margin: 0;
}

.about-column .about-paragraph span {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

.section-divider {
    width: 2px;
    background-color: var(--border-color);
    align-self: stretch;
}

/* Right Column: My Skills */
.skills-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Removed space-between since the button is extracted */
}



.skills-column h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.skills-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.skills-tabs.locked {
    pointer-events: none;
    opacity: 0.5;
}

/* --- Colorful Rounded-Square Tab Button States --- */
.skill-tab {
    position: relative;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--muted-text);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 1;
    overflow: hidden;
    transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

/* Use a pseudo-element for the gradient background to fade opacity smoothly instead of breaking the gradient interpolation */
.skill-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--nav-hover-color), var(--gradient-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.25s ease-in-out;
}

/* Hover & Active hover state */
.skill-tab:hover::before, 
.skill-tab.active:hover::before {
    opacity: 1;
}

.skill-tab:hover, 
.skill-tab.active:hover {
    border-color: transparent;
    color: #000000; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.light-mode .skill-tab:hover, 
body.light-mode .skill-tab.active:hover {
    color: #ffffff; 
}

/* Selected/Active state (when not actively hovered) */
.skill-tab.active {
    background: transparent;
    border: 2px solid var(--nav-hover-color);
    color: var(--nav-hover-color);
    transform: none;
    box-shadow: none;
}

.skill-tab.active::before {
    opacity: 0;
}

.skills-list-wrapper {
    min-height: 260px; 
    display: flex;
    flex-direction: column;
}

.skills-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.skill-item.hidden-skill {
    display: none !important;
}

.skill-item.reveal-skill {
    opacity: 1;
    transform: translateY(0);
}

.skill-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.skill-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.skill-level {
    font-size: 0.85rem;
    color: var(--muted-text);
}

.skill-logo-box {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Base Icon Styles --- */
.skill-icon {
    height: 40px; /* Adjust height to your preferred layout size */
    width: auto;
    display: block;
}

/* --- Dark Mode Defaults (using 'd' suffix) --- */
.learn-icon {
    content: url('images/svgs/learnd.svg');
}
.gaming-icon {
    content: url('images/svgs/gamingd.svg');
}
.ai-icon {
    content: url('images/svgs/aid.svg');
}
.eating-icon {
    content: url('images/svgs/eatingd.svg');
}

/* --- Light Mode Asset Swaps (using 'l' suffix) --- */
body.light-mode .learn-icon {
    content: url('images/svgs/learnl.svg');
}
body.light-mode .gaming-icon {
    content: url('images/svgs/gamingl.svg');
}
body.light-mode .ai-icon {
    content: url('images/svgs/ail.svg');
}
body.light-mode .eating-icon {
    content: url('images/svgs/eatingl.svg');
}

/* Skills More Container (Matching Projects CTA) */
.skills-more-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.skills-more-container span {
    color: var(--muted-text);
    font-size: 1rem;
}

.skills-more-img {
    height: 6rem; 
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

/* Default dark mode asset for skills more */
.skills-more-img {
    content: url('images/buttonart/valskillsd.png');
}

/* Light mode asset swap for skills more */
body.light-mode .skills-more-img {
    content: url('images/buttonart/valskillsl.png');
}

.stuff-section.is-visible /* .intro-section.is-visible */ {
    opacity: 1;
    transform: translateY(0);
}

.skill-item.hidden-category {
    display: none !important;
}

.stuff-section h2 {
    font-size: 2rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

/* Lightbox Overlay */
.art-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.art-modal.is-open {
    display: flex;
    opacity: 1;
}

/* Modal Content Image */
.art-modal-content {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.art-modal.is-open .art-modal-content {
    transform: scale(1);
}

/* Close Button */
.art-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.art-modal-close:hover {
    color: #ff4d4d;
    transform: scale(1.1);
}

.bomb-profile-card,
.bombs-species-section,
.art-preview-section,
.art-frame {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s ease-out, transform 0.85s ease-out;
}

.bomb-profile-card:first-child { transform: translateX(-60px); }
.bomb-profile-card:last-child { transform: translateX(60px); }
.art-frame { transform: scale(0.92); }

/* Triggered visible states */
.bomb-profile-card.animate-in,
.bombs-species-section.animate-in,
.art-preview-section.animate-in {
    opacity: 1;
    transform: translate(0, 0);
}

.art-frame.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* --- Stuff Block 3 Layout Styles --- */
.bombs-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.bombs-split-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 60px;
    text-align: left;
}

.bomb-profile-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bomb-profile-card h3 {
    font-size: 2rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 6px;
}

/* Word-style text wrapping layout */
.bomb-content-flow {
    width: 100%;
    overflow: hidden; 
}

.bomb-photo-float {
    float: left;
    height: 21rem !important;
    width: 14rem !important;
    margin-right: 20px;
    margin-bottom: 10px;
}

.bomb-desc-wrapped p {
    color: var(--muted-text);
    font-size: 1.05rem;
    line-height: 1.6;
}

.bomb-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.bombs-species-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.species-title {
    font-size: 2rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 6px;
}

.species-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.species-text p {
    color: var(--muted-text);
    font-size: 1.05rem;
    line-height: 1.6;
}

.species-action {
    display: flex;
    justify-content: flex-end;
}

/* Direct IMG height enforcement */
.more-pic-img {
    height: 100px;
    width: auto;
    display: block;
}

/* --- Stuff Block 3: More Images Theme Swapping --- */

/* Val More Graphic */
.val-more-asset {
    content: url('images/buttonart/valmorewikid.png');
}
body.light-mode .val-more-asset {
    content: url('images/buttonart/valmorewikil.png');
}

/* Valla More Graphic */
.valla-more-asset {
    content: url('images/buttonart/vallamorewikid.png');
}
body.light-mode .valla-more-asset {
    content: url('images/buttonart/vallamorewikil.png');
}

/* Art More Graphic */
.art-more-asset {
    content: url('images/buttonart/valartd.png');
}
body.light-mode .art-more-asset {
    content: url('images/buttonart/valartl.png');
}

/* Art Preview Section */
.art-preview-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
}

.art-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.art-header-line {
    flex: 1;
    height: 2px;
    background-color: var(--border-color);
}

.art-main-title {
    font-size: 3rem;
    margin-bottom: 0 !important;
}

.art-footer-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Container for the art collage */
.art-justified-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    justify-content: center; /* Centers incomplete rows neatly */
}

/* Individual art frame styling */
.art-frame {
    height: 180px; /* Controls the standard row height */
    flex-grow: 0;   /* Prevents items from stretching wider than natural */
    flex-shrink: 1;
    background: var(--character-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.art-frame:hover {
    transform: translateY(-4px);
    border-color: var(--nav-hover-color);
}

/* Keeps aspect ratio intact and scales down properly */
.art-frame img {
    height: 100%;
    width: auto;     /* Automatically adjusts width based on original ratio */
    max-width: 100%;
    object-fit: contain;
    display: block;
}
/* --- Stuff Block 4: Clean Layout (No Card Backgrounds) --- */
.socials-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

/* Flex Split Layout Matching About/Skills Section */
.socials-split-layout {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    text-align: left;
    position: relative;
}

.social-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;
    border: none;
    padding: 0;
}

.social-header .social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: opacity 0.2s ease;
}

.social-header .social-link:hover {
    opacity: 0.8;
}

.social-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
}

.social-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.social-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.data-label {
    font-size: 0.95rem;
    color: var(--muted-text);
    margin-top: 8px;
}

.data-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.data-value-sub {
    font-size: 0.95rem;
    color: var(--muted-text);
    margin: 0;
}

.data-value-sub a {
    color: var(--nav-hover-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.data-value-sub a:hover {
    text-decoration: underline;
}

/* Clean Construction Column (No background, border, or badge) */
.construction-col {
    border: none !important;
    background: transparent !important;
    padding: 0;
}

.construction-frame {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    overflow: hidden;
}

.construction-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discord-column-img {
    content: url('images/webextra/discordcolumnd.png');
}

body.light-mode .discord-column-img {
    content: url('images/webextra/discordcolumnl.png');
}

.socials-split-layout .social-col,
.social-row {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
}

.social-row {
    transform: translateX(-60px);
}

.socials-split-layout .social-col.animate-in,
.social-row.animate-in {
    opacity: 1;
    transform: translate(0, 0);
}

/* Lower Social Rows */
.other-socials {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.social-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--muted-text);
    font-size: 1.05rem;
}

.social-row-left .social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.social-row-left .social-link:hover {
    color: var(--nav-hover-color);
}

.social-row-right strong {
    color: var(--text-color);
}

/* Footer Action Block (Aligned with Projects/Skills CTA) */
.socials-more-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

/* Default or Live state */
.twitch-badge.live {
    color: var(--nav-hover-color);
}

/* Offline state */
.twitch-badge.offline {
    color: var(--muted-text);
}

.socials-more-img {
    height: 6rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    content: url('images/buttonart/valsocialsd.png'); /* Dark mode graphic default */
}

body.light-mode .socials-more-img {
    content: url('images/buttonart/valsocialsl.png'); /* Light mode asset swap */
}

footer {
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    position: relative;
    z-index: 10;
    transition: background 0.3s ease, border-color 0.3s ease;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

footer p {
    color: var(--muted-text);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.pocket-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    user-select: none;
}

.pocket-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.pocket-back {
    z-index: 1;
}

.lighter-item {
    z-index: 2;
    transform: translateY(-30%) scale(0.7);
    transform-origin: bottom center;
    transition: transform 0.3s ease;
}

.pocket-front {
    z-index: 3;
}

.pocket-wrapper:hover .lighter-item {
    transform: translateY(-60%) scale(0.7);
}

body.custom-cursor {
    cursor: url('images/svgs/lighter.svg') 12 12, auto;
}

body.custom-cursor a,
body.custom-cursor button,
body.custom-cursor #lighter-container {
    cursor: url('images/svgs/lighter.svg') 12 12, auto;
}

.cookie-box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 22vw;
    min-width: 280px;
    max-width: 360px;
    z-index: 9998;
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background-color: rgba(18, 18, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* Transition opacity, transform, and visibility together for a clean fade */
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease, bottom 0.1s ease-out;
}

body.light-mode .cookie-box {
    background-color: rgba(255, 255, 232, 0.95);
    border-color: rgba(0, 0, 0, 0.15);
    color: #121212;
}

.cookie-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Artwork Column */
/* Body content and actions transition for dismissal */
.cookie-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Artwork column: no flex transitions for instant scaling */
.cookie-artwork {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
    background-color: transparent;
    /* Transition removed so size changes are instant */
}

.cookie-artwork img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Reacting layout state */
.cookie-box.reacting .cookie-body {
    display: none;
}

.cookie-box.reacting .cookie-artwork {
    flex: 1 1 100%;
    height: 120px;
}

/* Footer reset link styling */
.cookie-reset-link {
    background: none;
    border: none;
    color: inherit;
    font-size: 0.8rem;
    text-decoration: underline;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cookie-reset-link:hover {
    opacity: 1;
}

/* Content & Buttons Column */
.cookie-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.cookie-message p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
}

.cookie-actions {
    display: flex;
    gap: 8px;
}

.cookie-btn {
    flex: 1;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.btn-accept {
    background-color: #00ff00;
    color: #000;
    border: none;
}

.btn-deny {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    opacity: 0.8;
}

.btn-deny:hover {
    opacity: 1;
}


