/**
 * Shoulder Bets - Layout Stylesheet
 * Class prefix: vd8a-
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --vd8a-bg-primary: #2C2C2C;
    --vd8a-bg-secondary: #1a1a1a;
    --vd8a-bg-tertiary: #333333;
    --vd8a-text-primary: #E0FFFF;
    --vd8a-text-secondary: #B0E0E6;
    --vd8a-text-muted: #8a9aa0;
    --vd8a-accent: #1E90FF;
    --vd8a-accent-hover: #4da3ff;
    --vd8a-highlight: #4682B4;
    --vd8a-border: #444444;
    --vd8a-success: #28a745;
    --vd8a-warning: #ffc107;
    --vd8a-gradient: linear-gradient(135deg, #1E90FF, #4682B4);
    --vd8a-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --vd8a-radius: 8px;
    --vd8a-radius-lg: 16px;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--vd8a-bg-primary);
    color: var(--vd8a-text-primary);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--vd8a-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vd8a-accent-hover);
}

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

/* Container */
.vd8a-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.vd8a-wrapper {
    padding: 2rem 0;
}

/* Header */
.vd8a-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--vd8a-bg-secondary);
    padding: 1rem 1.5rem;
    z-index: 1000;
    box-shadow: var(--vd8a-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vd8a-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vd8a-logo img {
    width: 28px;
    height: 28px;
}

.vd8a-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vd8a-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vd8a-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.vd8a-btn {
    padding: 0.8rem 1.6rem;
    border-radius: var(--vd8a-radius);
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.vd8a-btn-primary {
    background: var(--vd8a-gradient);
    color: #fff;
}

.vd8a-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

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

.vd8a-btn-outline:hover {
    background: var(--vd8a-accent);
    color: #fff;
}

.vd8a-menu-toggle {
    background: transparent;
    border: none;
    color: var(--vd8a-text-primary);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.vd8a-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vd8a-bg-secondary);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.vd8a-menu-active {
    right: 0;
}

.vd8a-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;
}

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

.vd8a-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--vd8a-text-primary);
    font-size: 2.4rem;
    cursor: pointer;
}

.vd8a-menu-links {
    margin-top: 3rem;
    list-style: none;
}

.vd8a-menu-links li {
    margin-bottom: 1rem;
}

.vd8a-menu-links a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--vd8a-text-secondary);
    font-size: 1.4rem;
    border-radius: var(--vd8a-radius);
    transition: all 0.3s ease;
}

.vd8a-menu-links a:hover {
    background: var(--vd8a-bg-tertiary);
    color: var(--vd8a-accent);
}

/* Main Content */
.vd8a-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Slider */
.vd8a-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--vd8a-radius-lg);
    margin: 1rem 0;
}

.vd8a-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.vd8a-slide {
    min-width: 100%;
    cursor: pointer;
}

.vd8a-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--vd8a-radius-lg);
}

.vd8a-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.vd8a-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vd8a-dot-active {
    background: var(--vd8a-accent);
    width: 20px;
    border-radius: 4px;
}

/* Section Titles */
.vd8a-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vd8a-text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--vd8a-accent);
    display: inline-block;
}

.vd8a-section-subtitle {
    font-size: 1.4rem;
    color: var(--vd8a-text-secondary);
    margin-bottom: 1rem;
}

/* Game Grid */
.vd8a-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.vd8a-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vd8a-game-item:hover {
    transform: scale(1.05);
}

.vd8a-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--vd8a-radius);
    margin-bottom: 0.4rem;
}

.vd8a-game-name {
    font-size: 1rem;
    color: var(--vd8a-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Section */
.vd8a-category-section {
    margin-bottom: 2.5rem;
}

.vd8a-category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.vd8a-category-icon {
    font-size: 2rem;
    color: var(--vd8a-accent);
}

/* Cards */
.vd8a-card {
    background: var(--vd8a-bg-tertiary);
    border-radius: var(--vd8a-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--vd8a-shadow);
}

.vd8a-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vd8a-text-primary);
    margin-bottom: 1rem;
}

.vd8a-card-text {
    color: var(--vd8a-text-secondary);
    line-height: 1.6;
}

/* Features List */
.vd8a-features {
    display: grid;
    gap: 1rem;
}

.vd8a-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--vd8a-bg-tertiary);
    border-radius: var(--vd8a-radius);
}

.vd8a-feature-icon {
    font-size: 2.4rem;
    color: var(--vd8a-accent);
    min-width: 40px;
}

.vd8a-feature-content h4 {
    font-size: 1.4rem;
    color: var(--vd8a-text-primary);
    margin-bottom: 0.4rem;
}

.vd8a-feature-content p {
    font-size: 1.2rem;
    color: var(--vd8a-text-muted);
}

/* Footer */
.vd8a-footer {
    background: var(--vd8a-bg-secondary);
    padding: 2rem 1.5rem;
    padding-bottom: 5rem;
}

.vd8a-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.vd8a-footer-brand p {
    color: var(--vd8a-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.vd8a-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.vd8a-footer-links a {
    padding: 0.6rem 1.2rem;
    background: var(--vd8a-bg-tertiary);
    border-radius: var(--vd8a-radius);
    font-size: 1.2rem;
    color: var(--vd8a-text-secondary);
    transition: all 0.3s ease;
}

.vd8a-footer-links a:hover {
    background: var(--vd8a-accent);
    color: #fff;
}

.vd8a-footer-promo {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.vd8a-footer-promo .vd8a-btn {
    flex: 1;
    min-width: 120px;
}

.vd8a-copyright {
    text-align: center;
    color: var(--vd8a-text-muted);
    font-size: 1.1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vd8a-border);
}

/* Bottom Navigation */
.vd8a-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--vd8a-bg-secondary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.vd8a-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--vd8a-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vd8a-nav-item:hover,
.vd8a-nav-item.vd8a-nav-active {
    color: var(--vd8a-accent);
}

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

.vd8a-nav-item span {
    font-size: 10px;
}

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

.vd8a-mt-1 { margin-top: 0.5rem; }
.vd8a-mt-2 { margin-top: 1rem; }
.vd8a-mt-3 { margin-top: 1.5rem; }
.vd8a-mb-1 { margin-bottom: 0.5rem; }
.vd8a-mb-2 { margin-bottom: 1rem; }
.vd8a-mb-3 { margin-bottom: 1.5rem; }

.vd8a-hidden { display: none; }

/* Animation */
.vd8a-animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.vd8a-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .vd8a-main {
        padding-bottom: 80px;
    }
}

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

    .vd8a-container {
        max-width: 800px;
    }

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

    .vd8a-footer {
        padding-bottom: 2rem;
    }
}
