/**
 * Megabet Main Stylesheet
 * All classes use prefix "ve15-" to avoid naming conflicts
 * Mobile-first responsive design
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --ve15-primary: #40E0D0;
    --ve15-secondary: #FF1493;
    --ve15-accent: #00CED1;
    --ve15-bg-dark: #2C3E50;
    --ve15-bg-light: #F0F8FF;
    --ve15-text-light: #F0F8FF;
    --ve15-text-dark: #2C3E50;
    --ve15-gray: #6C757D;
    --ve15-gradient: linear-gradient(135deg, #40E0D0, #FF1493);
    --ve15-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--ve15-bg-dark);
    color: var(--ve15-text-light);
    line-height: 1.5;
    font-size: 1.4rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.ve15-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ve15-wrapper {
    width: 100%;
    padding: 1rem;
}

/* Header */
.ve15-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--ve15-bg-dark) 0%, rgba(44, 62, 80, 0.95) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--ve15-primary);
    transition: all 0.3s ease;
}

.ve15-header-scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: var(--ve15-shadow);
}

.ve15-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ve15-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.ve15-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--ve15-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ve15-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.ve15-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.ve15-btn-primary {
    background: var(--ve15-gradient);
    color: white;
}

.ve15-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.5);
}

.ve15-btn-secondary {
    background: transparent;
    color: var(--ve15-primary);
    border: 2px solid var(--ve15-primary);
}

.ve15-btn-secondary:hover {
    background: var(--ve15-primary);
    color: var(--ve15-bg-dark);
}

.ve15-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 5px;
}

.ve15-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--ve15-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.ve15-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--ve15-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 2px solid var(--ve15-primary);
    overflow-y: auto;
}

.ve15-menu-active {
    right: 0;
}

.ve15-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;
}

.ve15-overlay-active {
    opacity: 1;
    visibility: visible;
}

.ve15-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ve15-gray);
}

.ve15-menu-close {
    font-size: 2.4rem;
    color: var(--ve15-primary);
    cursor: pointer;
}

.ve15-menu-nav {
    list-style: none;
}

.ve15-menu-nav li {
    margin-bottom: 1.2rem;
}

.ve15-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--ve15-text-light);
    font-size: 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ve15-menu-nav a:hover {
    background: rgba(64, 224, 208, 0.2);
    color: var(--ve15-primary);
}

/* Main Content */
.ve15-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel */
.ve15-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 1rem 0;
}

.game3a9b-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.game3a9b-slide {
    min-width: 100%;
    cursor: pointer;
}

.game3a9b-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.ve15-carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.game3a9b-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.game3a9b-indicator.ve15-active {
    background: var(--ve15-primary);
    width: 20px;
    border-radius: 4px;
}

/* Section Titles */
.ve15-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    background: var(--ve15-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ve15-section {
    padding: 2rem 1.5rem;
    margin: 1rem 0;
}

/* Game Grid */
.ve15-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.ve15-game-card {
    background: rgba(240, 248, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(64, 224, 208, 0.2);
}

.ve15-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--ve15-primary);
    box-shadow: 0 8px 20px rgba(64, 224, 208, 0.3);
}

.ve15-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.ve15-game-card p {
    font-size: 1.1rem;
    color: var(--ve15-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ve15-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ve15-primary);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--ve15-secondary);
}

/* Content Cards */
.ve15-card {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(255, 20, 147, 0.1));
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(64, 224, 208, 0.3);
}

.ve15-card h3 {
    font-size: 1.8rem;
    color: var(--ve15-primary);
    margin-bottom: 1rem;
}

.ve15-card p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--ve15-text-light);
}

.ve15-card ul {
    list-style: none;
    margin-top: 1rem;
}

.ve15-card li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.3rem;
}

.ve15-card li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--ve15-primary);
    font-weight: bold;
}

/* Promo Links */
.ve15-promo-link {
    color: var(--ve15-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ve15-promo-link:hover {
    color: var(--ve15-secondary);
    text-decoration: underline;
}

.ve15-cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--ve15-gradient);
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin: 1rem 0;
}

.ve15-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(64, 224, 208, 0.6);
}

/* Footer */
.ve15-footer {
    background: linear-gradient(180deg, var(--ve15-bg-dark), #1a252f);
    padding: 2rem 1.5rem;
    border-top: 2px solid var(--ve15-primary);
}

.ve15-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.ve15-footer-links a {
    color: var(--ve15-text-light);
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(64, 224, 208, 0.1);
    transition: all 0.3s ease;
}

.ve15-footer-links a:hover {
    background: var(--ve15-primary);
    color: var(--ve15-bg-dark);
}

.ve15-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.ve15-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.ve15-partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.ve15-copyright {
    text-align: center;
    color: var(--ve15-gray);
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

/* Bottom Navigation */
.ve15-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(44, 62, 80, 0.98), var(--ve15-bg-dark));
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--ve15-primary);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.ve15-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;
    padding: 0.5rem;
}

.ve15-nav-item:hover {
    background: rgba(64, 224, 208, 0.2);
    transform: scale(1.1);
}

.ve15-nav-item i,
.ve15-nav-item .material-icons {
    font-size: 24px;
    color: var(--ve15-text-light);
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.ve15-nav-item:hover i,
.ve15-nav-item:hover .material-icons {
    color: var(--ve15-primary);
}

.ve15-nav-item span {
    font-size: 10px;
    color: var(--ve15-gray);
    transition: all 0.3s ease;
}

.ve15-nav-item:hover span {
    color: var(--ve15-primary);
}

.ve15-nav-item.ve15-active i,
.ve15-nav-item.ve15-active .material-icons {
    color: var(--ve15-secondary);
}

.ve15-nav-item.ve15-active span {
    color: var(--ve15-secondary);
}

/* Desktop Hide Bottom Nav */
@media (min-width: 769px) {
    .ve15-bottom-nav {
        display: none;
    }

    .ve15-main {
        padding-bottom: 2rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .ve15-main {
        padding-bottom: 80px;
    }
}

/* FAQ Accordion */
.ve15-faq-item {
    background: rgba(64, 224, 208, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.ve15-faq-question {
    padding: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ve15-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ve15-faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 1.3rem;
    color: var(--ve15-text-light);
    line-height: 1.6;
}

/* Features Grid */
.ve15-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ve15-feature-item {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.1), rgba(0, 206, 209, 0.1));
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(64, 224, 208, 0.2);
}

.ve15-feature-item i,
.ve15-feature-item .material-icons {
    font-size: 32px;
    color: var(--ve15-primary);
    margin-bottom: 0.8rem;
}

.ve15-feature-item h4 {
    font-size: 1.3rem;
    color: var(--ve15-text-light);
    margin-bottom: 0.5rem;
}

.ve15-feature-item p {
    font-size: 1.1rem;
    color: var(--ve15-gray);
}

/* RTP Stats */
.ve15-rtp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.ve15-rtp-item {
    background: rgba(255, 20, 147, 0.1);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.ve15-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ve15-secondary);
}

.ve15-rtp-label {
    font-size: 1rem;
    color: var(--ve15-gray);
}

/* Utilities */
.ve15-text-center {
    text-align: center;
}

.ve15-mb-1 {
    margin-bottom: 1rem;
}

.ve15-mb-2 {
    margin-bottom: 2rem;
}

.ve15-mt-2 {
    margin-top: 2rem;
}
