/**
 * Catheter Gaming Platform - Theme Stylesheet
 * Version: 1.0.0
 * Prefix: w0d1d-
 * Color Scheme: Deep Navy & Electric Blue
 */

/* ==================== CSS Variables ==================== */
:root {
    --w0d1d-primary: #0a1628;
    --w0d1d-secondary: #1a2d4a;
    --w0d1d-accent: #00d4ff;
    --w0d1d-accent-hover: #00a8cc;
    --w0d1d-gold: #ffd700;
    --w0d1d-success: #00ff88;
    --w0d1d-text: #ffffff;
    --w0d1d-text-muted: #a0b4c8;
    --w0d1d-bg-dark: #060d18;
    --w0d1d-bg-card: #0f1f35;
    --w0d1d-border: #2a4060;
    --w0d1d-gradient: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
    --w0d1d-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
    --w0d1d-radius: 12px;
    --w0d1d-radius-sm: 8px;
    --w0d1d-transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--w0d1d-bg-dark);
    color: var(--w0d1d-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body.w0d1d-no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--w0d1d-transition);
}

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

ul, ol {
    list-style: none;
}

/* ==================== Header ==================== */
.w0d1d-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--w0d1d-border);
    padding: 12px 0;
    transition: var(--w0d1d-transition);
}

.w0d1d-header-scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: var(--w0d1d-shadow);
}

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

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

.w0d1d-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.w0d1d-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--w0d1d-accent), var(--w0d1d-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.w0d1d-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--w0d1d-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--w0d1d-transition);
}

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

.w0d1d-btn-login:hover {
    background: var(--w0d1d-accent);
    color: var(--w0d1d-primary);
}

.w0d1d-btn-register {
    background: linear-gradient(135deg, var(--w0d1d-accent), var(--w0d1d-accent-hover));
    color: var(--w0d1d-primary);
}

.w0d1d-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

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

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

.w0d1d-nav-link {
    color: var(--w0d1d-text-muted);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

.w0d1d-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--w0d1d-accent);
    transition: var(--w0d1d-transition);
}

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

/* ==================== Mobile Menu ==================== */
.w0d1d-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: var(--w0d1d-transition);
}

.w0d1d-overlay-active {
    opacity: 1;
    visibility: visible;
}

#game0dbc-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--w0d1d-secondary);
    z-index: 9999;
    padding: 80px 24px 24px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.game0dbc-menu-active {
    right: 0 !important;
}

.w0d1d-mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.w0d1d-mobile-nav-link {
    display: block;
    padding: 14px 16px;
    color: var(--w0d1d-text);
    border-radius: var(--w0d1d-radius-sm);
    background: var(--w0d1d-bg-card);
    font-weight: 500;
}

.w0d1d-mobile-nav-link:hover {
    background: var(--w0d1d-accent);
    color: var(--w0d1d-primary);
}

/* ==================== Main Content ==================== */
main {
    padding-top: 80px;
    min-height: 100vh;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

.w0d1d-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==================== Hero Section ==================== */
.w0d1d-hero {
    background: var(--w0d1d-gradient);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.w0d1d-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.w0d1d-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.w0d1d-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.w0d1d-hero-title span {
    background: linear-gradient(90deg, var(--w0d1d-accent), var(--w0d1d-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w0d1d-hero-subtitle {
    font-size: 1.1rem;
    color: var(--w0d1d-text-muted);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.w0d1d-btn-hero {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ==================== Game Categories ==================== */
.w0d1d-section {
    padding: 50px 0;
}

.w0d1d-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.w0d1d-section-title span {
    color: var(--w0d1d-accent);
}

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

.w0d1d-category-tab {
    padding: 10px 24px;
    background: var(--w0d1d-bg-card);
    border: 1px solid var(--w0d1d-border);
    border-radius: 50px;
    color: var(--w0d1d-text-muted);
    cursor: pointer;
    transition: var(--w0d1d-transition);
    font-weight: 500;
}

.w0d1d-category-tab:hover,
.w0d1d-tab-active {
    background: var(--w0d1d-accent);
    color: var(--w0d1d-primary);
    border-color: var(--w0d1d-accent);
}

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

@media (max-width: 430px) {
    .w0d1d-game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.w0d1d-game-card {
    background: var(--w0d1d-bg-card);
    border-radius: var(--w0d1d-radius);
    overflow: hidden;
    border: 1px solid var(--w0d1d-border);
    cursor: pointer;
    transition: var(--w0d1d-transition);
}

.w0d1d-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--w0d1d-accent);
    box-shadow: var(--w0d1d-shadow);
}

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

.w0d1d-game-info {
    padding: 12px;
}

.w0d1d-game-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--w0d1d-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.w0d1d-game-type {
    font-size: 0.75rem;
    color: var(--w0d1d-text-muted);
    margin-top: 4px;
}

/* Category Content Visibility */
.w0d1d-category-content {
    display: none;
}

.w0d1d-content-active {
    display: block;
}

/* ==================== Features Section ==================== */
.w0d1d-features {
    background: var(--w0d1d-secondary);
    padding: 50px 0;
}

.w0d1d-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.w0d1d-feature-card {
    background: var(--w0d1d-bg-card);
    padding: 24px;
    border-radius: var(--w0d1d-radius);
    border: 1px solid var(--w0d1d-border);
    text-align: center;
    transition: var(--w0d1d-transition);
}

.w0d1d-feature-card:hover {
    border-color: var(--w0d1d-accent);
    transform: translateY(-4px);
}

.w0d1d-feature-icon {
    font-size: 2.5rem;
    color: var(--w0d1d-accent);
    margin-bottom: 16px;
}

.w0d1d-feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.w0d1d-feature-desc {
    font-size: 0.9rem;
    color: var(--w0d1d-text-muted);
}

/* ==================== FAQ Section ==================== */
.w0d1d-faq-section {
    padding: 50px 0;
}

.w0d1d-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.w0d1d-faq-item {
    background: var(--w0d1d-bg-card);
    border: 1px solid var(--w0d1d-border);
    border-radius: var(--w0d1d-radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.w0d1d-faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.w0d1d-faq-question:hover {
    color: var(--w0d1d-accent);
}

.w0d1d-faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.w0d1d-faq-active .w0d1d-faq-icon {
    transform: rotate(180deg);
}

.w0d1d-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.w0d1d-faq-active .w0d1d-faq-answer {
    max-height: 500px;
}

.w0d1d-faq-answer-content {
    padding: 0 20px 16px;
    color: var(--w0d1d-text-muted);
    font-size: 0.95rem;
}

/* ==================== Footer ==================== */
.w0d1d-footer {
    background: var(--w0d1d-primary);
    border-top: 1px solid var(--w0d1d-border);
    padding: 40px 0 20px;
}

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

.w0d1d-footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--w0d1d-accent);
}

.w0d1d-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.w0d1d-footer-link {
    color: var(--w0d1d-text-muted);
    font-size: 0.9rem;
}

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

.w0d1d-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.w0d1d-partner-logo {
    height: 32px;
    opacity: 0.7;
    transition: var(--w0d1d-transition);
}

.w0d1d-partner-logo:hover {
    opacity: 1;
}

.w0d1d-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--w0d1d-border);
}

.w0d1d-copyright {
    color: var(--w0d1d-text-muted);
    font-size: 0.85rem;
}

/* ==================== Mobile Bottom Navigation ==================== */
.w0d1d-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 22, 40, 0.98);
    border-top: 1px solid var(--w0d1d-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 4px 0;
}

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

.w0d1d-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    cursor: pointer;
    transition: var(--w0d1d-transition);
    border-radius: 8px;
    padding: 4px 8px;
}

.w0d1d-nav-item:hover {
    background: rgba(0, 212, 255, 0.1);
}

.w0d1d-nav-item i,
.w0d1d-nav-item .material-icons {
    font-size: 22px;
    color: var(--w0d1d-text-muted);
    margin-bottom: 2px;
    transition: var(--w0d1d-transition);
}

.w0d1d-nav-item span {
    font-size: 10px;
    color: var(--w0d1d-text-muted);
    transition: var(--w0d1d-transition);
}

.w0d1d-nav-item:hover i,
.w0d1d-nav-item:hover .material-icons,
.w0d1d-nav-item:hover span {
    color: var(--w0d1d-accent);
}

.w0d1d-nav-item-active i,
.w0d1d-nav-item-active .material-icons,
.w0d1d-nav-item-active span {
    color: var(--w0d1d-accent);
}

/* ==================== Scroll to Top ==================== */
#game0dbc-scroll-top {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: var(--w0d1d-accent);
    color: var(--w0d1d-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--w0d1d-transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

#game0dbc-scroll-top.w0d1d-visible {
    opacity: 1;
    visibility: visible;
}

#game0dbc-scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

@media (min-width: 769px) {
    #game0dbc-scroll-top {
        bottom: 24px;
    }
}

/* ==================== Responsive Styles ==================== */
@media (max-width: 768px) {
    .w0d1d-desktop-nav {
        display: none;
    }

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

    .w0d1d-hero-title {
        font-size: 1.8rem;
    }

    .w0d1d-hero-subtitle {
        font-size: 0.95rem;
    }

    .w0d1d-section-title {
        font-size: 1.4rem;
    }

    .w0d1d-header-actions .w0d1d-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 430px) {
    .w0d1d-hero {
        padding: 40px 0;
    }

    .w0d1d-hero-title {
        font-size: 1.5rem;
    }

    .w0d1d-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .w0d1d-section {
        padding: 32px 0;
    }

    .w0d1d-category-tabs {
        gap: 8px;
    }

    .w0d1d-category-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* ==================== Utility Classes ==================== */
.w0d1d-text-center {
    text-align: center;
}

.w0d1d-mb-16 {
    margin-bottom: 16px;
}

.w0d1d-mb-24 {
    margin-bottom: 24px;
}

.w0d1d-hidden {
    display: none !important;
}

/* ==================== Page Content Styles ==================== */
.w0d1d-page-header {
    background: var(--w0d1d-gradient);
    padding: 60px 0 40px;
    text-align: center;
}

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

.w0d1d-page-desc {
    color: var(--w0d1d-text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.w0d1d-content-section {
    padding: 40px 0;
}

.w0d1d-content-block {
    background: var(--w0d1d-bg-card);
    border: 1px solid var(--w0d1d-border);
    border-radius: var(--w0d1d-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.w0d1d-content-block h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--w0d1d-accent);
}

.w0d1d-content-block h3 {
    font-size: 1.1rem;
    margin: 16px 0 8px;
    color: var(--w0d1d-text);
}

.w0d1d-content-block p {
    color: var(--w0d1d-text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

.w0d1d-content-block ul,
.w0d1d-content-block ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.w0d1d-content-block li {
    color: var(--w0d1d-text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}

.w0d1d-cta-box {
    background: linear-gradient(135deg, var(--w0d1d-secondary), var(--w0d1d-primary));
    border: 2px solid var(--w0d1d-accent);
    border-radius: var(--w0d1d-radius);
    padding: 32px;
    text-align: center;
    margin: 32px 0;
}

.w0d1d-cta-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.w0d1d-cta-desc {
    color: var(--w0d1d-text-muted);
    margin-bottom: 20px;
}
