/**
 * Built By: TIVARATECH SOLUTIONS
 * Desktop Static Update: Matches Mobile Styles
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --primary: #ff00cc;       
    --primary-glow: rgba(255, 0, 204, 0.7); 
    --secondary: #9d4edd;   
    --accent: #00f2ff;      
    --bg-deep: #240024;      
    --g-clr-1: #ff0099;       
    --g-clr-2: #7b2cbf;      
    --g-clr-3: #ff00cc;      
    --g-clr-4: #3a0ca3;      
    --g-clr-5: #f72585;       
    --g-clr-6: #4361ee;      
    --text: #ffffff;
    --text-muted: #ffccef;    
    --glass: rgba(36, 0, 36, 0.96); /* UPDATED: Static Mobile Color */
    --glass-hover: rgba(56, 0, 56, 0.96);
    --glass-border: rgba(255, 100, 200, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --transition: cubic-bezier(0.23, 1, 0.32, 1);
    --container-width: 1400px;
    --font-main: 'Inter', sans-serif;
    --font-luxe: 'Playfair Display', serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

html { 
    scroll-behavior: smooth; 
    background-color: var(--bg-deep);
    font-size: 16px;
    overflow-x: hidden;
}

body {
    position: relative;
    color: var(--text);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* UPDATED: Static Background (No Animation) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    background: linear-gradient(
        -45deg, 
        var(--g-clr-1), 
        var(--g-clr-2), 
        var(--g-clr-3), 
        var(--g-clr-4), 
        var(--g-clr-5), 
        var(--g-clr-6)
    );
    background-size: 100% 100%; /* Static Size */
    animation: none; /* Disabled Animation */
    will-change: background-position;
}

/* Keyframes kept for reference but unused */
@keyframes liquidDrift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 204, 0.4); 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    letter-spacing: -0.02em;
}

.glow-text { 
    color: #fff;
    text-shadow: 0 0 20px var(--primary-glow), 0 0 40px var(--primary);
}

.luxe-serif { 
    font-family: var(--font-luxe) !important; 
}

.orb-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; 
    overflow: hidden;
    pointer-events: none;
    mix-blend-mode: overlay;
    transform: translate3d(0,0,0);
}

/* UPDATED: Static Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px); /* Mobile Blur */
    opacity: 0.3; /* Mobile Opacity */
    will-change: transform;
    animation: none !important; /* Disabled Animation */
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: #ff00cc; 
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: #4361ee; 
}

@media (pointer: fine) and (hover: hover) {
    body { cursor: none; }
    
    #custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        z-index: 9999999;
        pointer-events: none;
        
        border: 1px solid var(--primary); 
        border-radius: 50%;
        box-shadow: 0 0 10px var(--primary-glow);
        
        transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
        will-change: transform;
    }

    #custom-cursor::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 4px;
        height: 4px;
        background: #fff;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

    #custom-cursor.active {
        width: 50px;
        height: 50px;
        background: rgba(255, 0, 204, 0.1);
        border-color: #fff;
        backdrop-filter: blur(2px);
    }
}

@media (hover: none) and (pointer: coarse) {
    #custom-cursor { display: none !important; } 
    body { cursor: auto !important; } 
}

.hamburger-trigger {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    
    /* UPDATED: Mobile Style Background */
    background: rgba(36, 0, 36, 0.96);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    
    cursor: pointer;
    backdrop-filter: none; /* Removed Blur */
    transition: 0.3s var(--transition);
}

.hamburger-trigger:hover {
    background: rgba(56, 0, 56, 0.96); 
    border-color: var(--primary);
    transform: scale(1.05);
}

.hamburger-trigger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: 0.4s var(--transition);
}

.hamburger-trigger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-trigger.active span:nth-child(2) { opacity: 0; }
.hamburger-trigger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay {
    position: fixed;
    inset: 0;
    /* UPDATED: Mobile Style Background */
    background: rgba(36, 0, 36, 0.96);
    backdrop-filter: none;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vh;
}

.menu-links a {
    font-family: var(--font-luxe);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-style: italic;
    transition: 0.3s var(--transition);
}

.menu-links a:hover {
    color: #fff;
    text-shadow: 0 0 30px var(--primary);
    transform: scale(1.02);
}

.container-main {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 5;
}

.sub-header {
    width: 100%;
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.sub-logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.3));
}

.hero-minimal {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 5;
}

.hero-logo {
    width: clamp(300px, 50vw, 500px);
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 25px rgba(255, 0, 204, 0.5));
}

/* UPDATED: Glass Card Styles to Match Mobile (Solid Dark Purple) */
.glass-card, 
.auth-content, 
.modal-content {
    background: rgba(36, 0, 36, 0.96) !important;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    
    transform: translateZ(0); 
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    background: rgba(56, 0, 56, 0.96) !important;
    border-color: var(--primary); 
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
}

.btn-gold:hover {
    background: #fff;
    color: var(--bg-deep);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 204, 0.6); 
    transform: translateY(-2px);
}

.auth-input, .cinematic-input {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 18px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: 0.2s ease;
    border-radius: 12px;
}

.auth-input:focus, .cinematic-input:focus {
    border-color: var(--primary);
    background: rgba(0,0,0,0.35);
    box-shadow: 0 0 15px var(--primary-glow);
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 5;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    height: 600px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.auth-container.flipped {
    transform: rotateY(180deg);
}

.auth-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
    transform: translateZ(0);
}

.auth-back {
    transform: rotateY(180deg);
}

/* Auth content style merged with glass-card update above */
.auth-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admin-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 5% 100px;
    position: relative;
    z-index: 5;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 25px;
}

.admin-nav {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.admin-nav button {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px 25px;
    border-radius: 40px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.admin-nav button.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.admin-nav button:hover:not(.active) {
    color: #fff;
}


.storage-card {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    width: 0%;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 15px var(--primary);
}

.split-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.media-item {
    aspect-ratio: 1;
    position: relative;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.2s;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: 0.3s;
}

.media-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.media-item:hover img {
    opacity: 1;
    transform: scale(1.02);
}


.blog-grid, 
.gallery-grid, 
.curated-grid, 
.media-grid, 
.thread-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}


.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none !important;
}

/* UPDATED: Footer Background to Match Mobile */
.main-footer {
    width: 100%;
    background: rgba(36, 0, 36, 0.96) !important;
    backdrop-filter: none !important;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    padding-top: 60px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5% 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand h2 {
    font-family: var(--font-luxe);
    font-size: 1.6rem;
    font-style: italic;
    margin-bottom: 15px;
    color: #fff;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 800;
    opacity: 0.7;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Mobile styles retained for grid/layout, but color overrides are now global */
@media (max-width: 900px) {
    .glass-card {
        box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-logo {
        width: 70%;
        max-width: 300px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .admin-nav {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .admin-nav button {
        flex: 1;
        text-align: center;
        padding: 10px 8px;
        font-size: 0.7rem;
    }
    
    .split-layout {
        grid-template-columns: 1fr !important;
    }
    
    .luxe-form-container { padding: 30px 20px; }
    .glass-card { padding: 30px 20px; }
}