/**
 * PH798 Gaming Platform - Main Stylesheet
 * Class Prefix: v00f-
 * Color Scheme: Deep Ocean Blue & Golden Sunset
 */

/* ============================================
   CSS Variables - Color Palette
   ============================================ */
:root {
    --v00f-primary: #0f4c75;
    --v00f-primary-dark: #0a3352;
    --v00f-primary-light: #1a6fa3;
    --v00f-secondary: #f4a261;
    --v00f-secondary-light: #f4c892;
    --v00f-accent: #e76f51;
    --v00f-accent-glow: #ff6b4a;
    --v00f-dark: #0d1b2a;
    --v00f-darker: #050d16;
    --v00f-light: #e8f1f8;
    --v00f-white: #ffffff;
    --v00f-gray: #8ba3b5;
    --v00f-gray-light: #c4d4e0;
    --v00f-success: #2a9d8f;
    --v00f-warning: #e9c46a;
    --v00f-gradient-primary: linear-gradient(135deg, #0f4c75 0%, #1a6fa3 100%);
    --v00f-gradient-accent: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    --v00f-gradient-dark: linear-gradient(180deg, #0d1b2a 0%, #0f4c75 100%);
    --v00f-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --v00f-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --v00f-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --v00f-radius-sm: 6px;
    --v00f-radius-md: 12px;
    --v00f-radius-lg: 20px;
    --v00f-radius-full: 50px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--v00f-darker);
    color: var(--v00f-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   Header Styles
   ============================================ */
.v00f-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 76, 117, 0.3);
    transition: all 0.3s ease;
}

.v00f-header-scrolled {
    background: rgba(5, 13, 22, 0.98);
    box-shadow: var(--v00f-shadow-md);
}

.v00f-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v00f-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v00f-logo-img {
    width: 42px;
    height: 42px;
    border-radius: var(--v00f-radius-sm);
}

.v00f-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--v00f-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v00f-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v00f-btn {
    padding: 10px 24px;
    border-radius: var(--v00f-radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.v00f-btn-login {
    background: transparent;
    border: 2px solid var(--v00f-secondary);
    color: var(--v00f-secondary);
}

.v00f-btn-login:hover {
    background: var(--v00f-secondary);
    color: var(--v00f-dark);
}

.v00f-btn-register {
    background: var(--v00f-gradient-accent);
    color: var(--v00f-dark);
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.4);
}

.v00f-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.5);
}

.v00f-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--v00f-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   Desktop Navigation
   ============================================ */
.v00f-desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.v00f-nav-link {
    color: var(--v00f-gray-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.v00f-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--v00f-secondary);
    transition: width 0.3s ease;
}

.v00f-nav-link:hover {
    color: var(--v00f-secondary);
}

.v00f-nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.v00f-hero {
    min-height: 100vh;
    background: var(--v00f-gradient-dark);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.v00f-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/d2900faa_hero-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.v00f-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.v00f-hero-badge {
    display: inline-block;
    background: rgba(244, 162, 97, 0.2);
    border: 1px solid var(--v00f-secondary);
    padding: 8px 20px;
    border-radius: var(--v00f-radius-full);
    font-size: 0.85rem;
    color: var(--v00f-secondary);
    margin-bottom: 24px;
}

.v00f-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.v00f-hero-title span {
    background: var(--v00f-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v00f-hero-subtitle {
    font-size: 1.15rem;
    color: var(--v00f-gray);
    max-width: 600px;
    margin: 0 auto 32px;
}

.v00f-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.v00f-btn-hero {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: var(--v00f-radius-lg);
}

/* ============================================
   Game Categories Section
   ============================================ */
.v00f-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.v00f-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.v00f-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.v00f-section-title span {
    color: var(--v00f-secondary);
}

.v00f-section-desc {
    color: var(--v00f-gray);
    font-size: 1rem;
}

.v00f-category-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pro00f-cat-tab {
    padding: 12px 24px;
    background: rgba(15, 76, 117, 0.3);
    border: 1px solid rgba(15, 76, 117, 0.5);
    border-radius: var(--v00f-radius-full);
    color: var(--v00f-gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pro00f-cat-tab:hover,
.pro00f-cat-tab.pro00f-active {
    background: var(--v00f-gradient-primary);
    border-color: var(--v00f-primary-light);
    color: var(--v00f-white);
}

/* ============================================
   Game Grid
   ============================================ */
.pro00f-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.pro00f-game-card {
    background: linear-gradient(145deg, rgba(15, 76, 117, 0.4), rgba(13, 27, 42, 0.8));
    border-radius: var(--v00f-radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 76, 117, 0.3);
}

.pro00f-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--v00f-secondary);
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.2);
}

.pro00f-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pro00f-game-name {
    padding: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--v00f-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   Features Section
   ============================================ */
.v00f-features {
    background: linear-gradient(180deg, var(--v00f-darker) 0%, var(--v00f-dark) 100%);
    padding: 80px 20px;
}

.v00f-features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.v00f-feature-card {
    background: rgba(15, 76, 117, 0.15);
    border: 1px solid rgba(15, 76, 117, 0.3);
    border-radius: var(--v00f-radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.v00f-feature-card:hover {
    background: rgba(15, 76, 117, 0.25);
    transform: translateY(-3px);
}

.v00f-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--v00f-gradient-primary);
    border-radius: var(--v00f-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--v00f-secondary);
}

.v00f-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--v00f-light);
}

.v00f-feature-desc {
    color: var(--v00f-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Mobile Bottom Navigation
   ============================================ */
.v00f-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.98), rgba(5, 13, 22, 0.99));
    border-top: 1px solid rgba(15, 76, 117, 0.4);
    display: none;
    padding: 8px 0;
    backdrop-filter: blur(10px);
}

.v00f-bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.v00f-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    min-width: 64px;
    min-height: 56px;
    color: var(--v00f-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--v00f-radius-md);
}

.v00f-nav-item:hover,
.v00f-nav-item.v00f-active {
    color: var(--v00f-secondary);
    background: rgba(244, 162, 97, 0.1);
}

.v00f-nav-item i,
.v00f-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.v00f-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

/* ============================================
   Mobile Menu
   ============================================ */
#pro00f-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v00f-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

#pro00f-mobile-menu.pro00f-active {
    right: 0;
}

#pro00f-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#pro00f-menu-overlay.pro00f-active {
    opacity: 1;
    visibility: visible;
}

.pro00f-mobile-nav-list {
    margin-top: 60px;
}

.pro00f-mobile-nav-item {
    padding: 16px;
    border-bottom: 1px solid rgba(15, 76, 117, 0.3);
    color: var(--v00f-light);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro00f-mobile-nav-item:hover {
    background: rgba(15, 76, 117, 0.2);
    color: var(--v00f-secondary);
}

/* ============================================
   Footer
   ============================================ */
.v00f-footer {
    background: var(--v00f-darker);
    border-top: 1px solid rgba(15, 76, 117, 0.3);
    padding: 60px 20px 30px;
}

.v00f-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.v00f-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.v00f-footer-section h4 {
    color: var(--v00f-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.v00f-footer-links a {
    display: block;
    color: var(--v00f-gray);
    padding: 8px 0;
    transition: color 0.3s ease;
}

.v00f-footer-links a:hover {
    color: var(--v00f-secondary);
}

.v00f-partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.v00f-partner-logo {
    width: 60px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--v00f-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.v00f-footer-bottom {
    border-top: 1px solid rgba(15, 76, 117, 0.3);
    padding-top: 20px;
    text-align: center;
    color: var(--v00f-gray);
    font-size: 0.9rem;
}

/* ============================================
   Toast Notification
   ============================================ */
.pro00f-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--v00f-success);
    color: var(--v00f-white);
    padding: 12px 24px;
    border-radius: var(--v00f-radius-full);
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
}

.pro00f-toast.pro00f-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   Accordion Styles
   ============================================ */
.pro00f-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(15, 76, 117, 0.2);
    border: 1px solid rgba(15, 76, 117, 0.3);
    border-radius: var(--v00f-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.pro00f-accordion-header:hover {
    background: rgba(15, 76, 117, 0.3);
}

.pro00f-accordion-header.pro00f-active {
    background: var(--v00f-gradient-primary);
    border-color: var(--v00f-primary-light);
}

.pro00f-accordion-title {
    font-weight: 600;
    color: var(--v00f-light);
    font-size: 1rem;
}

.pro00f-accordion-icon {
    transition: transform 0.3s ease;
    color: var(--v00f-secondary);
}

.pro00f-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.pro00f-accordion-content-inner {
    padding: 20px;
    background: rgba(13, 27, 42, 0.5);
    border-radius: var(--v00f-radius-md);
    margin-bottom: 12px;
    color: var(--v00f-gray);
    line-height: 1.7;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .v00f-header-actions .v00f-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .v00f-desktop-nav {
        display: none;
    }

    .v00f-menu-toggle {
        display: block;
    }

    .v00f-bottom-nav {
        display: block;
    }

    .v00f-hero-title {
        font-size: 2rem;
    }

    .v00f-section {
        padding: 40px 16px;
    }

    .pro00f-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    main, .v00f-main-content {
        padding-bottom: 80px;
    }

    .v00f-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 430px) {
    .v00f-header-container {
        padding: 10px 12px;
    }

    .v00f-logo-text {
        font-size: 1.2rem;
    }

    .v00f-btn-login {
        padding: 6px 12px;
    }

    .v00f-btn-register {
        padding: 6px 14px;
    }

    .pro00f-game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .v00f-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .v00f-btn-hero {
        width: 100%;
        max-width: 280px;
    }
}

@media (min-width: 769px) {
    .v00f-bottom-nav {
        display: none !important;
    }
}
