/**
 * Arena Plus Login - Main Stylesheet
 * Version: 1.0.0
 * Prefix: g401-
 * Color Palette: #FFCC02 | #FFD700 | #273746 | #CCCCCC | #D4AF37 | #E65100
 */

/* CSS Variables */
:root {
    --g401-primary: #FFCC02;
    --g401-secondary: #FFD700;
    --g401-bg-dark: #273746;
    --g401-bg-darker: #1a2633;
    --g401-text-light: #CCCCCC;
    --g401-gold: #D4AF37;
    --g401-accent: #E65100;
    --g401-white: #ffffff;
    --g401-black: #000000;
    --g401-gradient-gold: linear-gradient(135deg, #FFCC02 0%, #FFD700 50%, #D4AF37 100%);
    --g401-gradient-dark: linear-gradient(180deg, #273746 0%, #1a2633 100%);
    --g401-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --g401-shadow-gold: 0 4px 20px rgba(255, 204, 2, 0.3);
    --g401-border-radius: 8px;
    --g401-transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--g401-text-light);
    background: var(--g401-bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

/* Header */
.g401-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--g401-bg-darker);
    padding: 1rem 0;
    transition: var(--g401-transition);
    border-bottom: 2px solid var(--g401-gold);
}

.g401-header.g401-scrolled {
    background: rgba(26, 38, 51, 0.98);
    box-shadow: var(--g401-shadow);
}

.g401-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

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

.g401-logo img {
    width: 32px;
    height: 32px;
}

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

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

.g401-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: var(--g401-border-radius);
    cursor: pointer;
    transition: var(--g401-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.g401-btn-primary {
    background: var(--g401-gradient-gold);
    color: var(--g401-bg-darker);
    box-shadow: var(--g401-shadow-gold);
}

.g401-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 204, 2, 0.4);
}

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

.g401-btn-outline:hover {
    background: var(--g401-primary);
    color: var(--g401-bg-darker);
}

.g401-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--g401-primary);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Desktop Navigation */
.g401-nav {
    display: none;
}

@media (min-width: 769px) {
    .g401-nav {
        display: flex;
        gap: 2rem;
    }

    .g401-nav-link {
        color: var(--g401-text-light);
        font-size: 1.4rem;
        font-weight: 500;
        padding: 0.5rem;
        position: relative;
    }

    .g401-nav-link:hover {
        color: var(--g401-primary);
    }

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

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

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

.g401-mobile-menu.g401-active {
    right: 0;
}

.g401-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 204, 2, 0.2);
}

.g401-mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--g401-primary);
    font-size: 2.4rem;
    cursor: pointer;
}

.g401-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.g401-mobile-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--g401-text-light);
    font-size: 1.5rem;
    border-radius: var(--g401-border-radius);
    transition: var(--g401-transition);
}

.g401-mobile-nav-link:hover {
    background: rgba(255, 204, 2, 0.1);
    color: var(--g401-primary);
}

.g401-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(--g401-transition);
}

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

/* Main Content */
.g401-main {
    padding-top: 70px;
}

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

/* Slider */
.g401-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.g401-slides {
    position: relative;
    width: 100%;
}

.g401-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.g401-slide.g401-active {
    position: relative;
    opacity: 1;
}

.g401-slide img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.g401-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.g401-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--g401-transition);
}

.g401-slider-dot.g401-active {
    background: var(--g401-primary);
    transform: scale(1.2);
}

/* Hero Section */
.g401-hero {
    background: var(--g401-gradient-dark);
    padding: 3rem 1.5rem;
    text-align: center;
}

.g401-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--g401-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.g401-hero p {
    font-size: 1.5rem;
    color: var(--g401-text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.g401-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Section */
.g401-section {
    padding: 3rem 1.5rem;
}

.g401-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--g401-primary);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.g401-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--g401-gradient-gold);
    border-radius: 2px;
}

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

@media (max-width: 380px) {
    .g401-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.g401-game-card {
    background: var(--g401-bg-darker);
    border-radius: var(--g401-border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--g401-transition);
    border: 1px solid rgba(255, 204, 2, 0.1);
}

.g401-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--g401-shadow-gold);
    border-color: var(--g401-primary);
}

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

.g401-game-name {
    padding: 0.8rem 0.5rem;
    font-size: 1.1rem;
    color: var(--g401-text-light);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Features */
.g401-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.g401-feature-card {
    background: var(--g401-bg-darker);
    padding: 1.5rem;
    border-radius: var(--g401-border-radius);
    text-align: center;
    border: 1px solid rgba(255, 204, 2, 0.1);
    transition: var(--g401-transition);
}

.g401-feature-card:hover {
    border-color: var(--g401-primary);
    box-shadow: var(--g401-shadow-gold);
}

.g401-feature-icon {
    font-size: 3rem;
    color: var(--g401-primary);
    margin-bottom: 1rem;
}

.g401-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--g401-primary);
    margin-bottom: 0.5rem;
}

.g401-feature-desc {
    font-size: 1.2rem;
    color: var(--g401-text-light);
    line-height: 1.5;
}

/* Payment Methods */
.g401-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.g401-payment-item {
    background: var(--g401-bg-darker);
    padding: 1.5rem 1rem;
    border-radius: var(--g401-border-radius);
    text-align: center;
    border: 1px solid rgba(255, 204, 2, 0.1);
}

.g401-payment-icon {
    font-size: 2.5rem;
    color: var(--g401-primary);
    margin-bottom: 0.5rem;
}

.g401-payment-name {
    font-size: 1.2rem;
    color: var(--g401-text-light);
}

/* Winners */
.g401-winners-list {
    background: var(--g401-bg-darker);
    border-radius: var(--g401-border-radius);
    overflow: hidden;
}

.g401-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 204, 2, 0.1);
}

.g401-winner-item:last-child {
    border-bottom: none;
}

.g401-winner-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g401-winner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--g401-gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g401-bg-darker);
    font-weight: 600;
    font-size: 1.4rem;
}

.g401-winner-name {
    font-size: 1.3rem;
    color: var(--g401-text-light);
}

.g401-winner-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--g401-primary);
}

/* CTA Section */
.g401-cta {
    background: var(--g401-gradient-gold);
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 0;
}

.g401-cta h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--g401-bg-darker);
    margin-bottom: 1rem;
}

.g401-cta p {
    font-size: 1.5rem;
    color: var(--g401-bg-darker);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.g401-cta .g401-btn {
    background: var(--g401-bg-darker);
    color: var(--g401-primary);
}

.g401-cta .g401-btn:hover {
    background: var(--g401-black);
}

/* Footer */
.g401-footer {
    background: var(--g401-bg-darker);
    padding: 3rem 1.5rem 2rem;
    border-top: 2px solid var(--g401-gold);
}

.g401-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 204, 2, 0.2);
}

.g401-footer-desc {
    font-size: 1.3rem;
    color: var(--g401-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.g401-footer-link {
    font-size: 1.2rem;
    color: var(--g401-text-light);
    padding: 0.5rem 1rem;
    border-radius: var(--g401-border-radius);
    background: rgba(255, 204, 2, 0.1);
    transition: var(--g401-transition);
}

.g401-footer-link:hover {
    background: var(--g401-primary);
    color: var(--g401-bg-darker);
}

.g401-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.g401-footer-nav a {
    font-size: 1.3rem;
    color: var(--g401-text-light);
}

.g401-footer-nav a:hover {
    color: var(--g401-primary);
}

.g401-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--g401-text-light);
    opacity: 0.7;
}

/* Bottom Mobile Navigation */
.g401-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--g401-bg-darker);
    border-top: 2px solid var(--g401-gold);
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
}

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

.g401-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    color: var(--g401-text-light);
    cursor: pointer;
    transition: var(--g401-transition);
    text-decoration: none;
}

.g401-bottom-nav-item:hover,
.g401-bottom-nav-item.g401-active {
    color: var(--g401-primary);
}

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

.g401-bottom-nav-item span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* App Download Section */
.g401-app-download {
    background: linear-gradient(135deg, var(--g401-bg-darker) 0%, var(--g401-bg-dark) 100%);
    padding: 3rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 204, 2, 0.2);
    border-radius: var(--g401-border-radius);
    margin: 1.5rem;
}

.g401-app-download h3 {
    font-size: 2rem;
    color: var(--g401-primary);
    margin-bottom: 1rem;
}

.g401-app-download p {
    font-size: 1.4rem;
    color: var(--g401-text-light);
    margin-bottom: 1.5rem;
}

.g401-app-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.g401-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: var(--g401-bg-dark);
    border: 1px solid var(--g401-primary);
    border-radius: var(--g401-border-radius);
    color: var(--g401-primary);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--g401-transition);
}

.g401-app-btn:hover {
    background: var(--g401-primary);
    color: var(--g401-bg-darker);
}

/* Testimonials */
.g401-testimonials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.g401-testimonial {
    background: var(--g401-bg-darker);
    padding: 1.5rem;
    border-radius: var(--g401-border-radius);
    border-left: 3px solid var(--g401-primary);
}

.g401-testimonial-text {
    font-size: 1.3rem;
    color: var(--g401-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.g401-testimonial-author {
    font-size: 1.2rem;
    color: var(--g401-primary);
    font-weight: 600;
}

/* Text Link Styles */
.g401-text-link {
    color: var(--g401-primary);
    text-decoration: underline;
    font-weight: 500;
}

.g401-text-link:hover {
    color: var(--g401-secondary);
}

/* Utilities */
.g401-text-center {
    text-align: center;
}

.g401-text-gold {
    color: var(--g401-primary);
}

.g401-mb-1 {
    margin-bottom: 1rem;
}

.g401-mb-2 {
    margin-bottom: 2rem;
}

.g401-mb-3 {
    margin-bottom: 3rem;
}

/* Lazy Load */
.g401-lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.g401-lazy[src] {
    opacity: 1;
}

/* What is Section */
.g401-what-is {
    background: var(--g401-bg-darker);
    padding: 3rem 1.5rem;
    border-radius: 0;
}

.g401-what-is h2 {
    font-size: 2.2rem;
    color: var(--g401-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.g401-what-is p {
    font-size: 1.4rem;
    color: var(--g401-text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 430px) {
    .g401-hero h1 {
        font-size: 2.4rem;
    }

    .g401-section-title {
        font-size: 2rem;
    }
}

@media (min-width: 431px) and (max-width: 768px) {
    .g401-container {
        max-width: 100%;
    }
}
