:root {
    --black: black;
    --dark: #0a0a0a;
    --red: #ff0000;
    --blood: #8a0303;
    --white: #ffffff;
    --orange: #ff4500;
    --section-bg: rgba(0, 0, 0, 0.85);
    /* Semi-transparent black for all sections */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.asimovian-regular {
    font-family: "Asimovian", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: #000;
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 70px;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

canvas {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1;
    display: block;
}

/* App Loader */
.app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.app-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-container {
    text-align: center;
}

.hex-spinner {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.hex-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--red);
    border-radius: 50%;
    animation: hexSpin 2s linear infinite;
}

.hex-ring:nth-child(1) {
    animation-duration: 1.5s;
    border-top-color: var(--red);
}

.hex-ring:nth-child(2) {
    animation-duration: 2s;
    animation-direction: reverse;
    border-top-color: var(--blood);
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

.hex-ring:nth-child(3) {
    animation-duration: 1.8s;
    border-top-color: var(--red);
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

.hex-ring:nth-child(4) {
    animation-duration: 2.2s;
    animation-direction: reverse;
    border-top-color: var(--blood);
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
}

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

.hex-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--red), var(--blood));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hexPulse 2s ease-in-out infinite;
}

@keyframes hexPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.loader-text {
    margin-top: 1rem;
}

.loader-hex {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--red);
    animation: hexFlicker 1.5s ease-in-out infinite;
}

@keyframes hexFlicker {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* === HERO SECTION === */
.hero {
    background: var(--black);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    opacity: 0.9;
    position: relative;
}

.header-image-container {
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto 2rem;
    border-radius: 12px;
    animation: hazeBlink 4s ease-in-out infinite;
    opacity: 0.85;
    display: block;
    /* Starting opacity (slightly transparent) */
}

.header-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}


@keyframes hazeBlink {

    0%,
    100% {
        opacity: 0.85;
        filter: brightness(1) blur(0px);
    }

    50% {
        opacity: 1;
        filter: brightness(1.1) blur(1px);
    }
}

.hero-content {
    padding: 2rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
    line-height: 1.2;
}

/* === GENERAL SECTION STYLING === */
section {
    padding: 6rem 1.5rem;
    text-align: center;
    background: var(--section-bg);
    position: relative;
    width: 100%;
    color: var(--white);
}

section+section {
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

P {
    color: var(--white);
    font-family: "Asimovian", cursive;
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
}

/* === TYPOGRAPHY === */
h2,
h3 {
    font-family: "Asimovian", sans-serif;
    margin-bottom: 1.5rem;
    color: var(--white);
}

h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: var(--white);
    font-family: "Asimovian", cursive;
}

h3 {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    color: var(--white);
    font-family: "Asimovian", cursive;
}

.tagline {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.9;
    padding: 0 1rem;
}

.psychedelic-gradient {
    background: linear-gradient(90deg, #ff0000, #8a0303, #ff4500);
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--white);
    font-weight: 700;
}

.occult-text {
    font-family: 'UnifrakturMaguntia', cursive;
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    color: #ffff00;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1.5rem auto;
    max-width: 90%;
    letter-spacing: 2px;
    border: 1px solid #ffe7e944;
    text-shadow: 0 0 5px #ff0000, 0 0 10px #8a0303;
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 10px #ff0000, 0 0 20px #8a0303;
    }
}

/* === FEATURES GRID === */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section.features {
    display: grid;
}

section.features > .feature-card {
    max-width: 100%;
}

.feature-card {
    background-color: rgba(0, 0, 0, 0.7);
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: 12px;
    border: 1px solid #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0.5rem;
    color: var(--white);
    min-height: 44px; /* Touch-friendly minimum */
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
}

/* === HEX DISPLAY (optional button or badge) === */
.hex-display {
    display: inline-block;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    padding: 0.7rem 1.4rem;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    border-radius: 6px;
    color: var(--white);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === MUSIC RELEASES SECTION === */
.music-section {
    padding: 6rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.music-releases {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.release {
    display: grid;
    gap: 2rem;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
}

.release:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    border-color: rgba(255, 0, 0, 0.5);
}

/* Pattern 1: Image 1 column, Info 2 columns */
.release-pattern-1 {
    grid-template-columns: 1fr 2fr;
}

/* Pattern 2: Image 2 columns, Info 1 column */
.release-pattern-2 {
    grid-template-columns: 2fr 1fr;
}

.release-pattern-2 .release-preview {
    order: 1;
}

.release-pattern-2 .release-info {
    order: 2;
}

.release-preview {
    width: 100%;
    position: relative;
}

.preview-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.youtube-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.release-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--white);
}

.release-title {
    font-family: "Asimovian", cursive;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--white);
    margin: 0;
    margin-bottom: 0.25rem;
}

.release-artist {
    font-family: "Asimovian", cursive;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--red);
    margin: 0;
    opacity: 0.9;
}

.release-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0.5rem 0;
}

.release-genre,
.release-date {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    padding: 0.4rem 0.8rem;
    background-color: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 6px;
    display: inline-block;
}

.release-genre {
    color: var(--orange);
}

.release-date {
    color: var(--white);
}

.release-description {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1rem, 2.8vw, 1.15rem);
    line-height: 1.7;
    color: var(--white);
    opacity: 0.9;
    margin: 0.5rem 0;
}

.release-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.release-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    border-radius: 6px;
    color: var(--white);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    transition: all 0.3s ease;
    min-height: 44px;
    position: relative;
}

.release-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.release-link:hover {
    background-color: rgba(255, 0, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.release-link:active {
    transform: translateY(0);
}

.release-link.youtube {
    border-color: #ff0000;
}

.release-link.soundcloud {
    border-color: #ff5500;
    background-color: rgba(255, 85, 0, 0.2);
}

.release-link.soundcloud:hover {
    background-color: rgba(255, 85, 0, 0.4);
}

.release-link.bandcamp {
    border-color: #629aa0;
    background-color: rgba(98, 154, 160, 0.2);
}

.release-link.bandcamp:hover {
    background-color: rgba(98, 154, 160, 0.4);
}

.release-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background-color: rgba(128, 128, 128, 0.2);
    border-color: rgba(128, 128, 128, 0.5);
    color: rgba(255, 255, 255, 0.6);
}

.release-link.disabled:hover {
    background-color: rgba(128, 128, 128, 0.2);
    transform: none;
    box-shadow: none;
}

.release-link.disabled .release-icon {
    opacity: 0.5;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1024px) {
    section {
        padding: 5rem 1.2rem;
    }

    .features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .music-section {
        padding: 5rem 1.2rem;
    }

    .release {
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .hero {
        min-height: 70vh;
        padding: 3rem 1rem;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .header-image-container {
        max-width: 90%;
        margin: 0 auto 1.5rem;
    }

    section {
        padding: 4rem 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0;
    }

    .feature-card {
        margin: 0;
        padding: 1.5rem;
        width: 100%;
    }

    .hex-spinner {
        width: 120px;
        height: 120px;
    }

    .hex-text {
        font-size: 1.2rem;
    }

    .loader-hex {
        font-size: 0.9rem;
    }

    .occult-text {
        max-width: 95%;
        padding: 1rem;
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        letter-spacing: 1px;
    }

    h2 {
        font-size: clamp(1.5rem, 4.5vw, 2.2rem);
        margin-bottom: 1rem;
    }

    h3 {
        font-size: clamp(1.2rem, 3vw, 1.6rem);
        margin-bottom: 1rem;
    }

    p {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .tagline {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
        padding: 0 0.5rem;
    }

    .hex-display {
        font-size: clamp(0.8rem, 2.5vw, 0.95rem);
        padding: 0.6rem 1.2rem;
    }

    /* Music releases responsive */
    .music-section {
        padding: 4rem 1rem;
    }

    .music-releases {
        gap: 3rem;
    }

    .release {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .release-pattern-2 .release-preview,
    .release-pattern-2 .release-info {
        order: 0;
    }

    .release-preview {
        width: 100%;
    }

    .release-links {
        gap: 0.8rem;
    }

    .release-link {
        font-size: clamp(0.8rem, 2.2vw, 0.95rem);
        padding: 0.6rem 1.2rem;
    }

    .release-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 2rem 0.75rem;
    }

    .hero-content {
        padding: 1rem 0.75rem;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        letter-spacing: 0.05rem;
        margin-bottom: 0.75rem;
    }

    .header-image-container {
        max-width: 85%;
        margin: 0 auto 1rem;
        border-radius: 8px;
    }

    .tagline {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }

    section {
        padding: 3rem 0.75rem;
    }

    h2 {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
        margin-bottom: 0.75rem;
    }

    h3 {
        font-size: clamp(1.1rem, 2.8vw, 1.4rem);
        margin-bottom: 0.75rem;
    }

    p {
        font-size: clamp(0.95rem, 2.8vw, 1.1rem);
        line-height: 1.6;
    }

    .feature-card {
        padding: 1.2rem;
        margin: 0;
        border-radius: 8px;
    }

    .occult-text {
        max-width: 98%;
        padding: 0.9rem;
        font-size: clamp(0.85rem, 2.8vw, 1rem);
        letter-spacing: 0.5px;
        margin: 1rem auto;
        border-radius: 6px;
    }

    .features {
        gap: 1rem;
        padding: 0;
    }

    .hex-display {
        font-size: clamp(0.75rem, 2.2vw, 0.9rem);
        padding: 0.5rem 1rem;
    }

    /* Music releases responsive */
    .music-section {
        padding: 3rem 0.75rem;
    }

    .music-releases {
        gap: 2.5rem;
        margin-top: 2rem;
    }

    .release {
        padding: 1.2rem;
        gap: 1.2rem;
    }

    .release-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }

    .release-artist {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }

    .release-meta {
        gap: 1rem;
        margin: 0.4rem 0;
    }

    .release-genre,
    .release-date {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        padding: 0.35rem 0.7rem;
    }

    .release-description {
        font-size: clamp(0.95rem, 2.8vw, 1.05rem);
        line-height: 1.6;
    }

    .release-links {
        gap: 0.6rem;
        margin-top: 0.8rem;
    }

    .release-link {
        font-size: clamp(0.75rem, 2vw, 0.9rem);
        padding: 0.5rem 1rem;
        min-height: 40px;
    }

    .release-icon {
        width: 14px;
        height: 14px;
    }

    /* Store responsive */
    .store-section {
        padding: 4rem 0;
    }

    .store-container {
        padding: 0 1rem;
    }

    .store-items-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .store-sidebar-title {
        font-size: clamp(1.3rem, 3vw, 1.6rem);
    }

    .store-category {
        padding: 0.6rem 0.9rem;
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    }

    .store-sidebar {
        padding: 1.2rem;
    }

    .store-sidebar-title {
        padding-bottom: 0.8rem;
    }

    .store-category-lock {
        width: 12px;
        height: 12px;
    }

    .store-header {
        padding: 1.2rem 1.5rem;
    }

    .store-search-input {
        padding: 0.8rem 0.9rem 0.8rem 2.8rem;
        font-size: 0.9rem;
    }

    .store-sort-select {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-width: 150px;
    }

    .store-item-info {
        padding: 1rem;
    }

    .store-item-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .store-item-btn {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .hero {
        min-height: 55vh;
        padding: 1.5rem 0.5rem;
    }

    .hero-content {
        padding: 0.75rem 0.5rem;
    }

    .hero-content h1 {
        font-size: clamp(1.6rem, 6vw, 2rem);
        letter-spacing: 0.03rem;
    }

    .tagline {
        font-size: 0.9rem;
        padding: 0 0.25rem;
    }

    section {
        padding: 2.5rem 0.5rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .occult-text {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    /* Music releases responsive */
    .music-section {
        padding: 2.5rem 0.5rem;
    }

    .music-releases {
        gap: 2rem;
        margin-top: 1.5rem;
    }

    .release {
        padding: 1rem;
        gap: 1rem;
    }

    .release-title {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    .release-artist {
        font-size: clamp(0.95rem, 3vw, 1.2rem);
    }

    .release-description {
        font-size: 0.9rem;
    }

    .release-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.9rem;
    }

    .release-icon {
        width: 12px;
        height: 12px;
    }

    /* Store responsive */
    .store-section {
        padding: 3rem 0;
    }

    .store-container {
        padding: 0 0.5rem;
    }

    .store-sidebar {
        padding: 1rem;
    }

    .store-sidebar-title {
        padding-bottom: 0.75rem;
    }

    .store-category {
        padding: 0.5rem 0.8rem;
    }

    .store-header {
        padding: 1rem;
        gap: 0.8rem;
    }

    .store-item-card {
        border-radius: 8px;
    }

    .store-item-info {
        padding: 1rem;
    }

    .store-items-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    /* Store responsive */
    .store-container {
        grid-template-columns: 1fr;
    }

    .store-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }

    .store-categories {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .store-category {
        padding: 0.7rem 1rem;
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    }

    .store-sidebar {
        padding: 1.5rem;
    }

    .store-sidebar-title {
        padding-bottom: 1rem;
    }

    .store-category:hover {
        transform: translateY(-2px);
    }

    .store-category-lock {
        width: 14px;
        height: 14px;
    }

    .store-header {
        flex-direction: column;
        align-items: stretch;
    }

    .store-search {
        min-width: 100%;
    }

    .store-sort {
        width: 100%;
        justify-content: space-between;
    }

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

    .store-item-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .store-item-btn {
        width: 100%;
        justify-content: center;
    }

    .store-header {
        padding: 1rem;
    }
}

/* === STORE SECTION === */
.store-section {
    padding: 6rem 0;
    min-height: calc(100vh - 100px);
    width: 100%;
}

.store-container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    align-items: start;
    isolation: isolate;
    width: 100%;
    box-sizing: border-box;
}

/* Sidebar: 1/4 width */
.store-sidebar {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 90px;
    z-index: 10;
    overflow: visible;
    max-width: 100%;
    box-sizing: border-box;
}

.store-sidebar-title {
    font-family: "Asimovian", cursive;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--white);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 0, 0, 0.3);
}

.store-categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 !important;
    background-color: transparent !important;
    position: static !important;
    width: auto !important;
    top: auto !important;
    z-index: auto !important;
    justify-content: flex-start !important;
}

.store-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    color: var(--white);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.store-category:hover {
    background-color: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateX(5px);
}

.store-category.active {
    background-color: rgba(255, 0, 0, 0.25);
    border-color: #ff0000;
    color: #ff0000;
    font-weight: 600;
}

.store-category.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.4);
    background-color: rgba(0, 0, 0, 0.3);
    border-color: rgba(128, 128, 128, 0.3);
}

.store-category.disabled:hover {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: rgba(128, 128, 128, 0.3);
    transform: none;
}

.store-category-lock {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.5);
}

/* Main Content: 3/4 width */
.store-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
    min-width: 0; /* Prevent grid overflow */
    overflow: hidden; /* Prevent content from spilling */
    max-width: 100%;
    box-sizing: border-box;
}

/* Store Header */
.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    flex-wrap: wrap;
}

.store-search {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.store-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--white);
    opacity: 0.7;
    pointer-events: none;
}

.store-search-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.store-search-input:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.store-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.store-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.store-sort-label {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--white);
    white-space: nowrap;
}

.store-sort-select {
    padding: 0.9rem 1.2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.store-sort-select:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.store-sort-select option {
    background-color: #000;
    color: var(--white);
}

/* Items Grid: 3x3 */
.store-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.store-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
}

/* Store Item Card */
.store-item-card {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.store-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    border-color: rgba(255, 0, 0, 0.5);
}

.store-item-image {
    width: 100%;
    padding-top: 100%; /* Square aspect ratio */
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.store-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-item-card:hover .store-item-image img {
    transform: scale(1.05);
}

.store-item-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.store-item-name {
    font-family: "Asimovian", cursive;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--white);
    margin: 0;
}

.store-item-description {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.store-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

.store-item-price {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    color: var(--orange);
}

.store-item-btn {
    padding: 0.7rem 1.4rem;
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    border-radius: 6px;
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
}

.store-item-btn:hover {
    background-color: rgba(255, 0, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.store-item-btn:active {
    transform: translateY(0);
}

/* === TOUCH-FRIENDLY IMPROVEMENTS === */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover {
        transform: none;
    }

    .feature-card:active {
        transform: scale(0.98);
    }

    .store-item-card:hover {
        transform: none;
    }

    .store-item-btn:active {
        transform: scale(0.98);
    }
}

/* === PREVENT HORIZONTAL SCROLL === */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure containers don't overflow */
main,
header,
section {
    max-width: 100vw;
    overflow-x: hidden;
}