/**
 * Arion Pay Layout Styles
 * Website: arionpay.cfd
 * Version: 1.0.0
 * Mobile-first responsive design
 */

/* CSS Variables - Color Palette */
:root {
    --gc78-primary: #1a472a;
    --gc78-primary-dark: #0f2d1a;
    --gc78-primary-light: #2d6b45;
    --gc78-secondary: #d4af37;
    --gc78-secondary-dark: #b8962f;
    --gc78-secondary-light: #e8c84a;
    --gc78-accent: #ff6b35;
    --gc78-accent-dark: #e55a2b;
    --gc78-bg-dark: #0a1f14;
    --gc78-bg-medium: #142b1f;
    --gc78-bg-light: #1e3d2a;
    --gc78-text-light: #ffffff;
    --gc78-text-muted: #a8c4b8;
    --gc78-text-dark: #0a1f14;
    --gc78-border: rgba(212, 175, 55, 0.3);
    --gc78-shadow: rgba(0, 0, 0, 0.4);
    --gc78-gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    --gc78-gradient-green: linear-gradient(180deg, #1a472a 0%, #0f2d1a 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

a {
    color: var(--gc78-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gc78-secondary-light);
}

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

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

/* Header */
.gc78-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--gc78-gradient-green);
    padding: 12px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--gc78-border);
}

.gc78-header-scrolled {
    background: rgba(26, 71, 42, 0.98);
    box-shadow: 0 4px 20px var(--gc78-shadow);
}

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

.gc78-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gc78-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.gc78-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--gc78-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gc78-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gc78-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gc78-btn-login {
    background: transparent;
    border: 2px solid var(--gc78-secondary);
    color: var(--gc78-secondary);
}

.gc78-btn-login:hover {
    background: var(--gc78-secondary);
    color: var(--gc78-text-dark);
}

.gc78-btn-register {
    background: var(--gc78-gradient-gold);
    color: var(--gc78-text-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.gc78-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.gc78-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--gc78-text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

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

.gc78-menu-active {
    right: 0;
}

.gc78-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;
}

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

.gc78-mobile-menu-list {
    list-style: none;
}

.gc78-mobile-menu-item {
    border-bottom: 1px solid var(--gc78-border);
}

.gc78-mobile-menu-link {
    display: block;
    padding: 15px 0;
    color: var(--gc78-text-light);
    font-size: 16px;
    transition: all 0.3s ease;
}

.gc78-mobile-menu-link:hover {
    color: var(--gc78-secondary);
    padding-left: 10px;
}

/* Main Content */
.gc78-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

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

/* Hero Slider */
.gc78-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.gc78-slide {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
}

.gc78-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gc78-slide-active {
    display: block;
}

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

.gc78-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gc78-dot-active {
    background: var(--gc78-secondary);
    transform: scale(1.2);
}

/* Section Styles */
.gc78-section {
    padding: 30px 15px;
    max-width: 430px;
    margin: 0 auto;
}

.gc78-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gc78-secondary);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

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

/* Game Grid */
.gc78-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gc78-game-card {
    background: var(--gc78-bg-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--gc78-border);
}

.gc78-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--gc78-shadow);
    border-color: var(--gc78-secondary);
}

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

.gc78-game-name {
    padding: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: var(--gc78-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Tabs */
.gc78-category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.gc78-category-tab {
    flex-shrink: 0;
    padding: 8px 20px;
    background: var(--gc78-bg-light);
    border: 1px solid var(--gc78-border);
    border-radius: 20px;
    color: var(--gc78-text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gc78-category-tab:hover,
.gc78-category-tab.gc78-tab-active {
    background: var(--gc78-secondary);
    color: var(--gc78-text-dark);
    border-color: var(--gc78-secondary);
}

/* Features Section */
.gc78-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gc78-feature-card {
    background: var(--gc78-bg-medium);
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--gc78-border);
    transition: all 0.3s ease;
}

.gc78-feature-card:hover {
    border-color: var(--gc78-secondary);
    transform: translateY(-3px);
}

.gc78-feature-icon {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--gc78-secondary);
}

.gc78-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gc78-text-light);
    margin-bottom: 5px;
}

.gc78-feature-desc {
    font-size: 12px;
    color: var(--gc78-text-muted);
}

/* Promo Banner */
.gc78-promo-banner {
    background: var(--gc78-gradient-green);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    margin: 20px 0;
    border: 2px solid var(--gc78-secondary);
    position: relative;
    overflow: hidden;
}

.gc78-promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gc78-promo-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gc78-secondary);
    margin-bottom: 10px;
    position: relative;
}

.gc78-promo-text {
    font-size: 14px;
    color: var(--gc78-text-light);
    margin-bottom: 15px;
    position: relative;
}

.gc78-promo-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gc78-gradient-gold);
    color: var(--gc78-text-dark);
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.gc78-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

/* Info Cards */
.gc78-info-card {
    background: var(--gc78-bg-medium);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--gc78-border);
}

.gc78-info-card h3 {
    color: var(--gc78-secondary);
    font-size: 18px;
    margin-bottom: 15px;
}

.gc78-info-card p {
    color: var(--gc78-text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.gc78-info-card ul {
    list-style: none;
    margin-top: 15px;
}

.gc78-info-card li {
    padding: 8px 0;
    color: var(--gc78-text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gc78-info-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gc78-secondary);
}

/* Footer */
.gc78-footer {
    background: var(--gc78-bg-dark);
    padding: 40px 15px 20px;
    border-top: 2px solid var(--gc78-border);
}

.gc78-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.gc78-footer-logo {
    text-align: center;
    margin-bottom: 25px;
}

.gc78-footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--gc78-secondary);
}

.gc78-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.gc78-footer-link {
    color: var(--gc78-text-muted);
    font-size: 13px;
    transition: color 0.3s ease;
}

.gc78-footer-link:hover {
    color: var(--gc78-secondary);
}

.gc78-footer-partners {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.gc78-partner-logo {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gc78-partner-logo:hover {
    opacity: 1;
}

.gc78-footer-copyright {
    text-align: center;
    color: var(--gc78-text-muted);
    font-size: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--gc78-border);
}

/* Bottom Navigation - Mobile Only */
.gc78-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--gc78-gradient-green);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--gc78-border);
    box-shadow: 0 -5px 20px var(--gc78-shadow);
}

.gc78-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--gc78-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.gc78-nav-btn:hover,
.gc78-nav-btn.gc78-nav-active {
    color: var(--gc78-secondary);
    transform: translateY(-2px);
}

.gc78-nav-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.gc78-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .gc78-bottom-nav {
        display: none;
    }

    .gc78-main {
        padding-bottom: 40px;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .gc78-container,
    .gc78-section,
    .gc78-footer-content,
    .gc78-header-inner {
        max-width: 1200px;
    }

    .gc78-game-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }

    .gc78-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    .gc78-menu-toggle {
        display: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 430px) {
    .gc78-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .gc78-game-name {
        font-size: 10px;
    }

    .gc78-section-title {
        font-size: 20px;
    }
}

/* Animation Classes */
.gc78-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.gc78-text-center { text-align: center; }
.gc78-text-gold { color: var(--gc78-secondary); }
.gc78-mb-10 { margin-bottom: 10px; }
.gc78-mb-20 { margin-bottom: 20px; }
.gc78-mt-20 { margin-top: 20px; }
