:root {
    --bg-color: #0d0d0d;
    --text-color: #f2f2f2;
    --accent-color: #ff6b00;
    /* Vibrant Orange */
    --accent-secondary: #7b2cbf;
    /* Vibrant Purple */
    --glass-bg: rgba(255, 255, 255, 0.05);
    /* ... rest unchanged ... */
    --glass-border: rgba(255, 255, 255, 0.1);
    --blur: 12px;
    --font-main: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Immersive Background */
.immersive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 15% 50%, rgba(123, 44, 191, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 107, 0, 0.1), transparent 25%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Soften the edges */
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #7b2cbf 0%, transparent 70%);
    /* Vibrant Purple */
    animation-delay: 0s;
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #ff6b00 0%, transparent 70%);
    /* Vibrant Orange */
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, #9d4edd 0%, transparent 70%);
    /* Light Purple */
    animation-duration: 30s;
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px;
    /* Top padding for fixed nav */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content horizontally */
    position: relative;
    z-index: 1;
    /* Above background */
}

/* Glassmorphism Base */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Nav Bar */
.nav-bar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 95vw;
    z-index: 1000;
    padding: 8px 20px;
    /* Reduced padding */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    /* Reduced gap */
    flex-wrap: wrap;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

/* removed .nav-brand */

@media (max-width: 1200px) {
    #app {
        padding-top: 240px !important;
        /* Safety for navbar wrapping */
    }
}

@media (min-width: 1201px) {
    #app {
        padding-top: 150px !important;
    }

    .page-section {
        min-height: calc(100vh - 150px);
        padding-top: 60px;
    }
}



.nav-bar a {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 10px;
    /* Reduced padding */
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-bar a::before,
.nav-bar a::after {
    content: '•';
    font-size: 1.1rem;
    color: var(--accent-color);
    line-height: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.nav-bar a::before {
    margin-right: 4px;
}

.nav-bar a::after {
    margin-left: 4px;
}

.nav-bar a.active::before,
.nav-bar a.active::after {
    opacity: 1;
}

.nav-bar a.active {
    color: var(--accent-color);
}

.nav-bar a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

/* Confirmation Box */
#confirmation-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    max-width: 400px;
    padding: 30px;
    text-align: center;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.btn-confirm {
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.btn-confirm:hover {
    transform: scale(1.05);
}

/* Animations */
.slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Sections */
h1 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    background: linear-gradient(to right, #fff, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

/* Gallery Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.gallery-tab-btn {
    padding: 10px 25px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    transition: all 0.3s ease;
}

.gallery-tab-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.gallery-tab-btn.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.section-text {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
    text-align: center;
}

/* Gallery Hero */
.gallery-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding: 60px;
    /* More padding */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 107, 0, 0.1), transparent 60%);
    z-index: 0;
}

.hero-text {
    flex: 1;
    text-align: left;
    z-index: 1;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-align: left;
    /* Align left specifically for hero */
    /* Gradient handled by global h2 now */
}

.hero-text p {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 400px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.placeholder-glow {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.5;
    filter: blur(40px);
}

/* Category Cards */
.category-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.category-card {
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    /* Gold tint hint */
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.15);
}

.card-img-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.card-info {
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
}

.card-info h3 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.card-info span {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Masonry Layout */
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
    width: 100%;
}

.collage-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.collage-item:hover {
    transform: scale(1.02);
    z-index: 10;
}

.collage-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    margin-top: -20px;
}

.detail-header h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
}

/* Responsive Masonry */
@media (max-width: 1024px) {
    .masonry-grid {
        column-count: 2;
    }
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 10px 0;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Background Root */
#background-root {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    /* Behind #app */
    pointer-events: none;
}

/* Gallery Dynamic Background */
.gallery-dynamic-bg,
.about-dynamic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    mask-image: radial-gradient(circle, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
}

/* Refined background specific tweaks for "less blurred" and smaller feel */
.about-dynamic-bg .about-bg-art,
.gallery-dynamic-bg .about-bg-art {
    width: 18vw;
}

.about-bg-art img {
    filter: blur(4px) grayscale(30%) !important;
    opacity: 0.1 !important;
    mix-blend-mode: screen;
}

.floating-art-wrapper {
    position: absolute;
    width: 30vw;
    pointer-events: none;
    will-change: transform;
    /* Use margin-top for the float animation to keep transform clean for JS parallax */
    animation: verticalFloatMargin 40s ease-in-out infinite;
    /* Centering handle */
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-art-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.12;
    /* Even more subtle */
    filter: blur(12px) grayscale(50%);
    /* Heavier blur for depth */
    mix-blend-mode: screen;
}

@keyframes verticalFloatMargin {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -60px;
    }
}

/* Modal / Lightbox */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Accordion Commission Pricing */
.pricing-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-pricing-desc {
    margin-bottom: 0;
    color: #bbb;
    flex: 1;
    text-align: left;
    font-style: italic;
}

.pricing-header-intro {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 850px;
    margin-bottom: 50px;
}

.pricing-intro-avatar img {
    max-width: 240px;
    /* 2x bigger (previously 120px) */
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
    .pricing-header-intro {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .main-pricing-desc {
        text-align: center;
    }
}

.pricing-groups {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    width: 100%;
    max-width: 1100px;
}

.pricing-group {
    width: 850px;
    /* Fixed width to prevent others from scaling */
    max-width: 90vw;
    scroll-margin-top: 100px;
    /* Space for the navigation bar */
    border-radius: 20px;
    overflow: hidden;
    /* Collapse transition: fast width reduction with a small delay so height collapses first */
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
        box-shadow 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 107, 0, 0.05);
}

.pricing-group.active {
    width: 1100px;
    /* Expand to full container width */
    max-width: 100%;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 107, 0, 0.4);
    background: rgba(0, 0, 0, 0.4);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-banner {
    position: relative;
    width: 100%;
    height: 100px;
    /* Shrunken height per sketch */
    cursor: pointer;
    transition: height 0.4s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pricing-group.active .pricing-banner {
    height: 180px;
    /* Taller when active */
}

.banner-bg {
    position: absolute !important;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    filter: brightness(0.4) saturate(0.8);
    transition: filter 0.3s ease, transform 0.5s ease;
}

.pricing-banner:hover .banner-bg {
    filter: brightness(0.5) saturate(1);
}

.banner-overlay {
    position: absolute !important;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, transparent 50%, rgba(0, 0, 0, 0.95) 100%);
}

/* Make overlay nearly invisible for NSFW banners so blurred background shows through */
.banner-overlay.nsfw-item {
    opacity: 0.05;
}


.banner-content {
    position: relative;
    text-align: center;
    z-index: 2;
    transition: transform 0.4s ease;
}

.pricing-group.active .banner-content {
    transform: scale(1.1);
    /* Slightly pop the content when active */
}

.banner-content h2 {
    font-size: 2.5rem;
    /* Shorter for compact view */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    margin: 0;
    line-height: 0.9;
    transition: font-size 0.4s ease;
}

.pricing-group.active h2 {
    font-size: 3.5rem;
}

.banner-content .price-display {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 5px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
    font-family: 'Outfit', sans-serif;
    transition: font-size 0.4s ease;
}

.pricing-group.active .price-display {
    font-size: 2rem;
}

.banner-content .price-display span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 5px;
    font-weight: 400;
}

/* Side Flaps (Triangular per sketch) */
.pricing-banner::before,
.pricing-banner::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    background: var(--accent-color);
    z-index: 3;
    opacity: 1;
    transition: transform 0.4s ease, width 0.4s ease;
}

.pricing-banner::before {
    left: 0;
    clip-path: polygon(0 0, 100% 15%, 0 100%);
}

.pricing-banner::after {
    right: 0;
    clip-path: polygon(100% 0, 0 15%, 100% 100%);
}

.pricing-banner:hover::before {
    transform: translateX(5px);
}

.pricing-banner:hover::after {
    transform: translateX(-5px);
}

/* Accordion Body */
.pricing-detail-container {
    max-height: 0;
    overflow: hidden;
    background: rgba(20, 10, 5, 0.2);
    /* Collapse transition: fast height reduction */
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-group.active .pricing-detail-container {
    max-height: 8000px;
    border-top: 1px solid rgba(255, 107, 0, 0.1);
    /* Expansion transition: vertical starts after horizontal (width 0.35s) */
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
}

.pricing-detail {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Category Info Styles */
.category-info-box {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    text-align: center;
}

.category-description {
    font-size: 1.1rem;
    color: #eee;
    margin-bottom: 20px;
    line-height: 1.6;
}

.headsup-box {
    background: rgba(255, 107, 0, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    text-align: left;
    border-radius: 0 8px 8px 0;
}

.headsup-tag {
    display: block;
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.discord-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.discord-label {
    margin-bottom: 25px;
    color: #ccc;
    font-size: 1.1rem;
    width: 100%;
}

.discord-user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
}

.headsup-text {
    font-size: 0.95rem;
    color: #ccc;
    font-style: italic;
}

.pricing-row {
    display: flex;
    align-items: center;
    gap: 40px;
    /* Reduced from 60px */
    width: 100%;
}

.pricing-row:nth-child(even) {
    flex-direction: row-reverse;
}

.row-image {
    height: 260px;
    /* Balanced size for visibility and density */
    width: auto;
    flex: 0 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 107, 0, 0.15);
}

.row-image img {
    height: 100%;
    width: auto;
    display: block;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.pricing-row:hover img {
    transform: scale(1.1);
}

.row-info {
    flex: 1.2;
    text-align: left;
}

.pricing-row:nth-child(even) .row-info {
    text-align: right;
}

.row-info .row-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.row-info .row-desc {
    font-size: 1.25rem;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Glassmorphism Overrides */
.glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Process Section */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    min-width: 60px;
    text-align: center;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.step-content p {
    opacity: 0.8;
}


/* Responsive Layouts */
@media (max-width: 768px) {
    #nav-bar {
        padding: 10px 20px;
    }
}

/* NSFW Toggle Switch - Mascot Version */
.nsfw-toggle-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 10px;
}

.nsfw-label {
    font-size: 0.9rem;
    font-weight: 800;
    color: #888;
    transition: all 0.3s ease;
    user-select: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 80px;
    /* Wider for more space */
    height: 44px;
    /* Taller for more space */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2f4528;
    /* Dark Green - SFW State */
    transition: .4s;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slider:before {
    position: absolute;
    content: "";
    height: 38px;
    /* Maintain original size */
    width: 38px;
    left: 4px;
    /* More internal padding */
    bottom: 2px;
    /* Centered vertically ( (44-38)/2 - border? ) */
    background-image: url('../../assets/Avatars/NSFW_OFF.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    /* Removed drop-shadow from head */
}

input:checked+.slider {
    background-color: #5a1a1a;
    /* Dark Red - NSFW State */
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5), inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

input:checked+.slider:before {
    transform: translateX(30px);
    /* Adjusted for better centering */
    background-image: url('../../assets/Avatars/NSFW_ON.png');
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

input:checked~.nsfw-label {
    color: #ff4d4d !important;
    text-shadow: 0 0 15px #ff0000, 0 0 25px rgba(255, 0, 0, 0.6), 0 0 5px #000;
}

@keyframes blink-red {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 30px #ff0000;
        border-color: #ff0000;
    }
}

.blink-hint {
    animation: blink-red 0.5s ease-in-out infinite;
    /* Keep blinking while toast is active */
}

/* Nav Divider */
.nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
}

/* Warning Modal Redesign */
.warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    z-index: 9999;
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    transition: opacity 0.3s ease;
}

.warning-card {
    max-width: 900px;
    /* Increased from 650px */
    width: 95%;
    padding: 60px;
    /* Increased padding */
    border-radius: 30px;
    border: 1px solid rgba(255, 107, 0, 0.4);
    /* Orange border */
    box-shadow: 0 40px 100px rgba(255, 107, 0, 0.1), 0 40px 80px rgba(0, 0, 0, 0.9);
}

.warning-flex {
    display: flex;
    gap: 30px;
    align-items: center;
}

.warning-avatar img {
    width: 250px;
    /* Increased from 150px */
    height: auto;
}

.warning-content {
    flex: 1;
    text-align: left;
}

.warning-title {
    font-size: 3rem;
    /* Bigger title */
    color: var(--accent-color);
    /* Orange */
    margin-bottom: 20px;
    text-align: left;
    /* Override global center */
}

.warning-text {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.warning-text i {
    color: var(--accent-color);
    font-style: italic;
}

.warning-subtext {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 25px;
}

.warning-subtext b {
    color: var(--accent-secondary);
}

.warning-actions {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background: #ff8c00;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
    background: #2d3748;
    color: #ccc;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #4a5568;
}

/* Gallery All Capitals */
.category-card h3,
.detail-header h2,
.page-section h1 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        /* Scaled down from 2.2rem */
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.6rem;
        /* Scaled down from 1.8rem */
        text-align: center;
        width: 100%;
    }

    .section-text {
        font-size: 1rem !important;
        padding: 0 15px !important;
        line-height: 1.6 !important;
        text-align: center !important;
        word-break: break-word;
    }

    #app {
        padding-top: 80px !important;
    }

    /* Mobile Navigation - Compact at Top */
    .nav-bar {
        top: 5px !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 98% !important;
        padding: 4px 8px !important;
        gap: 2px !important;
        display: flex !important;
        border-radius: 12px !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8) !important;
    }

    .nav-bar a {
        padding: 6px 8px !important;
        font-size: 0.75rem !important;
    }

    .nav-bar a::before,
    .nav-bar a::after {
        font-size: 0.8rem !important;
    }

    .nsfw-toggle-container {
        gap: 6px !important;
        margin-left: 5px !important;
    }

    .switch {
        width: 50px !important;
        height: 28px !important;
    }

    .slider:before {
        height: 24px !important;
        width: 24px !important;
        bottom: 2px !important;
    }

    input:checked+.slider:before {
        transform: translateX(22px) !important;
    }

    .page-section {
        padding: 40px 15px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .page-section h2,
    .warning-title {
        font-size: 1.6rem !important;
        margin-bottom: 15px !important;
    }

    .warning-text {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    .nav-brand {
        display: none;
        /* Hide brand on mobile bottom nav to save space */
    }

    .warning-card {
        padding: 20px 15px !important;
        width: 95% !important;
        margin: 10px auto;
        box-sizing: border-box;
        border-radius: 20px !important;
    }

    .warning-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .warning-content {
        text-align: center !important;
    }

    .warning-avatar img {
        width: 80px !important;
        /* Scaled down further */
        margin-bottom: 5px;
    }

    .warning-actions {
        flex-direction: column !important;
        width: 100%;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100% !important;
        box-sizing: border-box;
    }

    .masonry-grid {
        column-count: 3 !important;
        column-gap: 5px !important;
        width: 100% !important;
    }

    .collage-item {
        margin-bottom: 5px !important;
        border-radius: 4px !important;
    }

    .nav-bar a {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .nav-divider {
        height: 20px;
    }

    .nsfw-label {
        font-size: 0.7rem;
    }

    #app {
        padding-top: 20px;
        padding-bottom: 120px;
        /* Space for bottom nav */
    }

    /* Compact Pricing for Mobile */
    .pricing-container {
        padding: 10px;
    }

    .pricing-group {
        width: 95% !important;
        /* Wider on mobile */
    }

    .pricing-banner {
        height: 80px;
    }

    .pricing-group.active .pricing-banner {
        height: 120px;
    }

    .banner-content h2 {
        font-size: 1.8rem;
    }

    .pricing-group.active h2 {
        font-size: 2.2rem;
    }

    .pricing-detail {
        padding: 30px 20px;
        gap: 50px;
    }

    .pricing-row {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
        padding: 20px 0 !important;
    }

    .row-image {
        margin-top: 15px !important;
        height: 200px !important;
    }

    .row-info {
        text-align: center !important;
    }

    .row-info .row-price {
        font-size: 2rem !important;
        margin-bottom: 10px !important;
    }

    .row-info .row-desc {
        font-size: 1rem !important;
    }

    .masonry-grid {
        column-count: 3 !important;
        column-gap: 4px !important;
        width: 100% !important;
    }

    .collage-item {
        margin-bottom: 4px !important;
        border-radius: 4px !important;
    }

    .category-card {
        width: 100% !important;
        max-width: 320px;
        height: auto !important;
        min-height: 350px;
    }

    .card-info h3 {
        font-size: 1.3rem !important;
    }

    /* FAQ Mobile */
    .faq-container {
        padding: 10px !important;
    }

    .faq-question h3 {
        font-size: 0.95rem !important;
    }

    .faq-answer p {
        font-size: 0.85rem !important;
    }

    /* Gallery Hero Mobile */
    .gallery-hero {
        flex-direction: column !important;
        padding: 20px 15px !important;
        text-align: center !important;
        margin-bottom: 20px !important;
        border-radius: 15px !important;
    }

    .hero-text {
        text-align: center !important;
    }

    .hero-text h2 {
        font-size: 1.8rem !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }

    .hero-text p {
        margin: 0 auto !important;
        font-size: 0.9rem !important;
    }

    .hero-image {
        display: none;
    }

    /* Fix banner text leaking */
    .banner-content h2 {
        font-size: 1.2rem !important;
        letter-spacing: 2px !important;
    }

    .pricing-group.active h2 {
        font-size: 1.6rem !important;
        letter-spacing: 3px !important;
    }

    .banner-content .price-display {
        font-size: 1rem !important;
    }

    .pricing-group.active .price-display {
        font-size: 1.3rem !important;
    }

    .pricing-banner::before,
    .pricing-banner::after {
        width: 20px !important;
    }
}

@media (min-width: 1024px) {
    .process-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 1000px;
    }

    .step-card:nth-child(odd) {
        transform: translateY(20px);
    }
}


/* NSFW Global Filtering (CSS Driven) */
.nsfw-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

body:not(.nsfw-enabled) .nsfw-item {
    cursor: help;
    pointer-events: all;
    /* Ensure click hits the container for the hint */
}

body:not(.nsfw-enabled) .nsfw-item img,
body:not(.nsfw-enabled) .nsfw-item.banner-bg,
body:not(.nsfw-enabled) .nsfw-item .banner-bg {
    pointer-events: none !important;
    user-select: none !important;
    opacity: 0.7;
}

/* Apply blur to images and videos */
body:not(.nsfw-enabled) .nsfw-item img,
body:not(.nsfw-enabled) .nsfw-item video,
body:not(.nsfw-enabled) .nsfw-item.video-item {
    filter: blur(20px) !important;
}

/* Apply blur to banner backgrounds while preserving brightness/saturation */
body:not(.nsfw-enabled) .nsfw-item.banner-bg,
body:not(.nsfw-enabled) .nsfw-item .banner-bg {
    filter: blur(9px) brightness(0.4) saturate(0.8) !important;
}

/* Remove filter from images and videos when NSFW is enabled */
body.nsfw-enabled .nsfw-item img,
body.nsfw-enabled .nsfw-item video,
body.nsfw-enabled .nsfw-item.video-item {
    filter: none !important;
    opacity: 1 !important;
}

/* Restore default filters for banner backgrounds when NSFW enabled (not blurred, but keep dark) */
body.nsfw-enabled .nsfw-item.banner-bg,
body.nsfw-enabled .nsfw-item .banner-bg {
    filter: brightness(0.4) saturate(0.8) !important;
    opacity: 1 !important;
}

.nsfw-item img {
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, transform 0.5s ease;
    border-radius: 8px;
}

body:not(.nsfw-enabled) .nsfw-item::after {
    content: "NSFW CONTENT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff0000;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #000;
    pointer-events: none;
    z-index: 5;
    opacity: 1;
    transition: opacity 0.4s ease;
}

body.nsfw-enabled .nsfw-item::after {
    opacity: 0;
    pointer-events: none;
}

/* Remove NSFW text label from large banners and category bars */
.pricing-banner .nsfw-item::after,
.category-card .nsfw-item::after {
    display: none !important;
}

/* Page transitions */
.page-section {
    opacity: 1;
}

/* Utilities */
.btn-full {
    width: 100%;
}

.thumb-placeholder {
    color: var(--accent-color);
    font-weight: bold;
    opacity: 0.5;
}

/* NSFW Toast Notification */
.nsfw-toast {
    position: fixed;
    bottom: 150px;
    /* Slightly higher for visibility */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(40, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4d4d;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

@keyframes shake-toast {
    0% {
        transform: translateX(-50%);
    }

    15% {
        transform: translateX(-54%);
    }

    30% {
        transform: translateX(-46%);
    }

    45% {
        transform: translateX(-52%);
    }

    60% {
        transform: translateX(-48%);
    }

    75% {
        transform: translateX(-51%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.nsfw-toast.show {
    opacity: 1;
    animation: shake-toast 0.8s cubic-bezier(.36, .07, .19, .97) both;
}

/* Functional Lightbox Panel */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox-overlay.show {
    display: flex;
    opacity: 1;
}

.lightbox-panel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.lightbox-content:active {
    cursor: grabbing;
}

.lightbox-content img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 1);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: center center;
}

.lightbox-overlay.show img {
    transform: scale(1);
}


.lightbox-close {
    position: fixed;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 200;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .lightbox-controls {
        bottom: 100px;
        /* Above mobile nav */
        padding: 10px 20px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-controls {
        bottom: 80px;
    }
}

/* Ensure controls are visible */
.lightbox-controls {
    display: flex;
    gap: 15px;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.control-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Welcome Section Redesign */
.welcome {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Shift higher */
    padding-top: 60px;
    /* Reduced top spacing */
    min-height: calc(100vh - 100px);
    width: 100%;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    /* Reduced gap */
    align-items: center;
    max-width: 900px;
    /* Scaled down width */
    width: 90%;
    padding: 20px;
    /* Reduced padding */
}

.welcome-avatar {
    display: flex;
    justify-content: flex-end;
}

.welcome-avatar img {
    max-width: 240px;
    /* Scaled down avatar */
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.welcome-box {
    background: rgba(15, 10, 5, 0.6);
    border-left: 3px solid var(--accent-secondary);
    padding: 30px 40px;
    /* Reduced padding */
    border-radius: 4px;
    text-align: left;
    backdrop-filter: blur(10px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.welcome-box h1 {
    font-size: 1.8rem;
    /* Scaled down */
    margin-bottom: 20px;
    font-weight: 300;
}

.welcome-box .intro {
    font-size: 0.95rem;
    /* Scaled down */
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.welcome-box .highlight {
    color: var(--accent-secondary);
    font-weight: 600;
}

.welcome-box .highlight-alt {
    color: var(--accent-color);
    font-weight: 600;
}

.welcome-box h2 {
    font-size: 1rem;
    /* Scaled down */
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.welcome-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.welcome-list li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #bbb;
}

.interactive-welcome-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-welcome-item a:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.interactive-welcome-item a:hover .label {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.interactive-welcome-item .icon {
    font-size: 1.2rem;
    color: var(--accent-secondary);
    min-width: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.interactive-welcome-item a:hover .icon {
    transform: scale(1.2) rotate(5deg);
}

.welcome-list .label {
    font-weight: 700;
    color: #fff;
    transition: color 0.3s ease;
}

.info-alert {
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #aaa;
}

.info-alert .icon {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.welcome-footer {
    margin-top: 30px;
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .welcome-avatar {
        justify-content: center;
    }

    .welcome-box {
        padding: 30px;
    }
}

/* Contact Page Styles */
.contact-header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ddd;
    line-height: 1.6;
}

.contact-top-row {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Keep avatar and card aligned on same level */
    gap: 40px;
    margin-bottom: 30px;
    /* Reduced space */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.discord-card {
    background: rgba(15, 10, 5, 0.4);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-top-aside {
    flex-shrink: 0;
}

.contact-bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 40px;
}

.contact-links-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Reduced from 30px */
    width: 100%;
    align-items: center;
    margin-bottom: 40px;
}

.link-group {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link-intro {
    margin-bottom: 8px;
    color: #888;
    font-size: 0.95rem;
}

.contact-warning-container {
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: center;
}

.contact-warning {
    background: rgba(15, 10, 5, 0.4);
    border: 1px solid rgba(255, 107, 0, 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 20px 25px;
    border-radius: 4px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.warning-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-warning p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    text-align: left;
}

.highlight-alt {
    color: var(--accent-color);
    font-weight: 600;
}

.discord-label {
    margin-bottom: 25px;
    color: #ccc;
    font-size: 1.1rem;
    width: 100%;
}

.discord-user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
}

.discord-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--accent-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.discord-handle-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    background: rgba(88, 101, 242, 0.1);
    border: 2px dashed rgba(88, 101, 242, 0.3);
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.discord-handle-wrapper:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.6);
    transform: scale(1.02);
}

.discord-icon {
    width: 28px;
    height: 28px;
    color: #5865F2;
}

.discord-username {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.copy-hint {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #888;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.discord-handle-wrapper:hover .copy-hint {
    opacity: 1;
}

.copy-hint.copied {
    color: var(--accent-secondary);
    opacity: 1;
}

.contact-header p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: #bbb;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    padding: 16px 28px;
    border-radius: 60px;
    text-decoration: none;
    color: #fff !important;
    font-weight: 700;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    line-height: 1;
    /* Match line height to avoid shifts */
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.btn-text {
    display: flex;
    align-items: center;
    margin-bottom: -1px;
    /* Optical adjustment for some fonts */
}

.btn-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.contact-side-img {
    max-width: 200px;
    /* Reduced to ~66% of 300px */
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-aside {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .contact-side-img {
        max-width: 180px;
        order: -1;
    }

    .discord-user-info {
        flex-direction: column;
    }

    .contact-top-row {
        flex-direction: column;
        text-align: center;
    }
}

/* About Page Enhancements */
.about-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.03);
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #eee;
}

.about-history {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-chapter {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 10, 5, 0.6);
}

.about-chapter-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    filter: blur(5px) brightness(0.4) saturate(0.8);
    opacity: 0.6;
    transition: filter 0.5s ease, opacity 0.5s ease, transform 0.8s ease;
    z-index: -1;
}

.about-chapter-header {
    position: relative;
    z-index: 1;
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.7) 100%);
    transition: backdrop-filter 0.3s;
}

.about-chapter-header:hover .about-chapter-bg {
    filter: blur(3px) brightness(0.5) saturate(1);
    opacity: 0.8;
    transform: scale(1.05);
}

.about-chapter-header:hover {
    backdrop-filter: brightness(1.2);
}

.about-chapter-header h3 {
    font-size: 1.4rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    margin: 0;
    font-weight: 700;
}

.toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.4s;
    opacity: 0.5;
}

.about-chapter.active .toggle-icon {
    transform: rotate(180deg);
}

.about-chapter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
    padding: 0 30px;
}

.about-chapter.active .about-chapter-content {
    max-height: 3000px;
    /* Increased for 71 images */
    padding: 30px;
}

.chapter-desc {
    margin-bottom: 25px;
    color: #bbb;
    line-height: 1.6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.about-thumb {
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s, border-color 0.2s;
    background: #000;
}

.about-thumb:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.about-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.about-thumb:hover img {
    opacity: 1;
}

@media (max-width: 600px) {
    .about-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .about-intro {
        padding: 20px;
    }
}

/* Key Commission Information */
.key-info-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
    animation: slideIn 0.8s ease-out;
}

.key-info-title {
    font-size: 2.2rem;
    color: var(--accent-secondary);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 500;
}

.key-info-box {
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--accent-secondary);
    padding: 10px 0;
}

.key-info-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 30px;
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.key-info-item:last-child {
    border-bottom: none;
}

.key-info-item:hover {
    background: rgba(123, 44, 191, 0.05);
}

.key-info-left {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 150px;
    flex-shrink: 0;
}

.key-info-icon {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    width: 30px;
    text-align: center;
}

.key-info-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ccc;
}

.key-info-desc {
    flex: 1;
    font-size: 1.05rem;
    color: #bbb;
    line-height: 1.6;
}

.key-info-desc .highlight-alt {
    color: var(--accent-secondary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .key-info-item {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    .key-info-left {
        min-width: unset;
    }

    .key-info-title {
        font-size: 1.8rem;
    }
}

/* Process Expandable Sections */
.process-expandables {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-expandable-group {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 10, 5, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.process-expandable-banner {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s;
}

.process-expandable-banner:hover {
    background: rgba(255, 255, 255, 0.05);
}

.process-expandable-banner h3 {
    font-size: 1.3rem;
    color: var(--accent-secondary);
    margin: 0;
}

.process-expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-expandable-group.active .process-expandable-content {
    max-height: 1000px;
}

.process-expandable-group.active .toggle-icon {
    transform: rotate(180deg);
}

/* Fancy Process Expandables */
.process-expandables {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 1000px;
    margin: 40px auto;
}

.process-expandable-group {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-expandable-group.active {
    margin-bottom: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 107, 0, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.process-expandable-banner {
    position: relative;
    width: 100%;
    height: 110px;
    cursor: pointer;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.process-expandable-group.active .process-expandable-banner {
    height: 180px;
    border-bottom-color: rgba(255, 107, 0, 0.3);
}

.process-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.process-banner-bg video,
.process-banner-bg .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    /* Reduced blur/darkness to make it more visible as "fancy" background */
    filter: blur(4px) brightness(0.6) saturate(0.8);
    transition: transform 6s ease, filter 0.4s ease;
}

.process-expandable-group.active .process-banner-bg video,
.process-expandable-group.active .process-banner-bg .banner-img {
    transform: scale(1.05);
    filter: blur(2px) brightness(0.7) saturate(1);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
}

.banner-content h3 {
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    margin: 0;
    transition: transform 0.4s ease, color 0.4s ease;
}

.process-expandable-group.active .banner-content h3 {
    transform: scale(1.15);
    color: var(--accent-color);
}

.process-expandable-banner .toggle-icon {
    position: absolute;
    right: 40px;
    z-index: 4;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.4s ease, color 0.4s ease;
}

.process-expandable-group.active .toggle-icon {
    transform: rotate(180deg);
    color: var(--accent-color);
}

/* Side Slants for Process Banners - Matching Pricing Page */
.process-expandable-banner::before,
.process-expandable-banner::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    background: var(--accent-color);
    z-index: 4;
    transition: transform 0.4s ease;
}

.process-expandable-banner::before {
    left: 0;
    clip-path: polygon(0 0, 100% 15%, 0 100%);
    transform: translateX(-100%);
    /* Hidden by default or just show edge? User liked "previous" */
    /* Let's keep them visible like pricing */
    transform: translateX(0);
}

.process-expandable-banner::after {
    right: 0;
    clip-path: polygon(100% 0, 0 15%, 100% 100%);
    transform: translateX(0);
}

.process-expandable-banner:hover::before {
    transform: translateX(5px);
}

.process-expandable-banner:hover::after {
    transform: translateX(-5px);
}

.process-expandable-content {
    max-height: 0;
    overflow: hidden;
    /* ensure content doesn't bleed during transition */
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.process-expandable-group.active .process-expandable-content {
    max-height: 2500px;
    /* Large enough for content */
}

/* Updated Video Grid - Fancy & Aligned */
.video-grid.fancy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    /* Smaller min-width for smaller videos */
    gap: 20px;
    margin: 30px auto;
    /* Increased vertical space */
    width: 90%;
    /* Increased side spacing */
    max-width: 900px;
    /* Match text box width */
    justify-content: center;
}

.video-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Ensure no weird aspect ratio forcing on container, let video dictate or fill */
}

.video-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-secondary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(123, 44, 191, 0.3);
    z-index: 5;
}

.video-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    /* Main video fits without cropping */
    position: relative;
    z-index: 2;
}

/* Optimization & Alignment Styles */
.video-item {
    aspect-ratio: 9/16;
    /* Enforce vertical ratio for alignment */
    background: #000;
    /* Fallback */
    /* Optional: If we had thumbnails, we'd put a blurred background here. 
       For now, we use a dark gradient to look premium. */
    background: radial-gradient(circle, rgba(30, 30, 30, 1) 0%, rgba(0, 0, 0, 1) 100%);
    cursor: pointer;
}

/* Play Overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.play-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s ease;
}

.video-item:hover .play-icon {
    transform: scale(1.1);
    color: #fff;
}

/* Playing State */
.video-item.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Loader / Buffering */
.video-loader {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent-primary);
    width: 0%;
    z-index: 20;
    transition: width 0.2s;
}

.video-item.buffering .video-loader {
    width: 50%;
    animation: bufferLoad 1s infinite ease-in-out;
}

@keyframes bufferLoad {
    0% {
        width: 10%;
        left: 0;
        opacity: 1;
    }

    50% {
        width: 70%;
        left: 30%;
        opacity: 0.8;
    }

    100% {
        width: 10%;
        left: 90%;
        opacity: 0;
    }
}

/* Refined Work Updates Area - prevent bleeding */
.wips-sticker-area {
    position: relative;
    min-height: 600px;
    /* Remove negative margins that cause bleeding */
    margin: 30px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 20px;
    overflow: hidden;
    /* Key to stop stickers from bleeding out */
}

/* Process Expandables - cleaner look */
.process-expandable-group .toggle-icon {
    display: none !important;
}

/* Shared Fancy Text Box style for Process Section */
.wips-sticker-text,
.expandable-text {
    position: relative;
    z-index: 10;
    max-width: 900px;
    /* Tighter max width */
    width: 90%;
    /* Increased side spacing */
    margin: 0 auto 30px auto;
    /* Increased vertical space */
    text-align: center;
    background: rgba(18, 18, 18, 0.85);
    /* Slightly more transparent */
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 100, 0, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.wips-sticker-text p,
.expandable-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* Specifics for Sticker Text (absolute positioning override if needed) */
.wips-sticker-text {
    /* Retain specific behaviors if any, but base styles are now shared */
    z-index: 9999;
}

.wips-sticker-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #eeeeee;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.wips-sticker-container {
    position: absolute;
    top: -50px;
    bottom: -50px;
    width: 25%;
    /* Narrower to avoid edges */
    pointer-events: none;
}

.wips-sticker-container.left {
    left: 5%;
    /* Push in from left */
}

.wips-sticker-container.right {
    right: 5%;
    /* Push in from right */
}


.wip-sticker-dynamic {
    position: absolute;
    width: 370px;
    /* Larger base size */
    background: transparent;
    padding: 0;
    box-shadow: none;
    transform: translate(-50%, -50%) rotate(var(--rotation)) scale(0.6);
    left: var(--left);
    top: var(--top);
    opacity: 0;
    /* Fast appear (1s) */
    transition: opacity 1s ease-out, transform 1s ease-out;
    z-index: 100;
    /* Base z-index */
    pointer-events: none;
}

.wip-sticker-dynamic img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    filter: brightness(0.9);
}

.wip-sticker-dynamic.appearing {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--rotation)) scale(var(--target-scale, 1.0));
}

.wip-sticker-dynamic.disappearing {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--rotation)) scale(var(--target-scale));
    /* Slow disappear (5s) */
    transition: opacity 5s ease-in, transform 5s ease-in;
}



/* Mobile adjustments */
@media (max-width: 768px) {
    .video-grid.fancy {
        grid-template-columns: 1fr;
    }

    .wips-sticker-area {
        min-height: 500px;
    }

    .wips-sticker-container {
        width: 100%;
        opacity: 0.15;
        /* Fade out stickers more on mobile so text reads */
    }

    .wips-sticker-text {
        padding: 20px;
        margin: 0 10px;
    }
}

/* Process Breakdown Steps - Dynamic Vertical List */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 40px auto;
    width: 90%;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    border-radius: 12px;
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    user-select: text;
    /* Allow text selection */
    pointer-events: auto;
    /* Allow interactions like selection */
    transform: none !important;
    /* Force no movement */
}

/* Ensure no hover effects even if forced */
.step-card:hover {
    transform: none !important;
    background: rgba(18, 18, 18, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: none !important;
}

/* Removed hover movement as requested */
/* Hover effects removed for static display */

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.step-content p {
    margin: 0;
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Highlight Text */
.highlight-text {
    color: var(--accent-secondary);
    font-weight: 600;
}

/* Centered Contact Layout */
.centered-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 60px auto;
}

.contact-header {
    text-align: center;
    max-width: 600px;
}

.contact-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #bbb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

.contact-vector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

/* Wide Discord Card */
.discord-card.wide-card {
    width: 100%;
    max-width: 500px;
    /* Wider than before */
    border: 1px solid #2f3136;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.discord-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.discord-avatar {
    margin-bottom: 15px;
}

.discord-info {
    margin-bottom: 10px;
}

.discord-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.discord-actions {
    width: 100%;
    margin-top: 20px;
}

.discord-btn.primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #5865F2;
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.discord-btn.primary:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}


/* Contact Buttons Row */
.contact-buttons-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-pill-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.contact-pill-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary);
}

.btn-label {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Warning Footer */
.contact-warning-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(255, 50, 50, 0.1);
    /* Red tint */
    border: 1px solid rgba(255, 80, 80, 0.2);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
}

.warning-icon {
    font-size: 1.5rem;
}

.warning-text {
    color: #ffdce0;
    font-size: 0.95rem;
    margin: 0;
    /* Force normal flow to fix column split issue */
    columns: auto !important;
    column-count: auto !important;
    width: 100%;
}

@media (max-width: 600px) {
    .contact-buttons-row {
        flex-direction: column;
        width: 100%;
    }

    .contact-pill-btn {
        width: 100%;
        justify-content: center;
    }
}