/* Studio Rahatol - Specific Styles */

/* Video Background Container */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.6; /* Dim video slightly for readability */
}

/* Video Overlay for Readability */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 26, 0.4) 0%, rgba(10, 10, 26, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Ensure particles are behind content but visible if video fails or as supplement */
#particle-canvas, .stars {
    z-index: -1;
}

/* Main Layout */
.studio-container {
    padding-top: 8vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Clean Header */
.studio-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.studio-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.studio-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

/* Navigation Tabs */
.studio-nav {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-tab {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.nav-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-tab.active {
    color: #fff;
    background: var(--accent-purple);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* Content Area */
.content-area {
    width: 90%;
    max-width: 1000px;
    min-height: 400px;
    position: relative;
}

.content-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(18, 18, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
}

.content-section.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Section specific styling */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.game-placeholder {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #1a1a3a, #2a2a4a);
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
}

.game-info {
    padding: 1.5rem;
}

.game-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.game-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .studio-title {
        font-size: 3rem;
    }

    .studio-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        border-radius: 20px;
    }

    .content-section {
        padding: 1.5rem;
    }
}
