/* --- Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Light Theme (White, Pink, Purple, Dark Blue) */
    --color-primary: #6a0dad;          /* Purple */
    --color-secondary: #db7093;       /* Pink (PaleVioletRed) */
    --color-accent: #ff69b4;          /* Brighter Pink (HotPink) for hover/accent */
    --color-background: #fdfaff;       /* Very Light Off-White/Lavender */
    --color-background-alt: #f3eafc;   /* Light Purple for alternating sections */
    --color-text: #1a1f36;          /* Dark Blue */
    --color-light-text: #4a5568;     /* Medium Dark Blue/Grey */
    --color-white: #ffffff;
    --color-border: #e2e8f0;          /* Light Grey */
    --color-header-bg: var(--color-white); /* Header background */
    --color-card-bg: var(--color-white);
    --color-card-border-accent: var(--color-primary); /* Purple accent */
    --color-error: #ae2012;
    --color-success: #2a9d8f;
    --color-warning: #e9c46a;
    --color-shadow: rgba(50, 50, 93, 0.1);
    --color-input-bg: var(--color-white);
    --color-input-border: var(--color-border);
    --cursor-border: var(--color-secondary);
    --cursor-hover-bg: rgba(219, 112, 147, 0.2);
    --image-filter: none;
    --color-secondary-transparent: rgba(219, 112, 147, 0.3);
    --footer-bg: #1a1f36;          /* Dark Blue Footer */
    --footer-text: #e2e8f0;        /* Light text on dark footer */

    /* Fonts */
    --font-primary: 'Lato', sans-serif;
    --font-headings: 'Playfair Display', serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Effects */
    --shadow-sm: 0 2px 4px var(--color-shadow);
    --shadow-md: 0 4px 8px var(--color-shadow);
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --theme-transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, border-color var(--transition-speed) ease;

    /* Nove varijable za animacije */
    --hover-scale: 1.05;
    --hover-rotate: 2deg;
    --hover-shadow: 0 10px 20px rgba(50, 50, 93, 0.15);
    --glow-shadow: 0 0 15px var(--color-secondary);
}

.dark-theme {
    /* Dark Theme Variables */
    --color-primary: #c471ed;          /* Lighter Purple */
    --color-secondary: #f098b7;       /* Lighter Pink */
    --color-accent: #ff80c4;          /* Brighter Light Pink */
    --color-background: #1a1f36;       /* Dark Blue */
    --color-background-alt: #242a44;   /* Slightly different Dark Blue/Purple for sections */
    --color-text: #e2e8f0;          /* Light Grey/Blue */
    --color-light-text: #a0aec0;     /* Lighter Grey/Blue */
    --color-white: #ffffff;
    --color-border: #4a5568;          /* Medium Dark Blue/Grey */
    --color-header-bg: #1f263e;    /* Slightly lighter than main bg for header */
    --color-card-bg: #2d3748;          /* Darker Card Background */
    --color-card-border-accent: var(--color-primary); /* Lighter Purple accent */
    --color-error: #f94144;
    --color-success: #90be6d;
    --color-warning: #f9c74f;
    --color-shadow: rgba(0, 0, 0, 0.3); /* Darker shadow */
    --color-input-bg: #4a5568;
    --color-input-border: #718096;
    --cursor-border: var(--color-secondary);
    --cursor-hover-bg: rgba(240, 152, 183, 0.2);
    --image-filter: brightness(0.85) contrast(1.05);
    --color-secondary-transparent: rgba(240, 152, 183, 0.3);
    --footer-bg: #0f1320;          /* Very Dark Blue Footer */
    --footer-text: #a0aec0;
    --glow-shadow: 0 0 15px rgba(240, 152, 183, 0.5);
}

/* Apply theme transitions */
body, .site-header, .card, input, textarea, button, .section, footer, .service-placeholder, #cart-content, .custom-cursor, .bio-headshot {
    transition: var(--theme-transition), border var(--transition-speed) ease, background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
a {
     transition: color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}
h1, h2, h3, h4, h5, h6 {
    transition: color var(--transition-speed) ease;
}
.dark-theme img,
.dark-theme .placeholder-image:not(.service-placeholder) {
    filter: var(--image-filter);
    transition: filter var(--transition-speed) ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    cursor: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

p { margin-bottom: var(--spacing-md); }
a { color: var(--color-secondary); text-decoration: none; }
a:hover, a:focus {
    color: var(--color-accent);
    text-decoration: underline;
    text-shadow: 0 0 1px rgba(255, 105, 180, 0.3);
}
img { max-width: 100%; height: auto; display: block; }

/* --- Custom Cursor --- */
.custom-cursor {
    position: fixed; left: 0; top: 0; width: 20px; height: 20px;
    border: 2px solid var(--cursor-border); border-radius: 50%;
    pointer-events: none; transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-width 0.2s ease, opacity 0.2s ease, border-color var(--transition-speed) ease;
    z-index: 9999;
    background-color: transparent; opacity: 1;
    mix-blend-mode: difference; /* Dodato za bolji kontrast */
}
a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor,
input:hover ~ .custom-cursor,
textarea:hover ~ .custom-cursor {
    width: 40px; height: 40px;
    background-color: var(--cursor-hover-bg);
    border-width: 1px;
    animation: pulse 1.5s infinite alternate;
}

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

@media (pointer: coarse) {
    .custom-cursor { display: none; }
    body { cursor: auto; }
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--color-header-bg);
    padding: var(--spacing-md) 0;
    border-bottom: 2px solid var(--color-primary); /* Purple border */
    position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px); /* Dodaje blurry efekat za header */
    -webkit-backdrop-filter: blur(10px);
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        rgba(219, 112, 147, 0.05),
        rgba(106, 13, 173, 0.05) 50%,
        rgba(219, 112, 147, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.site-header:hover::before {
    opacity: 1;
}

.main-nav { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.main-nav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.main-nav ul li { margin-left: var(--spacing-lg); }
.main-nav ul li a {
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.9rem;
    color: var(--color-primary);
    padding-bottom: 5px; border-bottom: 2px solid transparent;
    transition: border-color var(--transition-speed) ease, color var(--transition-speed) ease;
    position: relative;
    display: inline-block;
}

.main-nav ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav ul li a:hover::before {
    width: 100%;
}

.main-nav ul li a:hover, .main-nav ul li a:focus {
    color: var(--color-accent);
    text-decoration: none;
    transform: translateY(-2px);
}

#cart-count {
    font-weight: normal;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.main-nav ul li a:hover #cart-count {
    transform: scale(1.1);
}

.theme-toggle-li { margin-left: var(--spacing-md); display: flex; align-items: center; }
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    transition: var(--theme-transition), transform var(--transition-speed) ease, box-shadow 0.3s ease;
}
.theme-toggle-btn:hover {
    background-color: var(--color-border);
    transform: scale(1.2) rotate(15deg);
    box-shadow: 0 0 10px rgba(219, 112, 147, 0.5);
}

/* --- Sections --- */
.section {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border);
    overflow-x: hidden;
    background-color: var(--color-background); /* Default background */
    position: relative;
}

/* --- General Rule for ALL Section Titles --- */
.section-title {
    text-align: center;         /* Correct centering method */
    margin-bottom: var(--spacing-lg);
    font-size: 2.2rem;
    color: var(--color-primary);
    position: relative;         /* Needed for ::after */
    display: block;             /* Ensure it takes full width */
}

/* Underline effect for ALL Section Titles */
.section-title::after {
    content: '';
    position: absolute;
    width: 50px; /* Initial width */
    height: 3px;
    bottom: -10px; /* Position below the text */
    left: 50%; /* Center the start */
    transform: translateX(-50%); /* Adjust to truly center the line itself */
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    transition: width 0.3s ease;
}

/* Hover effect for the underline (applied via parent section hover) */
.section:hover .section-title::after {
    width: 100px; /* Or desired hover width */
}


.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
                rgba(219, 112, 147, 0.05) 0%,
                rgba(106, 13, 173, 0.02) 40%,
                transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.section:hover::before {
    opacity: 1;
}

/* Apply alternating background */
.section:nth-of-type(even) { /* Target even sections: Books, Shop, Contact */
    background-color: var(--color-background-alt); /* Light Purple / Darker Blue */
}
/* Special background for cart */
.section-cart {
    background-color: var(--color-background); /* Use standard background for cart */
}
.section:last-of-type { border-bottom: none; }

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg) auto;
    color: var(--color-light-text);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.section-intro:hover {
    text-shadow: 0 0 1px rgba(219, 112, 147, 0.3);
}

/* --- Placeholder Styles --- */
.placeholder-image {
    background-color: rgba(128, 128, 128, 0.1);
    color: var(--color-light-text); text-align: center; padding: var(--spacing-md);
    border: 1px dashed var(--color-border); display: flex; align-items: center; justify-content: center;
    font-style: italic; width: 100%; object-fit: contain;
    transition: all 0.3s ease;
}

.placeholder-image:hover {
    background-color: rgba(128, 128, 128, 0.15);
    border-style: solid;
}

.dark-theme .placeholder-image { background-color: rgba(200, 200, 200, 0.1); border-color: var(--color-border); color: var(--color-light-text); }
.dark-theme .placeholder-image:hover { background-color: rgba(200, 200, 200, 0.15); }

/* --- Biography Section --- */
.bio-grid {
    display: grid;
    grid-template-columns: clamp(200px, 25vw, 250px) 1fr clamp(300px, 35vw, 400px);
    gap: var(--spacing-lg);
    align-items: start;
    position: relative;
    z-index: 1;
}
.bio-image-left {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: sticky;
    top: 120px;
    transition: all 0.5s ease;
}

.bio-image-left:hover {
    transform: scale(1.05);
}

.bio-headshot {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--color-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15), 0 0 0 4px var(--color-secondary);
    transition: all 0.5s ease;
}

.bio-headshot:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2), 0 0 0 6px var(--color-primary);
    transform: rotate(2deg);
}

.dark-theme .bio-headshot {
    border-color: var(--color-card-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), 0 0 0 4px var(--color-secondary);
}

.dark-theme .bio-headshot:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.4), 0 0 0 6px var(--color-primary), 0 0 20px rgba(196, 113, 237, 0.5);
}

.bio-text-middle {
    padding-top: var(--spacing-sm);
    position: relative;
    z-index: 1;
}
.bio-text-middle p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    transition: transform 0.3s ease;
}
.bio-text-middle p:hover {
    transform: translateX(5px);
}
.bio-text-middle strong {
    color: var(--color-primary);
    position: relative;
    transition: all 0.3s ease;
}

.bio-text-middle strong::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.bio-text-middle strong:hover {
    color: var(--color-secondary);
}

.bio-text-middle strong:hover::after {
    width: 100%;
}

.bio-image-right {
    width: 100%;
    aspect-ratio: 16 / 9;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.bio-image-right:hover {
    transform: scale(1.03);
}

.bio-presentation-img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: all 0.5s ease;
}

.bio-presentation-img:hover {
    transform: scale(1.05);
    box-shadow: var(--hover-shadow);
}

/* --- Card Layout (Books & Shop) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Allows 3+ columns */
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.card {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex; flex-direction: column;
    border-top: 4px solid var(--color-card-border-accent);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease,
               background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
    position: relative;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(219, 112, 147, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--hover-shadow);
    border-top-color: var(--color-accent);
}

.card:hover::before {
    opacity: 1;
}

/* Link specific styling */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-card-link:hover h2 { /* Example hover */
     color: var(--color-secondary);
}

.card-image {
    width: 100%;
    aspect-ratio: 13 / 17; /* Corrected aspect ratio */
    object-fit: cover;
    margin-bottom: 0;
    height: auto;
    transition: all 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.placeholder-book-cover {
    aspect-ratio: 13 / 17; /* Corrected aspect ratio */
    object-fit: contain;
    height: auto;
    min-height: 0;
    padding: var(--spacing-lg);
    background-color: rgba(128, 128, 128, 0.05);
    transition: all 0.3s ease;
}

.placeholder-book-cover:hover {
    background-color: rgba(128, 128, 128, 0.1);
    transform: scale(1.02);
}

.dark-theme .placeholder-book-cover {
    background-color: rgba(200, 200, 200, 0.05);
}

.dark-theme .placeholder-book-cover:hover {
    background-color: rgba(200, 200, 200, 0.1);
}

.service-placeholder {
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    font-weight: bold; color: var(--color-primary);
    background-color: var(--color-background-alt);
    width: 100%;
    aspect-ratio: 13 / 17; /* Corrected aspect ratio */
    margin-bottom: 0;
    height: auto;
    min-height: 0;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.5s ease;
}

.service-placeholder:hover {
    font-size: 3rem;
    color: var(--color-accent);
    background-color: var(--color-background);
    box-shadow: inset 0 0 20px rgba(219, 112, 147, 0.2);
}

.dark-theme .service-placeholder {
    background-color: var(--color-background);
    color: var(--color-primary);
    border-bottom-color: var(--color-border);
}

.dark-theme .service-placeholder:hover {
    color: var(--color-accent);
    background-color: rgba(45, 55, 72, 0.7);
    box-shadow: inset 0 0 20px rgba(240, 152, 183, 0.2);
}

.card-content {
    padding: var(--spacing-md);
    flex-grow: 1; /* Let content grow */
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.card-actions { /* Style for button container */
    padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
    margin-top: auto; /* Push to bottom */
    display: flex;
    gap: var(--spacing-sm);
    z-index: 2; /* Ensure buttons are clickable */
    position: relative; /* Needed for z-index */
}


.card-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.card-content h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.card:hover .card-content h2 {
    color: var(--color-secondary);
}

.card:hover .card-content h2::after {
    width: 100%;
}

.card-content p {
    margin-bottom: var(--spacing-sm);
    /* Removed flex-grow: 1 from p to let .card-content control flex spacing */
    transition: all 0.3s ease;
}

.card:hover .card-content p {
    transform: translateY(-2px);
}

.card-content em {
    color: var(--color-light-text);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.card:hover .card-content em {
    color: var(--color-text);
}

.book-subtitle {
    font-size: 0.9rem;
    color: var(--color-light-text);
    margin-top: -0.8rem;
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.card:hover .book-subtitle {
    color: var(--color-secondary);
}

/* --- Book/Shop Status --- */
.book-status {
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    text-transform: uppercase;
    flex-grow: 0;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.card:hover .book-status {
    transform: scale(1.05);
    letter-spacing: 0.5px;
}

.status-sold-out { color: var(--color-error); }
.status-available { color: var(--color-success); }
.status-in-process { color: var(--color-warning); }
.shop-card-sold-out { opacity: 0.7; }
.sold-out-image { filter: grayscale(100%); }
.shop-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    flex-grow: 0;
    transition: all 0.3s ease;
    display: inline-block;
}

.card:hover .shop-price {
    color: var(--color-secondary);
    transform: scale(1.1);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease,
                transform var(--transition-speed) ease,
                color var(--transition-speed) ease,
                opacity var(--transition-speed) ease,
                box-shadow 0.3s ease;
    /* Removed margin-top: auto here, handled by .card-actions */
    align-self: flex-start;
    text-decoration: none;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
     z-index: 1; /* Ensure button text is above pseudo-element */
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

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

.btn-primary:hover:not(:disabled), .btn-primary:focus:not(:disabled) {
    background-color: color-mix(in srgb, var(--color-primary), black 15%);
    color: var(--color-white);
    transform: translateY(-4px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.3);
}

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

.btn-secondary:hover:not(:disabled), .btn-secondary:focus:not(:disabled) {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-4px) scale(1.05);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(219, 112, 147, 0.4);
}

.add-to-cart-btn.added {
    background-color: var(--color-success);
    cursor: default;
    opacity: 0.8;
}

.add-to-cart-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.add-to-cart-btn:not(:disabled):not(.added)::after {
    content: '→';
    position: absolute;
    right: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.add-to-cart-btn:not(:disabled):not(.added):hover::after {
    opacity: 1;
    right: 10px;
}

/* --- Cart Display Section --- */
#cart-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-card-bg);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

#cart-content:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

#cart-items-list {
    margin-bottom: var(--spacing-lg);
}

.cart-empty-message {
    text-align: center;
    color: var(--color-light-text);
    padding: var(--spacing-lg) 0;
    display: block;
    transition: all 0.3s ease;
}

.cart-empty-message:hover {
    color: var(--color-secondary);
    transform: scale(1.05);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
    position: relative;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background-color: rgba(219, 112, 147, 0.05);
    padding-left: 10px;
    border-bottom-color: var(--color-secondary);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    flex: 0 0 60px;
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.cart-item:hover .cart-item-image {
    transform: scale(1.1);
    border-color: var(--color-secondary);
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-right: var(--spacing-md);
    transition: all 0.3s ease;
}

.cart-item:hover .cart-item-details {
    transform: translateX(5px);
}

.cart-item-details .item-name {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cart-item:hover .cart-item-details .item-name {
    color: var(--color-secondary);
}

.cart-item-details .item-price {
    font-size: 0.9rem;
    color: var(--color-light-text);
    transition: all 0.3s ease;
}

.cart-item:hover .cart-item-details .item-price {
    color: var(--color-text);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 var(--spacing-sm);
}

.cart-item-quantity button {
    background-color: var(--color-border);
    color: var(--color-text);
    border: none;
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cart-item-quantity button::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.cart-item-quantity button:hover::before {
    width: 150%;
    height: 150%;
}

.cart-item-quantity button:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: scale(1.1);
}

.cart-item-quantity span {
    min-width: 25px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cart-item:hover .cart-item-quantity span {
    transform: scale(1.1);
}

.cart-item-subtotal {
    font-weight: 700;
    min-width: 80px;
    text-align: right;
    margin-left: auto;
    font-size: 1rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.cart-item:hover .cart-item-subtotal {
    color: var(--color-secondary);
    transform: scale(1.05);
}

.cart-item-remove {
    margin-left: var(--spacing-sm);
}

.cart-item-remove button {
    background: none;
    border: none;
    color: var(--color-error);
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 8px;
    line-height: 1;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.cart-item-remove button:hover {
    color: color-mix(in srgb, var(--color-error), black 25%);
    transform: scale(1.2) rotate(90deg);
    background-color: rgba(174, 32, 18, 0.1);
}

.cart-summary {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--color-primary);
    display: block;
    transition: all 0.3s ease;
}

#cart-content:hover .cart-summary {
    border-top-color: var(--color-secondary);
}

.cart-summary hr {
    border: 0;
    height: 1px;
    background-color: var(--color-border);
    margin: var(--spacing-md) 0;
    transition: all 0.3s ease;
}

#cart-content:hover .cart-summary hr {
    background-color: var(--color-secondary-transparent);
    height: 2px;
}

.cart-summary .summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cart-summary .summary-line:hover {
    transform: translateX(5px);
}

.cart-summary .summary-line span:last-child {
    font-weight: 700;
    transition: all 0.3s ease;
}

.cart-summary .summary-line:hover span:last-child {
    color: var(--color-secondary);
}

.cart-summary .summary-line.total-line {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px dashed var(--color-border);
    transition: all 0.3s ease;
}

.cart-summary .summary-line.total-line:hover {
    color: var(--color-secondary);
    border-top-style: solid;
}

.cart-summary .summary-line.total-line span:last-child {
    font-weight: 700;
    transition: all 0.3s ease;
}

.cart-summary .summary-line.total-line:hover span:last-child {
    transform: scale(1.1);
}

.cart-summary .btn-checkout {
    display: block;
    width: 100%;
    margin-top: var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cart-summary .btn-checkout::after {
    content: '→';
    position: absolute;
    right: 30px;
    opacity: 0;
    transition: all 0.3s ease;
}

.cart-summary .btn-checkout:hover::after {
    opacity: 1;
    right: 20px;
}

/* --- Contact Section --- */
.section-contact .section-title {
    /* text-align is handled by the general .section-title rule */
    margin-bottom: 2rem; /* Keep specific margin */
    /* position: relative; <- Also handled generally */
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.contact-form .form-group:hover {
    transform: translateX(5px);
}

.contact-form label {
    display: block; /* Change back to block for layout */
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: var(--color-primary);
    transition: all 0.3s ease;
    position: relative;
    /* display: inline-block; <- Remove this */
}

/* Keep label hover effect if desired, adjust if needed */
.contact-form label::after {
    content: '*'; /* Add asterisk back */
    color: var(--color-error);
    margin-left: 5px;
    font-size: 0.8rem;
    opacity: 0.7;
    /* Removed underline effect as it was interfering */
}

.contact-form .form-group:hover label {
    color: var(--color-secondary);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-input-border);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: var(--color-input-bg);
    color: var(--color-text);
    transition: all 0.3s ease;
}

.contact-form input:hover, .contact-form textarea:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px var(--color-secondary-transparent);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px var(--color-secondary-transparent), var(--glow-shadow);
}

.contact-form textarea {
    resize: vertical;
}

.contact-info-container h3 {
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-info-container h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.contact-info-container:hover h3 {
    color: var(--color-secondary);
}

.contact-info-container:hover h3::after {
    width: 100%;
}

.contact-info-container p {
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
}

.contact-info-container p:hover {
    transform: translateX(5px);
}

.contact-info-container p strong {
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.contact-info-container p:hover strong {
    color: var(--color-secondary);
}

.contact-placeholder-image {
    min-height: 100px;
    margin-top: var(--spacing-lg);
    transition: all 0.3s ease;
}

.contact-placeholder-image:hover {
    transform: scale(1.05);
    border-color: var(--color-secondary);
}

.social-links {
    margin-top: var(--spacing-lg);
}

.social-links a {
    display: inline-block;
    margin-right: var(--spacing-sm);
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s ease;
    color: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    background-color: var(--color-secondary);
    transition: height 0.3s ease;
    z-index: -1;
    opacity: 0.2;
}

.social-links a:hover::before {
    height: 100%;
}

.social-links a:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(219, 112, 147, 0.3);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: var(--spacing-lg) 0;
    text-align: center;
    margin-top: var(--spacing-xl);
    border-top: 3px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(106, 13, 173, 0.1));
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%,
                rgba(219, 112, 147, 0.1) 0%,
                transparent 70%);
    pointer-events: none;
}

.site-footer p {
    margin: 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.site-footer p:hover {
    color: var(--color-white);
    transform: scale(1.05);
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in { transform: translateY(0); }
.fade-in-up { transform: translateY(30px); }
.slide-in-left { transform: translateX(-50px); }
.slide-in-right { transform: translateX(50px); }
.zoom-in { transform: scale(0.9); }

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    transition-delay: var(--animation-delay, 0s) !important;
}

/* --- Notes & Utilities --- */
.note {
    font-size: 0.85rem;
    color: var(--color-light-text);
    margin-top: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
}

.note:hover {
    color: var(--color-secondary);
}

/* Dodatne animacije */
@keyframes glow {
    0% { box-shadow: 0 0 5px var(--color-secondary-transparent); }
    50% { box-shadow: 0 0 15px var(--color-secondary); }
    100% { box-shadow: 0 0 5px var(--color-secondary-transparent); }
}

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

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

.glow-effect:hover {
    animation: glow 1.5s infinite;
}

.float-effect:hover {
    animation: float 3s ease-in-out infinite;
}

.spin-effect:hover {
    animation: spin 2s linear infinite;
}

/* --- Responsiveness --- */
/* =============================================== */
/* Responsive Adjustments & Improvements           */
/* =============================================== */

/* --- Intermediate Breakpoint (Optional, adjust width as needed) --- */
@media (max-width: 1100px) {
    .bio-grid {
        gap: var(--spacing-md);
    }
    .main-nav ul li {
         margin-left: var(--spacing-md);
    }
}

/* --- Refining Tablet & Larger Mobile (Existing 992px Breakpoint) --- */
@media (max-width: 992px) {
    .section {
        padding: var(--spacing-lg) 0;
    }
    .bio-image-left {
        position: static;
    }
     .bio-text-middle {
        text-align: center;
    }
    .bio-grid {
         grid-template-columns: 1fr;
         max-width: 600px;
         margin-left: auto;
         margin-right: auto;
    }
    .bio-image-right {
        width: 100%;
        max-width: 100%;
        margin: var(--spacing-md) auto 0 auto;
        position: static;
        aspect-ratio: 16 / 9;
    }
    .bio-presentation-img { height: auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-container { margin-top: var(--spacing-lg); text-align: center; }
    .contact-placeholder-image { margin-left: auto; margin-right: auto; }
    .social-links { text-align: center; }
    .contact-info-container h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* --- Refining Smaller Tablet/Mobile (Existing 768px Breakpoint) --- */
@media (max-width: 768px) {
    .section {
        padding: var(--spacing-lg) 0;
    }
    .container {
        padding: 0 var(--spacing-sm);
    }
    .card-grid {
        gap: var(--spacing-md);
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust minmax if needed */
    }
    .card-content {
        padding: var(--spacing-md);
    }
    #cart-content {
        padding: var(--spacing-md);
    }
    h1, .section-title { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .contact-grid {
        gap: var(--spacing-md);
    }
    .payment-container,
    .success-container {
        padding: var(--spacing-md);
        margin: var(--spacing-lg) auto;
    }
     .bio-image-left {
        width: clamp(160px, 35vw, 200px);
        height: clamp(160px, 35vw, 200px);
    }
    .main-nav { flex-direction: column; align-items: center; }
    .main-nav ul { margin-top: var(--spacing-md); padding: 0; flex-wrap: wrap; justify-content: center;}
    .main-nav ul li { margin: 5px var(--spacing-sm); }
    .theme-toggle-li { order: -1; margin-bottom: var(--spacing-md); }
    .cart-item { gap: var(--spacing-sm); padding: var(--spacing-md) 0; flex-wrap: wrap; }
    .cart-item-image { flex-basis: 60px; }
    .cart-item-details { flex-basis: calc(100% - 80px); margin-right: 0; }
    .cart-item-quantity { flex-basis: 60%; order: 3; margin-left: auto; justify-content: flex-end; margin-top: var(--spacing-sm); }
    .cart-item-subtotal { flex-basis: 35%; order: 4; text-align: right; margin-top: var(--spacing-sm); padding-left: var(--spacing-sm);}
    .cart-item-remove { position: absolute; top: 10px; right: 10px; background-color: var(--color-card-bg); padding: 2px 4px; border-radius: 50%; }
    .section-title::after { width: 40px; }
    .section:hover .section-title::after { width: 80px; }
}

/* --- Refining Smallest Mobile (Existing 480px Breakpoint) --- */
@media (max-width: 480px) {
    .section {
        padding: var(--spacing-md) 0;
    }
    h1, .section-title { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    body { font-size: 15px; }
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
     .card-content {
        padding: var(--spacing-sm);
     }
    .payment-container,
    .success-container {
        padding: var(--spacing-sm);
        margin: var(--spacing-md) auto;
    }
     .cart-item-quantity button {
        width: 26px;
        height: 26px;
        line-height: 26px;
        font-size: 1rem;
    }
    .logo { font-size: 1.2rem; }
     .bio-grid { grid-template-columns: 1fr; }
     .bio-image-left { width: 150px; height: 150px; }
     .cart-item { flex-direction: column; align-items: flex-start; }
     .cart-item-image { margin-bottom: var(--spacing-sm); }
     .cart-item-details { flex-basis: 100%; }
     .cart-item-quantity { flex-basis: 100%; justify-content: flex-start; margin-left: 0; }
     .cart-item-subtotal { flex-basis: 100%; text-align: left; padding-left: 0; margin-top: var(--spacing-sm); }
     .cart-item-remove { top: 5px; right: 5px; }
     .main-nav ul li { margin-left: var(--spacing-md); }
     .section-title { font-size: 1.8rem; }
}

/* --- Disable Hover Effects on Touch Devices --- */
@media (hover: none) and (pointer: coarse) {
    .card:hover,
    .btn:hover:not(:disabled),
    .bio-headshot:hover,
    .bio-image-left:hover,
    .bio-image-right:hover,
    .bio-presentation-img:hover,
    .social-links a:hover,
    .main-nav ul li a:hover,
    .theme-toggle-btn:hover,
    .logo:hover::after,
    .placeholder-image:hover,
    .placeholder-book-cover:hover,
    .service-placeholder:hover,
    .cart-item:hover,
    .cart-item-quantity button:hover,
    .cart-item-remove button:hover,
    #cart-content:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
        background-color: inherit;
        border-color: inherit;
    }
    .float-effect:hover { animation: none; }
     .btn:hover::before, .btn:hover::after, .contact-form .btn-primary:hover::before, .cart-summary .btn-checkout:hover::after { opacity: 0; width: 0; height: 0; right: inherit; }
     .main-nav ul li a:hover::before { width: 0; }
     .contact-form .form-group:hover label, .contact-info-container:hover h3, .card:hover .card-content h2 { color: var(--color-primary); }
     .card:hover .card-content h2::after, .contact-form .form-group:hover label::after { width: 0; }
}

/* --- Accessibility & Readability --- */
@media (max-width: 768px) {
    .btn,
    .theme-toggle-btn,
    .cart-item-quantity button,
    .cart-item-remove button,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
    }
    .cart-item-remove button { padding: 5px 8px; }
     .theme-toggle-btn { padding: 5px 8px; }
}

/* Additional CSS for contact form */
.error-message {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 5px;
    transition: all 0.3s ease;
    display: block;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
.error-message:not(:empty) {
    opacity: 1;
    height: auto;
    margin-top: 5px;
    padding-left: 5px;
    border-left: 2px solid var(--color-error);
}
.success-message {
    color: var(--color-success); padding: 15px; margin-bottom: 20px; border: 1px solid var(--color-success); border-radius: var(--border-radius); background-color: rgba(42, 157, 143, 0.1); text-align: center; animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.dark-theme .contact-form input:focus,
.dark-theme .contact-form textarea:focus {
    background-color: rgba(74, 85, 104, 0.9);
    box-shadow: 0 0 0 3px rgba(240, 152, 183, 0.3), 0 0 15px rgba(240, 152, 183, 0.2);
}
.contact-form input:valid:not(:placeholder-shown),
.contact-form textarea:valid:not(:placeholder-shown) { border-color: var(--color-success); background-color: rgba(42, 157, 143, 0.05); }
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) { border-color: var(--color-error); background-color: rgba(174, 32, 18, 0.05); }
.contact-form .btn-primary { position: relative; overflow: hidden; }
.contact-form .btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.2), transparent ); transition: all 0.5s ease; }
.contact-form .btn-primary:hover::before { left: 100%; }
/* Removed label after content for required '*' as it conflicted with layout */
/* .contact-form label::after { content: '*'; color: var(--color-error); margin-left: 5px; font-size: 0.8rem; opacity: 0.7; } */
.contact-form { position: relative; animation: formSlideIn 0.8s ease-out forwards; }
@keyframes formSlideIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes successPulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.success-message { animation: successPulse 2s ease-in-out; }
.back-link { display: inline-block; color: var(--color-secondary); text-decoration: none; transition: all 0.3s ease; position: relative; padding-left: 20px; }
.back-link::before { content: '←'; position: absolute; left: 0; transition: all 0.3s ease; }
.back-link:hover { color: var(--color-accent); transform: translateX(-5px); }
.back-link:hover::before { transform: translateX(-3px); }
.payment-method-badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; color: white; background-color: #635BFF; margin: 0 auto 1.5rem auto; }
.dark-theme .success-container, .dark-theme .payment-container { background-color: var(--color-card-bg); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
.dark-theme .success-icon { background-color: rgba(42, 157, 143, 0.15); }
.dark-theme .section-title { color: var(--color-primary); }
.dark-theme .section-title::after { background-color: var(--color-primary); } /* Changed background-color to background */
.dark-theme .thank-you-message { color: var(--color-text); }
.dark-theme .email-message { color: var(--color-light-text); }
.dark-theme .order-details, .dark-theme .download-section { background-color: var(--color-background); border-color: var(--color-border); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
.dark-theme .order-title, .dark-theme .download-title { color: var(--color-primary); border-bottom-color: var(--color-border); }
.dark-theme .detail-line { border-bottom-color: rgba(74, 85, 104, 0.5); }
.dark-theme .detail-line i { color: var(--color-secondary); }
.dark-theme .email-input { background-color: var(--color-input-bg); color: var(--color-text); border-color: var(--color-border); }
.dark-theme .email-input:focus { border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(240, 152, 183, 0.3); }
.dark-theme .email-label { color: var(--color-primary); }
.dark-theme .download-button { background-color: var(--color-primary); }
.dark-theme .download-button:hover { background-color: var(--color-secondary); }
.dark-theme .action-button.home-button { background-color: var(--color-primary); }
.dark-theme .action-button.home-button:hover { background-color: color-mix(in srgb, var(--color-primary), white 15%); }
.dark-theme .action-button.print-button { background-color: var(--color-secondary); }
.dark-theme .action-button.print-button:hover { background-color: color-mix(in srgb, var(--color-secondary), white 15%); }
.dark-theme .card-brand { opacity: 0.85; }
.dark-theme .card-brand:hover { opacity: 1; }
.dark-theme .payment-method-badge { background-color: #7B6FFF; }
.dark-theme #paypal-button-container { background-color: var(--color-background); padding: 5px; border-radius: 4px; }
.dark-theme .payment-methods-hr { background-color: var(--color-border); }
.dark-theme .payment-methods-hr::after { background-color: var(--color-card-bg); color: var(--color-light-text); }
.dark-theme .payment-note { color: var(--color-light-text); }
.dark-theme .order-details, .dark-theme .download-section { color: var(--color-text); }
.dark-theme .fa-file-pdf, .dark-theme .fa-download { color: rgba(255, 255, 255, 0.9); }
.dark-theme .detail-line:hover { background-color: rgba(255, 255, 255, 0.03); }
.dark-theme .download-button:hover .fa-file-pdf { transform: translateY(-2px); }
.dark-theme .back-link { color: var(--color-secondary); }
.dark-theme .back-link:hover { color: var(--color-accent); }