/**
 * 365JL Website CSS Design System
 * Class prefix: vd15-
 * Color palette: #FF8A80 | #F5DEB3 | #1B263B | #696969 | #CCCCCC | #F5F5F5
 */

/* CSS Variables */
:root {
    --vd15-primary: #FF8A80;
    --vd15-secondary: #F5DEB3;
    --vd15-bg-dark: #1B263B;
    --vd15-bg-medium: #696969;
    --vd15-border: #CCCCCC;
    --vd15-text-light: #F5F5F5;
    --vd15-text-dark: #1B263B;
    --vd15-gradient: linear-gradient(135deg, #FF8A80 0%, #F5DEB3 100%);
    --vd15-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--vd15-bg-dark);
    color: var(--vd15-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
}

/* Container */
.vd15-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.vd15-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--vd15-bg-dark) 0%, rgba(27, 38, 59, 0.95) 100%);
    padding: 1rem 1.5rem;
    z-index: 1000;
    box-shadow: var(--vd15-shadow);
}

.vd15-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.vd15-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.vd15-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.vd15-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--vd15-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vd15-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.vd15-btn {
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.vd15-btn-primary {
    background: var(--vd15-gradient);
    color: var(--vd15-text-dark);
}

.vd15-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 138, 128, 0.5);
}

.vd15-btn-secondary {
    background: transparent;
    border: 2px solid var(--vd15-primary);
    color: var(--vd15-primary);
}

.vd15-btn-secondary:hover {
    background: var(--vd15-primary);
    color: var(--vd15-text-dark);
}

.vd15-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.vd15-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--vd15-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.vd15-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vd15-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.vd15-menu-active {
    right: 0;
}

.vd15-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;
}

.vd15-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vd15-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--vd15-border);
}

.vd15-menu-close {
    background: none;
    border: none;
    color: var(--vd15-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.vd15-menu-nav {
    list-style: none;
}

.vd15-menu-nav li {
    margin-bottom: 1rem;
}

.vd15-menu-nav a {
    color: var(--vd15-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.vd15-menu-nav a:hover {
    background: rgba(255, 138, 128, 0.2);
    color: var(--vd15-primary);
}

/* Main Content */
.vd15-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel */
.vd15-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.vd15-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.vd15-slide-active {
    opacity: 1;
}

.vd15-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vd15-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.vd15-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

/* Section Titles */
.vd15-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--vd15-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vd15-subtitle {
    font-size: 1.4rem;
    color: var(--vd15-secondary);
    margin-bottom: 1rem;
}

/* Game Grid */
.vd15-game-section {
    margin-bottom: 2.5rem;
}

.vd15-game-category {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vd15-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vd15-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.vd15-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vd15-game-item:hover {
    transform: scale(1.08);
}

.vd15-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0 auto 0.5rem;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.vd15-game-name {
    font-size: 1.1rem;
    color: var(--vd15-text-light);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Sections */
.vd15-content-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.vd15-content-section p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.vd15-content-section ul {
    list-style: none;
    margin: 1rem 0;
}

.vd15-content-section li {
    font-size: 1.3rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Feature Cards */
.vd15-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vd15-feature-card {
    background: rgba(255, 138, 128, 0.1);
    border: 1px solid var(--vd15-primary);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.vd15-feature-card i {
    font-size: 2.4rem;
    color: var(--vd15-primary);
    margin-bottom: 0.8rem;
}

.vd15-feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.vd15-feature-card p {
    font-size: 1.2rem;
    color: var(--vd15-secondary);
}

/* RTP Section */
.vd15-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vd15-rtp-item {
    background: linear-gradient(135deg, rgba(255, 138, 128, 0.2) 0%, rgba(245, 222, 179, 0.1) 100%);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
}

.vd15-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vd15-primary);
}

.vd15-rtp-label {
    font-size: 1.1rem;
    color: var(--vd15-secondary);
}

/* Footer */
.vd15-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 1.5rem;
    padding-bottom: 100px;
}

.vd15-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vd15-footer-links a {
    color: var(--vd15-secondary);
    text-decoration: none;
    font-size: 1.2rem;
}

.vd15-footer-links a:hover {
    color: var(--vd15-primary);
}

.vd15-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vd15-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.vd15-partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.vd15-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vd15-border);
}

/* Bottom Navigation */
.vd15-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(27, 38, 59, 0.98) 0%, var(--vd15-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.vd15-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.vd15-nav-item:hover {
    background: rgba(255, 138, 128, 0.2);
    transform: scale(1.1);
}

.vd15-nav-item i,
.vd15-nav-item .material-icons {
    font-size: 24px;
    color: var(--vd15-text-light);
    margin-bottom: 4px;
}

.vd15-nav-item span {
    font-size: 1rem;
    color: var(--vd15-secondary);
}

.vd15-nav-item:hover i,
.vd15-nav-item:hover span {
    color: var(--vd15-primary);
}

/* Promo Links */
.vd15-promo-link {
    color: var(--vd15-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vd15-promo-link:hover {
    color: var(--vd15-secondary);
    text-decoration: underline;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .vd15-bottom-nav {
        display: none;
    }

    .vd15-menu-toggle {
        display: none;
    }

    .vd15-container {
        max-width: 800px;
    }

    .vd15-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Mobile Padding */
@media (max-width: 768px) {
    .vd15-main {
        padding-bottom: 80px;
    }
}
