/* Cryptical Life - Lake Tahoe Inspired Ecommerce Theme */

:root {
    --deep-lake-blue: #0a0f1a;
    --darker-blue: #05080d;
    --sunset-red: #ff4d4d;
    --sunset-orange: #ff8c42;
    --sunset-purple: #8b5cf6;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --border-color: #2d3748;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.1);
    --logo-x: 20px;
    --logo-y: 15px;
    --logo-z: 1002;
    --logo-size: 2rem;
    --gallery-x: calc(48vw - 230px);
    --gallery-y: 15px;
    --gallery-z: 1002;
    --gallery-size: 2rem;
    --clothing-x: calc(35vw + 150px);
    --clothing-y: 15px;
    --clothing-z: 1002;
    --clothing-size: 2rem;
    --equipment-x: calc(35vw + 330px);
    --equipment-y: 15px;
    --equipment-z: 1002;
    --equipment-size: 2rem;
    --cart-x: calc(96vw - 75px);
    --cart-y: 0px;
    --cart-z: 1002;
    --cart-width: 50px;
    --cart-height: 70px;
    --account-x: calc(99.5vw - 60px);
    --account-y: 15px;
    --account-z: 1002;
    --account-size: 52px;
    --password-eye-hidden-x: 92%;
    --password-eye-hidden-y: 100%;
    --password-eye-visible-x: 0%;
    --password-eye-visible-y: 50%;
    --socials-x: 0px;
    --socials-y: -190px;
    --socials-z: 2;
    --socials-glow: #ffb347;
    --featured-glow: #7df9ff;
    --gallery-title-x: 0px;
    --gallery-title-y: -325px;
    --gallery-title-z: 2;
    --gallery-title-glow: #ff6f91;
    --gallery-grid-z: 2;
    --gallery-grid-width: 100%;
    --gallery-grid-gutter: 32px;
    --gallery-title-to-grid-gap: 50px;
    --gallery-photo-size: 220px;
    --gallery-photo-gap: 1.25rem;
    --gallery-photo-radius: 16px;
    --album-top-bar-gap: 30px;
    --album-page-bottom-space: 5rem;
    --footer-height: 82px;
}

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

html {
    overflow-y: auto;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    isolation: isolate;
    background: var(--deep-lake-blue);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: var(--footer-height);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('../images/background.png');
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    pointer-events: none;
    z-index: -1;
}

.scroll-indicator {
    position: fixed;
    top: 80px;
    right: 6px;
    z-index: 6000;
    width: 7px;
    min-height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--sunset-red), var(--sunset-orange), var(--sunset-purple));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.scroll-indicator.show {
    opacity: 0.95;
}

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

/* Header */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    height: 100%;
}

.cart-container {
    position: fixed;
    left: var(--cart-x);
    top: var(--cart-y);
    z-index: var(--cart-z);
}

.cart-icon {
    position: relative;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
    right: -5px;
    top: 15px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 1px solid var(--sunset-orange);
    border-radius: 999px;
    color: var(--text-light);
    background: rgba(5, 8, 13, 0.94);
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.6);
}

.cart-icon img {
    width: var(--cart-width);
    height: var(--cart-height);
    display: block;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.cart-icon:hover {
    color: var(--sunset-orange);
}

.cart-icon:hover img {
    filter:
        drop-shadow(0 0 2px var(--sunset-orange))
        drop-shadow(0 0 8px var(--sunset-orange))
        drop-shadow(0 0 16px rgba(255, 140, 66, 0.7));
}

/* Visual cue for fullscreen-capable images */
img[data-fullscreenable="true"] {
    cursor: zoom-in;
    transition: transform 0.16s ease;
}
img[data-fullscreenable="true"]:hover {
    transform: scale(1.02);
}

/* Fullscreen presentation rules */
img:fullscreen,
img:-webkit-full-screen,
img:-moz-full-screen,
img:-ms-fullscreen {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
    margin: 0;
    cursor: zoom-out;
}

.cart-popup {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    width: min(340px, calc(100vw - 24px));
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

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

.cart-popup p {
    margin: 0;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

.cart-empty {
    color: #fff7dc;
    font-family: 'Righteous', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    -webkit-text-stroke: 0.45px var(--sunset-orange);
    text-shadow:
        1px 1px 0 #c45b25,
        2px 2px 0 #6f2718,
        0 0 4px #fff7dc,
        0 0 12px var(--sunset-orange),
        0 0 28px rgba(255, 140, 66, 0.55);
}

.cart-items {
    display: grid;
    gap: 0.85rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cart-item-image {
    width: 54px;
    height: 54px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    object-fit: contain;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-name {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-meta {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.cart-remove {
    border: 1px solid rgba(255, 77, 77, 0.65);
    border-radius: 4px;
    color: var(--text-light);
    background: rgba(255, 77, 77, 0.16);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.35rem 0.5rem;
    text-transform: uppercase;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 1rem;
}

.checkout-button {
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 5px;
    color: var(--text-light);
    background: linear-gradient(45deg, var(--sunset-red), var(--sunset-orange));
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.25s ease;
}

.checkout-button:hover {
    transform: translateY(-2px);
}

.checkout-overlay-open {
    overflow: hidden;
}

.checkout-overlay {
    position: fixed;
    inset: 80px 24px calc(var(--footer-height) + 16px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    backdrop-filter: none;
}

.checkout-overlay.show {
    display: flex;
}

.checkout-overlay-content {
    position: relative;
    width: min(94vw, 900px);
    max-height: 100%;
    overflow-y: auto;
    padding: 2rem;
    border: 2px solid var(--sunset-orange);
    border-radius: 18px;
    background: rgba(15, 8, 5, 0.92);
    box-shadow:
        inset 0 0 22px rgba(255, 247, 220, 0.14),
        0 0 12px var(--sunset-orange),
        0 0 42px rgba(255, 140, 66, 0.42);
}

.checkout-overlay-content h2 {
    margin-bottom: 1.25rem;
    color: #fff7dc;
    font-family: 'Righteous', 'Inter', sans-serif;
    font-size: 2rem;
    text-align: center;
    text-transform: uppercase;
    text-shadow:
        0 0 6px #fff7dc,
        0 0 18px var(--sunset-orange);
}

.checkout-overlay-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 2px solid var(--sunset-orange);
    border-radius: 50%;
    color: #fff7dc;
    background: rgba(15, 8, 5, 0.9);
    cursor: pointer;
    font-family: 'Righteous', 'Inter', sans-serif;
    font-size: 1rem;
    box-shadow:
        0 0 8px var(--sunset-orange),
        0 0 20px rgba(255, 140, 66, 0.4);
}

.checkout-review-items {
    display: grid;
    gap: 0.85rem;
}

.checkout-review-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
}

.checkout-review-item img {
    width: 72px;
    height: 72px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    object-fit: contain;
}

.checkout-review-item strong,
.checkout-review-item span {
    display: block;
}

.checkout-review-item strong {
    color: var(--text-light);
    line-height: 1.25;
}

.checkout-review-item span,
.checkout-review-item em {
    color: var(--text-muted);
    font-style: normal;
}

.discount-code-field {
    display: block;
    margin-top: 1.25rem;
    margin-bottom: 0.45rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.discount-code-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}

.discount-code-row input {
    min-width: 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.38);
    font: inherit;
}

.discount-apply-button,
.checkout-square-button,
.checkout-clothing-button {
    border: none;
    border-radius: 999px;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.discount-apply-button:hover,
.checkout-square-button:hover,
.checkout-clothing-button:hover {
    transform: translateY(-2px);
}

.discount-apply-button {
    padding: 0.85rem 1rem;
    background: rgba(173, 181, 189, 0.22);
}

.checkout-review-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 1.2rem;
}

.checkout-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.checkout-square-button,
.checkout-clothing-button {
    padding: 0.95rem 1rem;
}

.checkout-square-button {
    color: #ffffff;
    background: linear-gradient(135deg, #006aff, #00bfff);
    box-shadow:
        0 0 10px rgba(0, 106, 255, 0.45),
        0 0 24px rgba(0, 191, 255, 0.28);
}

.checkout-clothing-button {
    color: #fff7dc;
    background: linear-gradient(45deg, var(--sunset-red), var(--sunset-orange), var(--sunset-purple));
    box-shadow:
        0 0 10px rgba(255, 140, 66, 0.45),
        0 0 24px rgba(139, 92, 246, 0.28);
}

@media (max-width: 640px) {
    .checkout-overlay {
        inset: 80px 12px calc(var(--footer-height) + 12px);
    }

    .checkout-overlay-content {
        padding: 1.25rem;
    }

    .checkout-review-item {
        grid-template-columns: 58px 1fr;
    }

    .checkout-review-item em {
        grid-column: 2;
    }

    .discount-code-row,
    .checkout-actions {
        grid-template-columns: 1fr;
    }
}

.checkout-success {
    text-align: center;
}

.checkout-success p {
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.account-page .section-title {
    margin-bottom: 2rem;
}

.account-panel {
    width: min(860px, 100%);
    margin: 0 auto;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(5, 8, 13, 0.78);
    box-shadow:
        inset 0 0 18px rgba(255, 247, 220, 0.08),
        0 0 24px rgba(255, 140, 66, 0.16);
    backdrop-filter: blur(10px);
}

.account-form {
    display: none;
}

.account-form.active,
.profile-form {
    display: grid;
    gap: 0.85rem;
}

.account-form h2 {
    color: var(--text-light);
    font-size: 1.6rem;
    text-align: center;
}

.account-form label,
.profile-form label,
.address-fieldset legend {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.account-form input,
.profile-form input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.38);
    font: inherit;
}

.account-form input:focus,
.profile-form input:focus {
    border-color: var(--sunset-orange);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.22);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 3.3rem;
}

.password-toggle {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    background-image: url('../images/eye-icon.png');
    background-position: var(--password-eye-hidden-x) var(--password-eye-hidden-y);
    background-repeat: no-repeat;
    background-size: 200% 100%;
    cursor: pointer;
    transform: translateY(-50%);
}

.password-toggle.is-visible {
    background-position: var(--password-eye-visible-x) var(--password-eye-visible-y);
}

.password-toggle:hover {
    filter:
        drop-shadow(0 0 3px var(--sunset-orange))
        drop-shadow(0 0 8px rgba(255, 140, 66, 0.55));
}

.password-requirements {
    margin: -0.35rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.78rem;
    line-height: 1.35;
}

.profile-picture-editor {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.profile-picture-preview {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border: 3px solid transparent;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 35%, #253052, #090d19 72%) padding-box,
        linear-gradient(45deg, var(--sunset-red), var(--sunset-orange), var(--sunset-purple)) border-box;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.45);
}

.profile-picture-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-preview span {
    font-size: 3.4rem;
}

.profile-picture-upload {
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--sunset-orange);
    border-radius: 999px;
    color: var(--text-light) !important;
    background: rgba(255, 140, 66, 0.14);
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(255, 140, 66, 0.28);
}

.profile-picture-upload:hover {
    background: rgba(255, 140, 66, 0.25);
}

.profile-form .profile-picture-input {
    display: none;
}

.profile-picture-help {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-align: center;
}

.password-requirements li {
    color: var(--sunset-red);
    font-weight: 700;
    transition: color 0.2s ease;
}

.password-requirements li::before {
    content: '\2715';
    display: inline-block;
    width: 1.25rem;
}

.password-requirements li.is-met {
    color: #4ade80;
}

.password-requirements li.is-met::before {
    content: '\2713';
}

.account-form input.password-mismatch {
    border-color: var(--sunset-red);
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2);
}

.account-form input.password-match {
    border-color: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2);
}

.account-form input.required-empty {
    border-color: var(--sunset-red);
    box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2);
}

.account-form label.required-empty-label::after {
    content: ' *REQUIRED*';
    color: var(--sunset-red);
    font-size: 0.75rem;
    font-weight: 900;
}

.account-submit {
    margin-top: 0.5rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 5px;
    color: var(--text-light);
    background: linear-gradient(45deg, var(--sunset-red), var(--sunset-orange));
    cursor: pointer;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.account-switch {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    text-align: center;
}

.account-switch button {
    border: none;
    color: var(--sunset-orange);
    background: none;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.account-profile {
    display: grid;
    gap: 1rem;
}

.account-profile[hidden] {
    display: none;
}

.account-profile h2 {
    color: var(--text-light);
    font-size: 1.6rem;
    text-align: center;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
}

.profile-grid label,
.profile-grid input {
    min-width: 0;
}

.address-fieldset {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
}

.address-fieldset[hidden] {
    display: none;
}

.address-fieldset legend {
    padding: 0 0.35rem;
    color: var(--sunset-orange);
}

.account-checkbox {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 800;
}

.account-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--sunset-orange);
}

.profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.account-submit.secondary {
    background: rgba(173, 181, 189, 0.22);
}

@media (max-width: 720px) {
    .profile-grid,
    .profile-actions {
        grid-template-columns: 1fr;
    }
}

.logo {
    position: fixed;
    left: var(--logo-x);
    top: var(--logo-y);
    z-index: var(--logo-z);
    font-size: var(--logo-size);
    font-weight: bold;
    background: linear-gradient(45deg, var(--sunset-red), var(--sunset-orange), var(--sunset-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: text-shadow 0.22s ease, -webkit-text-stroke-color 0.22s ease;
}

.logo:hover,
.logo:focus-visible {
    -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.92);
    text-shadow: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-gallery-link {
    position: fixed;
    left: var(--gallery-x);
    top: var(--gallery-y);
    z-index: var(--gallery-z);
    font-size: var(--gallery-size);
}

.nav-clothing-link {
    position: fixed;
    left: var(--clothing-x);
    top: var(--clothing-y);
    z-index: var(--clothing-z);
    font-size: var(--clothing-size);
}

.nav-account-link {
    position: fixed;
    left: var(--account-x);
    top: var(--account-y);
    z-index: var(--account-z);
    display: block;
    width: var(--account-size);
    height: var(--account-size);
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 35%, #253052, #090d19 72%) padding-box,
        linear-gradient(45deg, var(--sunset-red), var(--sunset-orange), var(--sunset-purple)) border-box;
    box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.55), 0 0 8px var(--sunset-purple);
    font-size: 0;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-account-link::before,
.nav-account-link::after {
    content: '';
    position: absolute;
    left: 50%;
    background: linear-gradient(135deg, #fff7dc, #c7b8ff);
    transform: translateX(-50%);
}

.nav-equipment-link {
    position: fixed;
    left: var(--equipment-x);
    top: var(--equipment-y);
    z-index: var(--equipment-z);
    font-size: var(--equipment-size);
}

.nav-account-link.has-profile-image::before,
.nav-account-link.has-profile-image::after {
    display: none;
}

.nav-account-avatar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.nav-account-link::before {
    top: 9px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
}

.nav-account-link::after {
    bottom: 4px;
    width: 34px;
    height: 19px;
    border-radius: 50% 50% 10px 10px;
}

.nav-account-link:hover {
    transform: scale(1.08);
    box-shadow: inset 0 0 12px rgba(255, 140, 66, 0.65), 0 0 10px var(--sunset-orange), 0 0 20px rgba(255, 140, 66, 0.55);
}

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

/* Hero Section */
.hero {
    min-height: calc(100vh - var(--footer-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: none;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 2s ease-out;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(45deg, var(--sunset-red), var(--sunset-orange), var(--sunset-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 76, 77, 0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
}

.socials-content {
    position: relative;
    left: var(--socials-x);
    top: var(--socials-y);
    z-index: var(--socials-z);
}

/* Keep the index panel anchored below the fixed header at every viewport height. */
.socials-page .hero {
    align-items: flex-start;
    padding: 120px 20px calc(var(--footer-height) + 40px);
}

.socials-page .socials-content {
    top: 0;
}

.gallery-content {
    position: relative;
    left: var(--gallery-title-x);
    top: var(--gallery-title-y);
    z-index: var(--gallery-title-z);
}

.socials-drift {
    animation: socialsFloat 8s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}

.socials-title {
    position: relative;
    font-family: 'Righteous', 'Inter', sans-serif;
    color: #fff7dc;
    background: none;
    -webkit-text-fill-color: #fff7dc;
    -webkit-text-stroke: .1px var(--socials-glow);
    text-shadow:
        2px 2px 0 #c45b25,
        4px 4px 0 #6f2718,
        6px 6px 0 rgba(0, 0, 0, 0.55),
        0 0 6px #fff7dc,
        0 0 14px var(--socials-glow),
        0 0 34px var(--socials-glow),
        0 0 70px rgba(255, 140, 66, 0.55);
}

.featured-module {
    margin-top: 50px;
}

.featured-title {
    -webkit-text-stroke-color: var(--featured-glow);
    text-shadow:
        2px 2px 0 #1f8b92,
        4px 4px 0 #11494d,
        6px 6px 0 rgba(0, 0, 0, 0.55),
        0 0 6px #fff7dc,
        0 0 14px var(--featured-glow),
        0 0 34px var(--featured-glow),
        0 0 70px rgba(125, 249, 255, 0.45);
}

.gallery-title {
    -webkit-text-stroke-color: var(--gallery-title-glow);
    text-shadow:
        2px 2px 0 #9b2f54,
        4px 4px 0 #4d1730,
        6px 6px 0 rgba(0, 0, 0, 0.55),
        0 0 6px #fff7dc,
        0 0 14px var(--gallery-title-glow),
        0 0 34px var(--gallery-title-glow),
        0 0 70px rgba(255, 111, 145, 0.45);
}

.gallery-grid-section {
    position: relative;
    z-index: var(--gallery-grid-z);
    width: var(--gallery-grid-width);
    max-width: calc(100vw - (var(--gallery-grid-gutter) * 2));
    margin-top: var(--gallery-title-to-grid-gap);
    left: 50%;
    transform: translateX(-50%);
}

.album-page .hero {
    height: auto;
    min-height: calc(100vh - var(--footer-height));
    align-items: flex-start;
    overflow: visible;
    padding-top: calc(80px + var(--album-top-bar-gap));
    padding-bottom: var(--album-page-bottom-space);
}

.album-page .gallery-content {
    left: 0;
    top: 0;
    width: 100%;
    max-width: none;
    padding: 0 24px;
}

.gallery-page .hero {
    padding-top: calc(80px + 30px);
    align-items: flex-start;
}

.gallery-page .gallery-content {
    width: 100%;
    max-width: none;
    padding: 0 var(--gallery-grid-gutter);
    position: relative;
    top: 0px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--gallery-photo-size), var(--gallery-photo-size)));
    justify-content: center;
    gap: var(--gallery-photo-gap);
}


.gallery-item {
    position: relative;
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    border: 2px solid var(--gallery-title-glow);
    border-radius: var(--gallery-photo-radius);
    background: rgba(15, 8, 5, 0.68);
    box-shadow:
        inset 0 0 14px rgba(255, 247, 220, 0.18),
        0 0 8px var(--gallery-title-glow),
        0 0 24px rgba(255, 111, 145, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.protected-gallery-item {
    cursor: pointer;
}

.protected-gallery-item:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: #fff7dc;
    box-shadow:
        inset 0 0 18px rgba(255, 247, 220, 0.24),
        0 0 12px var(--gallery-title-glow),
        0 0 34px rgba(255, 111, 145, 0.7);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.gallery-video-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--gallery-title-glow);
    border-radius: 999px;
    color: #fff7dc;
    background: rgba(0, 0, 0, 0.58);
    font-family: 'Righteous', 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow:
        0 0 8px var(--gallery-title-glow),
        0 0 20px rgba(255, 111, 145, 0.35);
}

.gallery-watermark {
    position: absolute;
    z-index: 3;
    box-sizing: border-box;
    color: rgba(255, 247, 220, 0.18);
    font-family: 'Righteous', 'Inter', sans-serif;
    font-size: clamp(0.55rem, 5cqw, 1rem);
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-35deg);
    pointer-events: none;
    white-space: nowrap;
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.45),
        0 0 10px rgba(255, 111, 145, 0.22);
}

.gallery-watermark-top {
    left: 25%;
    top: 25%;
    width: 70%;
}

.gallery-watermark-bottom {
    left: 75%;
    top: 75%;
    width: 70%;
}

.gallery-watermark-center {
    left: 50%;
    top: 50%;
    width: 70%;
}

.album-card::before {
    background: linear-gradient(rgba(15, 8, 5, 0.12), rgba(15, 8, 5, 0.34));
}

.album-card .gallery-watermark {
    font-size: clamp(0.5rem, 4.2cqw, 0.85rem);
}

.album-card .gallery-watermark {
    display: none;
}

.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 80px 24px 24px;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
}

.gallery-lightbox.show {
    display: flex;
}

.gallery-lightbox-frame {
    position: relative;
    width: min(96vw, 1400px);
    height: calc(100vh - 128px);
    overflow: hidden;
    border: 2px solid var(--gallery-title-glow);
    border-radius: 18px;
    background: rgba(15, 8, 5, 0.9);
    box-shadow:
        inset 0 0 22px rgba(255, 247, 220, 0.14),
        0 0 12px var(--gallery-title-glow),
        0 0 42px rgba(255, 111, 145, 0.55);
}

.gallery-lightbox-image,
.gallery-lightbox-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.gallery-lightbox-image[hidden],
.gallery-lightbox-video[hidden],
.gallery-lightbox-message[hidden] {
    display: none;
}

.gallery-lightbox-video {
    background: #000;
}

.gallery-lightbox-message {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5002;
    width: min(520px, calc(100% - 48px));
    margin: 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--gallery-title-glow);
    border-radius: 10px;
    color: #fff7dc;
    background: rgba(0, 0, 0, 0.78);
    font-family: 'Inter', sans-serif;
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 18px rgba(255, 111, 145, 0.35);
}

.gallery-lightbox-frame .gallery-watermark {
    font-size: clamp(1.5rem, 6vw, 5.5rem);
    letter-spacing: 0.08em;
    width: 72%;
}

.gallery-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5001;
    width: 42px;
    height: 42px;
    border: 2px solid var(--gallery-title-glow);
    border-radius: 50%;
    color: #fff7dc;
    background: rgba(15, 8, 5, 0.9);
    font-family: 'Righteous', 'Inter', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    box-shadow:
        0 0 8px var(--gallery-title-glow),
        0 0 20px rgba(255, 111, 145, 0.4);
}

.gallery-lightbox-arrow {
    position: absolute;
    top: 50%;
    z-index: 5001;
    width: 54px;
    height: 76px;
    border: 2px solid var(--gallery-title-glow);
    border-radius: 12px;
    color: #fff7dc;
    background: rgba(15, 8, 5, 0.82);
    font-family: 'Righteous', 'Inter', sans-serif;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow:
        0 0 8px var(--gallery-title-glow),
        0 0 20px rgba(255, 111, 145, 0.4);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gallery-lightbox-arrow:hover {
    background: rgba(20, 10, 5, 0.95);
    transform: translateY(-50%) scale(1.08);
    box-shadow:
        0 0 12px var(--gallery-title-glow),
        0 0 32px rgba(255, 111, 145, 0.65);
}

.gallery-lightbox-prev {
    left: 18px;
}

.gallery-lightbox-next {
    right: 18px;
}

.album-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff7dc;
    font-family: 'Righteous', 'Inter', sans-serif;
    font-size: clamp(0.85rem, 7cqw, 1.35rem);
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    container-type: inline-size;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 247, 220, 0.16), transparent 45%),
        rgba(15, 8, 5, 0.72);
    -webkit-text-stroke: 0.7px var(--gallery-title-glow);
    text-shadow:
        1px 1px 0 #9b2f54,
        2px 2px 0 #4d1730,
        0 0 6px #fff7dc,
        0 0 18px var(--gallery-title-glow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.album-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.album-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 8, 5, 0.12), rgba(15, 8, 5, 0.34));
    z-index: 1;
}

.album-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        inset 0 0 18px rgba(255, 247, 220, 0.24),
        0 0 12px var(--gallery-title-glow),
        0 0 34px rgba(255, 111, 145, 0.6);
}

.album-card .album-name {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 54px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.48);
    border-top: 1px solid var(--gallery-title-glow);
    border-bottom: 1px solid var(--gallery-title-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
}

@supports not (font-size: 1cqw) {
    .album-card {
        font-size: 1rem;
    }
}

.gallery-empty {
    grid-column: 1 / -1;
    color: #fff7dc;
    font-family: 'Righteous', 'Inter', sans-serif;
    text-align: center;
    text-shadow:
        0 0 6px #fff7dc,
        0 0 18px var(--gallery-title-glow);
}

.featured-buttons {
    align-items: center;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.social-button {
    --social-outline: var(--border-color);
    color: #fff7dc;
    min-width: 160px;
    padding: 0.95rem 1.6rem;
    border: 2px solid var(--social-outline);
    border-radius: 999px;
    font-size: 1.05rem;
    font-family: 'Righteous', 'Inter', sans-serif;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 247, 220, 0.16), transparent 45%),
        rgba(15, 8, 5, 0.68);
    box-shadow:
        inset 0 0 8px rgba(255, 247, 220, 0.2),
        inset 0 0 18px var(--social-outline),
        0 0 8px var(--social-outline),
        0 0 22px var(--social-outline),
        0 0 42px rgba(255, 140, 66, 0.35);
    -webkit-text-fill-color: #fff7dc;
    -webkit-text-stroke: 0.65px var(--social-outline);
    text-shadow:
        1px 1px 0 #c45b25,
        2px 2px 0 #6f2718,
        3px 3px 0 rgba(0, 0, 0, 0.55),
        0 0 3px #fff7dc,
        0 0 8px var(--social-outline),
        0 0 18px var(--social-outline);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.social-button:hover {
    transform: translateY(-3px) scale(1.04);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 247, 220, 0.25), transparent 48%),
        rgba(20, 10, 5, 0.82);
    box-shadow:
        inset 0 0 10px rgba(255, 247, 220, 0.35),
        inset 0 0 24px var(--social-outline),
        0 0 12px var(--social-outline),
        0 0 30px var(--social-outline),
        0 0 58px rgba(255, 140, 66, 0.5);
}

.social-instagram {
    --social-outline: #ff6f91;
}

.social-youtube {
    --social-outline: #ff3b30;
}

.social-twitch {
    --social-outline: #b56cff;
}

.social-music {
    --social-outline: #ffb347;
}

.featured-button {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: min(330px, calc(100vw - 40px));
    min-width: 0;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 20%, rgba(255, 247, 220, 0.18), rgba(15, 8, 5, 0.8));
}

.featured-button::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 247, 220, 0.32);
    border-radius: 11px;
    pointer-events: none;
}

.featured-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.5) 34%, rgba(0, 0, 0, 0.08) 72%);
    pointer-events: none;
}

.featured-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.featured-photo.active {
    opacity: 1;
}

.featured-dots {
    position: absolute;
    left: 50%;
    bottom: 94px;
    z-index: 2;
    display: flex;
    gap: 6px;
    transform: translateX(-50%);
    pointer-events: none;
}

.featured-dot {
    width: 11px;
    height: 11px;
    border: 1px solid var(--social-outline);
    border-radius: 50%;
    background: rgba(255, 247, 220, 0.25);
    box-shadow: 0 0 8px var(--social-outline);
}

.featured-dot.active {
    background: #fff7dc;
    box-shadow:
        0 0 6px #fff7dc,
        0 0 14px var(--social-outline);
}

.featured-promotion {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 3;
    display: grid;
    gap: 2px;
    padding: 0.35rem 0.45rem;
    border: 1px solid var(--social-outline);
    border-radius: 8px;
    color: #fff7dc;
    background: rgba(5, 8, 13, 0.86);
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 0 12px var(--social-outline);
}

.featured-promotion strong {
    font-size: 1.15rem;
    line-height: 1;
}

.featured-promotion small {
    font-size: 0.95rem;
    line-height: 1.1;
}
.featured-button > .scroll-text-box {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 78px;
    padding: 0 1rem;
    background: rgba(0, 0, 0, 0.58);
    border-top: 1px solid var(--social-outline);
    font-size: 1.35rem;
    line-height: 1.15;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
}

.scroll-text-box {
    overflow: hidden;
    white-space: nowrap;
}

.scroll-text {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.scroll-text-box.is-overflowing {
    justify-content: flex-start;
}

.scroll-text-box.is-overflowing .scroll-text {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    padding-right: 2rem;
}

.featured-one {
    --social-outline: #7df9ff;
}

.featured-two {
    --social-outline: #ffb347;
}

.featured-three {
    --social-outline: #ff6f91;
}

.featured-four {
    --social-outline: #b56cff;
}

.featured-empty {
    width: 100%;
    color: #fff7dc;
    font-family: 'Righteous', 'Inter', sans-serif;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    text-shadow:
        0 0 6px #fff7dc,
        0 0 18px var(--featured-glow);
}

/* Animations */
@keyframes heroDrift {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.05) translateY(-10px);
    }
}

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

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

@keyframes textGlow {
    from {
        text-shadow: 0 0 30px rgba(255, 76, 77, 0.3);
    }
    to {
        text-shadow: 0 0 40px rgba(255, 140, 66, 0.5), 0 0 60px rgba(139, 92, 246, 0.3);
    }
}

.cta-button {
    background: linear-gradient(45deg, var(--sunset-red), var(--sunset-orange));
    color: var(--text-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 76, 77, 0.3);
}

/* Featured Products */
.featured {
    padding: 5rem 0;
    background: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--sunset-red), var(--sunset-orange), var(--sunset-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--darker-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.product-detail-image {
    position: relative;
}

.product-image img,
.product-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.product-image-watermark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    font-family: 'Righteous', 'Inter', sans-serif;
    letter-spacing: 0.2em;
    mix-blend-mode: normal;
    pointer-events: none;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}

.product-image-pack {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 0.45rem 0.8rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pack-card .product-image {
    min-height: 220px;
}

.gallery-pack-header {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.gallery-pack-header h2 {
    margin: 0;
    font-size: 2rem;
}

.pack-back {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.pack-back:hover {
    text-decoration: underline;
}
.page-back {
    display: block;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    width: 100%;
}

.product-price {
    font-size: 1.2rem;
    color: var(--sunset-orange);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.buy-button,
.pack-cart-button {
    background: linear-gradient(45deg, var(--sunset-red), var(--sunset-orange));
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.buy-button:hover,
.pack-cart-button:hover {
    transform: translateY(-2px);
}

.buy-button.out-of-stock,
.add-to-cart.out-of-stock {
    background: rgba(173, 181, 189, 0.22);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.buy-button.out-of-stock:hover,
.add-to-cart.out-of-stock:hover {
    transform: none;
    box-shadow: none;
}

/* Clothing Page */
.clothing-container {
    min-height: calc(100vh - var(--footer-height));
    padding: 8rem 0 calc(var(--footer-height) + 3rem);
}


.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--sunset-orange);
    color: var(--deep-lake-blue);
}

/* Product Detail Page */
.product-detail {
    padding: 8rem 0 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-detail-image {
    width: 100%;
    height: 400px;
    background: var(--darker-blue);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.product-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--sunset-red), var(--sunset-orange), var(--sunset-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-price {
    font-size: 2rem;
    color: var(--sunset-orange);
    font-weight: 700;
    margin-bottom: 2rem;
}

.product-detail-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-license-selector {
    margin-bottom: 1.5rem;
}

.product-license-selector label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.product-watermark-note {
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.product-license-selector select {
    width: 100%;
    min-height: 48px;
    padding: 0 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--deep-lake-blue);
    color: var(--text-light);
    color-scheme: dark;
    font-size: 1rem;
}

.product-license-selector option {
    color: var(--text-light);
    background: var(--deep-lake-blue);
}

.product-license-selector option:checked {
    color: #fff7dc;
    background: var(--sunset-purple);
}

.add-to-cart {
    background: linear-gradient(45deg, var(--sunset-red), var(--sunset-orange));
    color: var(--text-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 76, 77, 0.3);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    min-height: var(--footer-height);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none; /* Could add mobile menu */
    }

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

    .product-detail-image {
        height: 300px;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }
}

.purchase-library {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.purchase-library > h2 {
    margin-bottom: 1rem;
    text-align: center;
}

.purchase-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.purchase-column {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
}

.purchase-column > h3 {
    margin-bottom: 0.85rem;
    color: var(--sunset-orange);
    text-align: center;
}

.purchase-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.8rem;
    margin-bottom: 0.85rem;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.purchase-card img {
    width: 76px;
    height: 76px;
    border-radius: 7px;
    object-fit: cover;
}

.purchase-card-body {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.purchase-card-body h4 {
    overflow-wrap: anywhere;
    color: var(--text-light);
    font-size: 0.92rem;
}

.purchase-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--sunset-orange);
    border-radius: 7px;
    color: var(--text-light);
    background: rgba(255, 140, 66, 0.18);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
}

.purchase-download:hover {
    background: rgba(255, 140, 66, 0.32);
}

.purchase-empty {
    color: var(--text-muted);
    text-align: center;
}

.pack-purchase-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.pack-license-select {
    min-height: 42px;
    padding: 0 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    color: var(--text-light);
    background: var(--deep-lake-blue);
    color-scheme: dark;
}

@media (max-width: 720px) {
    .purchase-columns {
        grid-template-columns: 1fr;
    }
}
/* Prominent subpage back controls */
a.pack-back,
button.page-back.pack-back {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: min(280px, 90vw) !important;
    min-height: 64px;
    margin: 0 0 1.5rem !important;
    padding: 0.9rem 1.5rem !important;
    border: 3px solid #fff7dc !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    background: linear-gradient(45deg, #ff3b30, #ff8c42, #8b5cf6) !important;
    box-shadow:
        0 0 8px #fff7dc,
        0 0 20px var(--sunset-orange),
        0 0 38px rgba(139, 92, 246, 0.72) !important;
    cursor: pointer;
    font-family: 'Righteous', 'Inter', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.75);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

a.pack-back:hover,
button.page-back.pack-back:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 0 12px #ffffff,
        0 0 28px var(--sunset-orange),
        0 0 48px rgba(139, 92, 246, 0.9) !important;
}
/* Global back-button position */
button.page-back.pack-back {
    position: fixed !important;
    top: 100px !important;
    left: 20px !important;
    z-index: 5000 !important;
}

@media (max-width: 480px) {
    button.page-back.pack-back {
        top: 92px !important;
        left: 12px !important;
        width: min(240px, calc(100vw - 24px)) !important;
        min-height: 56px;
        font-size: 1.05rem !important;
    }
}
/* Entire product cards open their product; controls retain their own actions. */
.product-card[data-product-url] {
    cursor: pointer;
}
.purchase-license-status,
.pack-ownership-status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-weight: 800;
}

.purchase-license-status.is-active,
.pack-ownership-status {
    border: 1px solid #39d98a;
    color: #78f0b2;
    background: rgba(57, 217, 138, 0.14);
}

.purchase-license-status.is-expired {
    border: 1px solid #ff5c6c;
    color: #ff8b96;
    background: rgba(255, 92, 108, 0.14);
}

.purchase-card.is-expired {
    border-color: rgba(255, 92, 108, 0.5);
}

.pack-ownership-status {
    flex-basis: 100%;
    justify-content: center;
}

.pack-purchase-controls button:disabled,
.pack-purchase-controls select:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.phone-field {
    display: grid;
    grid-template-columns: minmax(105px, 0.38fr) minmax(0, 1fr);
    gap: 0.55rem;
}

.account-form .phone-field select,
.profile-form .phone-field select {
    width: 100%;
    padding: 0.85rem 0.55rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.68);
    color-scheme: dark;
    font: inherit;
}

.account-form .phone-field select:focus,
.profile-form .phone-field select:focus {
    border-color: var(--sunset-orange);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.22);
}

@media (max-width: 420px) {
    .phone-field {
        grid-template-columns: 100px minmax(0, 1fr);
    }
}

/* New synthwave background contrast pass */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 35%, transparent 25%, rgba(1, 3, 10, 0.2) 100%),
        linear-gradient(rgba(2, 3, 12, 0.12), rgba(2, 3, 12, 0.28));
    pointer-events: none;
}

header,
footer {
    background: rgba(2, 3, 10, 0.94);
    border-color: rgba(125, 249, 255, 0.22);
}

.socials-title,
.section-title {
    width: fit-content;
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
    padding: 0.12em 0.42em 0.18em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(2, 3, 10, 0.78), rgba(8, 7, 24, 0.92), rgba(2, 3, 10, 0.78));
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #fff7dc;
    color: #fff7dc;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.featured-title {
    -webkit-text-fill-color: #e7feff;
    color: #e7feff;
}

.gallery-title {
    -webkit-text-fill-color: #ffe1ea;
    color: #ffe1ea;
}

.section-title {
    -webkit-text-fill-color: #fff7dc;
    color: #fff7dc;
    text-shadow: 0 2px 4px #000, 0 0 16px rgba(255, 111, 145, 0.75);
}

.product-card {
    border-color: rgba(125, 249, 255, 0.28);
    background: rgba(3, 6, 14, 0.96);
    backdrop-filter: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.46);
}

.product-card:hover {
    border-color: rgba(125, 249, 255, 0.72);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.62), 0 0 18px rgba(125, 249, 255, 0.2);
}

.product-info {
    background: linear-gradient(180deg, rgba(8, 13, 27, 0.98), rgba(3, 6, 14, 0.99));
}

.product-name {
    color: #ffffff;
    text-shadow: 0 2px 5px #000;
}

.product-description,
.product-detail-description,
.product-watermark-note {
    color: #dce3eb;
}

.product-price {
    color: #ffad73;
    text-shadow: 0 1px 4px #000;
}

.gallery-pack-header,
.product-detail-info {
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(125, 249, 255, 0.25);
    border-radius: 12px;
    background: rgba(3, 6, 14, 0.94);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(10px);
}

.filter-btn {
    border-color: rgba(125, 249, 255, 0.35);
    background: rgba(3, 6, 14, 0.92);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.32);
}

.product-image-pack {
    background: rgba(2, 3, 10, 0.9);
    text-shadow: 0 1px 3px #000;
}

@media (max-width: 768px) {
    .socials-title,
    .section-title {
        border-radius: 11px;
    }

    .product-detail-info {
        padding: 1rem;
    }
}
/* Remove title contrast bubbles; retain text-only contrast. */
.socials-title,
.section-title {
    width: auto;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
}
/* Small product card images must always fill their image area. */
.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}