/* Sleek Dark Mode Theme */
:root {
    --bg-color: #000000;
    --sidebar-bg: #111111;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --accent-color: #ffffff;
    --border-color: #222222;
    --font-family: 'Inter', sans-serif;
}

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

img {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* Smooth transition for theme changes if added later */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 250px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.nav-links {
    list-style: none;
    margin-top: 80px;
}

.nav-links li {
    margin-bottom: 25px;
}

.nav-links a {
    font-family: "Times New Roman", Times, serif;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Main Content Area */
.main-content {
    margin-left: 250px;
    padding: 100px 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section {
    max-width: 800px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

h1 {
    font-size: 56px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

p {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
}

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

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-color: #111;
}

.digital-item-border {
    border: 1px solid #fff;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Viewer Page */
.viewer-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    position: relative;
}

.viewer-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.back-button {
    position: absolute;
    top: 40px;
    left: 40px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    font-family: "Times New Roman", Times, serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.back-button:hover {
    color: #aaa;
}

/* Shop Items */
.shop-item-wrapper {
    display: flex;
    flex-direction: column;
}

.shop-item-price {
    margin-top: 20px;
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    letter-spacing: 1px;
}

/* Product Page */
.product-content {
    padding-top: 50px;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: "Times New Roman", Times, serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 40px;
    display: inline-block;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-color);
}

.product-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1100px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.product-image-container {
    flex: 1.5;
    min-width: 0;
}

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

.product-details {
    flex: 1;
    min-width: 0;
    padding-top: 20px;
}

.product-details h1 {
    font-family: "Times New Roman", Times, serif;
    font-size: 42px;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.product-details h2 {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.product-details p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.buy-button {
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    padding: 15px 30px;
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.buy-button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* RRF Page */
.rrf-content {
    padding: 0;
    justify-content: flex-start;
    display: block;
}

.gif-banner {
    position: relative;
    width: 100%;
    z-index: 50;
    background-color: #000;
}

.gif-banner img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    object-position: center 10%;
    display: block;
}

.rrf-ig-link {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-left: 20px;
    margin-bottom: -10px;
    transition: color 0.3s ease;
}

.rrf-ig-link:hover {
    color: var(--accent-color);
}

.rrf-inner {
    padding: 80px;
    text-align: center;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #111;
    overflow: hidden;
    position: relative;
    border: 1px solid #fff;
}

.video-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.video-item a:hover img {
    transform: scale(1.05);
}

/* Responsive Design */

/* Tablet Layout */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .video-grid {
        gap: 20px;
    }
    .main-content {
        padding: 80px 40px;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px 20px;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-links li {
        margin-bottom: 15px;
    }
    
    .main-content {
        margin-left: 0;
        padding: 40px 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .product-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .buy-button {
        max-width: 100%;
    }
    
    .rrf-inner {
        padding: 40px 20px;
    }
    
    .back-button {
        top: 20px;
        left: 20px;
    }
}
