/**
 * ArenaLive Main Stylesheet
 * Website: arenalive.click
 * Prefix: v30c-
 * Colors: #212F3D | #0000CD | #FFCCCB | #000080 | #808080
 */

/* CSS Variables */
:root {
    --v30c-bg-dark: #212F3D;
    --v30c-primary: #0000CD;
    --v30c-accent: #FFCCCB;
    --v30c-navy: #000080;
    --v30c-gray: #808080;
    --v30c-white: #ffffff;
    --v30c-light: #f5f5f5;
    --v30c-gold: #FFD700;
    --v30c-success: #28a745;
    --v30c-header-height: 56px;
    --v30c-bottom-nav-height: 60px;
}

/* Reset and 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-color: var(--v30c-bg-dark);
    color: var(--v30c-white);
    line-height: 1.5;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--v30c-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--v30c-gold);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.v30c-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.v30c-wrapper {
    padding: 1rem;
}

/* Header */
.v30c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--v30c-header-height);
    background: linear-gradient(135deg, var(--v30c-bg-dark) 0%, var(--v30c-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.v30c-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v30c-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.v30c-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v30c-white);
    background: linear-gradient(90deg, var(--v30c-gold), var(--v30c-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v30c-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v30c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.v30c-btn-primary {
    background: linear-gradient(135deg, var(--v30c-primary) 0%, var(--v30c-navy) 100%);
    color: var(--v30c-white);
}

.v30c-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 205, 0.4);
}

.v30c-btn-secondary {
    background: transparent;
    border: 2px solid var(--v30c-gold);
    color: var(--v30c-gold);
}

.v30c-btn-secondary:hover {
    background: var(--v30c-gold);
    color: var(--v30c-bg-dark);
}

.v30c-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--v30c-white);
    font-size: 2rem;
    cursor: pointer;
}

/* Mobile Menu */
.v30c-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;
}

.v30c-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v30c-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--v30c-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 1.5rem;
    overflow-y: auto;
}

.v30c-menu-active {
    right: 0;
}

.v30c-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--v30c-gray);
}

.v30c-menu-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--v30c-white);
    font-size: 2rem;
    cursor: pointer;
}

.v30c-menu-nav {
    list-style: none;
}

.v30c-menu-nav li {
    margin-bottom: 0.5rem;
}

.v30c-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--v30c-white);
    font-size: 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.v30c-menu-nav a:hover {
    background: var(--v30c-navy);
    color: var(--v30c-gold);
}

/* Main Content */
.v30c-main {
    padding-top: var(--v30c-header-height);
    padding-bottom: calc(var(--v30c-bottom-nav-height) + 2rem);
    min-height: 100vh;
}

/* Carousel */
.v30c-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.v30c-slide {
    display: none;
    cursor: pointer;
}

.v30c-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.v30c-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.v30c-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.v30c-dot-active {
    background: var(--v30c-gold);
}

/* Section Titles */
.v30c-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v30c-white);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--v30c-gold);
}

/* Game Grid */
.v30c-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.v30c-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.v30c-game-item:hover {
    transform: scale(1.05);
}

.v30c-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 0.4rem;
}

.v30c-game-name {
    font-size: 1.1rem;
    color: var(--v30c-white);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Tabs */
.v30c-category-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--v30c-navy);
    color: var(--v30c-gold);
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Cards */
.v30c-card {
    background: linear-gradient(135deg, rgba(0, 0, 128, 0.3) 0%, rgba(33, 47, 61, 0.5) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.v30c-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v30c-gold);
    margin-bottom: 1rem;
}

.v30c-card-content {
    color: var(--v30c-light);
    line-height: 1.6;
}

/* Features List */
.v30c-features-list {
    list-style: none;
}

.v30c-features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.v30c-features-list li:last-child {
    border-bottom: none;
}

.v30c-features-list i {
    color: var(--v30c-gold);
    font-size: 1.4rem;
    margin-top: 0.2rem;
}

/* CTA Section */
.v30c-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--v30c-primary) 0%, var(--v30c-navy) 100%);
    border-radius: 12px;
    margin: 2rem 0;
}

.v30c-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v30c-white);
    margin-bottom: 1rem;
}

.v30c-cta-text {
    color: var(--v30c-accent);
    margin-bottom: 1.5rem;
}

.v30c-cta .v30c-btn {
    padding: 1rem 2.5rem;
    font-size: 1.4rem;
}

/* Footer */
.v30c-footer {
    background: var(--v30c-bg-dark);
    padding: 2rem 1rem;
    border-top: 1px solid rgba(128, 128, 128, 0.3);
}

.v30c-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.v30c-footer-links a {
    color: var(--v30c-gray);
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
}

.v30c-footer-links a:hover {
    color: var(--v30c-gold);
}

.v30c-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.v30c-partners img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.v30c-partners img:hover {
    opacity: 1;
}

.v30c-copyright {
    text-align: center;
    color: var(--v30c-gray);
    font-size: 1.2rem;
}

/* Bottom Navigation */
.v30c-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--v30c-bottom-nav-height);
    background: linear-gradient(180deg, var(--v30c-navy) 0%, var(--v30c-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.v30c-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;
    color: var(--v30c-gray);
}

.v30c-nav-item:hover,
.v30c-nav-item.v30c-active {
    color: var(--v30c-gold);
    transform: scale(1.1);
}

.v30c-nav-item i {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.v30c-nav-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Desktop Hide Bottom Nav */
@media (min-width: 769px) {
    .v30c-bottom-nav {
        display: none;
    }

    .v30c-main {
        padding-bottom: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 430px) {
    .v30c-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .v30c-game-name {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .v30c-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Utility Classes */
.v30c-text-center { text-align: center; }
.v30c-text-gold { color: var(--v30c-gold); }
.v30c-text-accent { color: var(--v30c-accent); }
.v30c-mb-1 { margin-bottom: 1rem; }
.v30c-mb-2 { margin-bottom: 2rem; }
.v30c-mt-1 { margin-top: 1rem; }
.v30c-mt-2 { margin-top: 2rem; }

/* Promo Links */
.v30c-promo-link {
    display: inline;
    color: var(--v30c-gold);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.v30c-promo-link:hover {
    color: var(--v30c-accent);
}

/* RTP Table */
.v30c-rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.v30c-rtp-table th,
.v30c-rtp-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}

.v30c-rtp-table th {
    background: var(--v30c-navy);
    color: var(--v30c-gold);
    font-weight: 600;
}

.v30c-rtp-table td {
    color: var(--v30c-light);
}

/* FAQ Section */
.v30c-faq-item {
    background: rgba(0, 0, 128, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.v30c-faq-question {
    padding: 1rem;
    font-weight: 600;
    color: var(--v30c-gold);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v30c-faq-answer {
    padding: 0 1rem 1rem;
    color: var(--v30c-light);
    line-height: 1.6;
}

/* Security Badge */
.v30c-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(40, 167, 69, 0.2);
    border-radius: 20px;
    color: var(--v30c-success);
    font-size: 1.2rem;
    margin: 0.5rem 0.5rem 0.5rem 0;
}
