/**
 * Arioplay - Theme Stylesheet
 * Website: arioplay.click
 * Prefix: g126
 * Colors: #5D5D5D (Gray), #2C3E50 (Dark Blue), #FFB3FF (Pink), #F8F8FF (Ghost White)
 */

/* CSS Variables */
:root {
    --g126-primary: #5D5D5D;
    --g126-secondary: #2C3E50;
    --g126-accent: #FFB3FF;
    --g126-background: #2C3E50;
    --g126-text-light: #F8F8FF;
    --g126-text-dark: #2C3E50;
    --g126-gradient: linear-gradient(135deg, #2C3E50 0%, #5D5D5D 100%);
    --g126-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --g126-radius: 12px;
    --g126-transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--g126-background);
    color: var(--g126-text-light);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--g126-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.g126-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    transition: var(--g126-transition);
}

.g126-header-scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: var(--g126-shadow);
}

.g126-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g126-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g126-logo img {
    width: 32px;
    height: 32px;
}

.g126-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--g126-accent);
    letter-spacing: 1px;
}

.g126-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.g126-btn {
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--g126-transition);
}

.g126-btn-register {
    background: var(--g126-accent);
    color: var(--g126-text-dark);
}

.g126-btn-register:hover {
    background: #ffc4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 179, 255, 0.4);
}

.g126-btn-login {
    background: transparent;
    color: var(--g126-text-light);
    border: 2px solid var(--g126-accent);
}

.g126-btn-login:hover {
    background: var(--g126-accent);
    color: var(--g126-text-dark);
}

.g126-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--g126-text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Desktop Navigation */
.g126-desktop-nav {
    display: flex;
    gap: 20px;
}

.g126-desktop-nav a {
    color: var(--g126-text-light);
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
}

.g126-desktop-nav a:hover {
    color: var(--g126-accent);
    background: rgba(255, 179, 255, 0.1);
}

/* Mobile Menu */
.g126-mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--g126-secondary);
    z-index: 9999;
    transition: left 0.3s ease;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.g126-menu-active {
    left: 0;
}

.g126-mobile-menu a {
    display: block;
    padding: 15px 0;
    color: var(--g126-text-light);
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.g126-mobile-menu a:hover {
    color: var(--g126-accent);
    padding-left: 10px;
}

.g126-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(--g126-transition);
}

.g126-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g126-no-scroll {
    overflow: hidden;
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

.g126-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.g126-hero {
    background: var(--g126-gradient);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.g126-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,179,255,0.1)"/></svg>');
    background-size: 30px 30px;
}

.g126-hero-content {
    position: relative;
    z-index: 1;
}

.g126-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--g126-text-light);
}

.g126-hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(248, 248, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.g126-hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.g126-btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

/* Game Categories */
.g126-categories {
    padding: 40px 0;
    background: var(--g126-secondary);
}

.g126-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--g126-accent);
}

.g126-category-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.g126-category-tab {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    color: var(--g126-text-light);
    transition: var(--g126-transition);
    border: none;
}

.g126-category-tab:hover,
.g126-tab-active {
    background: var(--g126-accent);
    color: var(--g126-text-dark);
}

/* Game Grid */
.g126-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.g126-game-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--g126-radius);
    overflow: hidden;
    transition: var(--g126-transition);
    cursor: pointer;
}

.g126-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 179, 255, 0.2);
}

.g126-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g126-game-name {
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--g126-text-light);
    background: rgba(0, 0, 0, 0.2);
}

/* Features Section */
.g126-features {
    padding: 60px 20px;
    background: var(--g126-background);
}

.g126-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.g126-feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--g126-radius);
    text-align: center;
    transition: var(--g126-transition);
}

.g126-feature-card:hover {
    background: rgba(255, 179, 255, 0.1);
    transform: translateY(-5px);
}

.g126-feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--g126-accent);
}

.g126-feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--g126-text-light);
}

.g126-feature-card p {
    font-size: 14px;
    color: rgba(248, 248, 255, 0.8);
}

/* Footer */
.g126-footer {
    background: var(--g126-secondary);
    padding: 40px 20px 20px;
}

.g126-partners {
    margin-bottom: 30px;
    text-align: center;
}

.g126-partners-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--g126-text-light);
}

.g126-partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.g126-partners-logos img {
    height: 30px;
    opacity: 0.7;
    transition: var(--g126-transition);
}

.g126-partners-logos img:hover {
    opacity: 1;
}

.g126-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.g126-footer-links a {
    color: rgba(248, 248, 255, 0.8);
    font-size: 14px;
}

.g126-footer-links a:hover {
    color: var(--g126-accent);
}

.g126-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(248, 248, 255, 0.6);
}

/* Mobile Bottom Navigation */
.g126-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(44, 62, 80, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(255, 179, 255, 0.2);
}

.g126-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--g126-transition);
    color: rgba(248, 248, 255, 0.7);
}

.g126-bottom-nav-item:hover,
.g126-bottom-nav-item.active {
    color: var(--g126-accent);
    transform: scale(1.1);
}

.g126-bottom-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.g126-bottom-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

@media (min-width: 769px) {
    .g126-bottom-nav {
        display: none;
    }
}

/* Content Sections */
.g126-content-section {
    padding: 40px 20px;
    background: var(--g126-background);
}

.g126-content-section:nth-child(even) {
    background: var(--g126-secondary);
}

.g126-text-content {
    max-width: 800px;
    margin: 0 auto;
}

.g126-text-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--g126-accent);
}

.g126-text-content p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.8;
}

.g126-text-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.g126-text-content li {
    margin-bottom: 10px;
    font-size: 15px;
}

/* Promotional Links */
.g126-promo-link {
    color: var(--g126-accent);
    font-weight: 600;
    cursor: pointer;
}

.g126-promo-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .g126-header {
        padding: 10px 15px;
    }

    .g126-desktop-nav {
        display: none;
    }

    .g126-menu-toggle {
        display: block;
    }

    .g126-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .g126-hero h1 {
        font-size: 28px;
    }

    .g126-hero p {
        font-size: 15px;
    }

    .g126-section-title {
        font-size: 22px;
    }

    .g126-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }

    .g126-logo-text {
        font-size: 18px;
    }
}

@media (max-width: 430px) {
    .g126-hero {
        padding: 40px 15px;
    }

    .g126-hero h1 {
        font-size: 24px;
    }

    .g126-hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .g126-btn-large {
        width: 100%;
        max-width: 280px;
    }

    .g126-category-tabs {
        gap: 8px;
    }

    .g126-category-tab {
        padding: 8px 18px;
        font-size: 12px;
    }
}
