/**
 * Arion Games - Main Stylesheet
 * Website: ariongames.click
 * Prefix: g9c0-
 * Colors: #FFE4B5 | #FF4500 | #3A3A3A | #00E5FF
 */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --g9c0-primary: #FF4500;
    --g9c0-secondary: #00E5FF;
    --g9c0-bg-dark: #3A3A3A;
    --g9c0-bg-darker: #2a2a2a;
    --g9c0-text-light: #FFE4B5;
    --g9c0-text-white: #ffffff;
    --g9c0-accent: #FFD700;
    --g9c0-gradient: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
    --g9c0-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: 62.5%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--g9c0-bg-dark);
    color: var(--g9c0-text-light);
    font-size: 1.6rem;
    line-height: 1.6;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--g9c0-text-white);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 2.0rem; }
h4 { font-size: 1.8rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--g9c0-text-light);
}

a {
    color: var(--g9c0-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--g9c0-primary);
}

/* Container */
.g9c0-container {
    width: 100%;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.g9c0-wrapper {
    padding: 2rem 0;
}

/* Header */
.g9c0-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: var(--g9c0-bg-darker);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 2px solid var(--g9c0-primary);
    transition: box-shadow 0.3s ease;
}

.g9c0-header-scrolled {
    box-shadow: var(--g9c0-shadow);
}

.g9c0-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g9c0-logo img {
    height: 3.5rem;
    width: auto;
}

.g9c0-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--g9c0-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g9c0-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Buttons */
.g9c0-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.g9c0-btn-primary {
    background: var(--g9c0-gradient);
    color: var(--g9c0-text-white);
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.4);
}

.g9c0-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 69, 0, 0.5);
}

.g9c0-btn-secondary {
    background: transparent;
    color: var(--g9c0-secondary);
    border: 2px solid var(--g9c0-secondary);
}

.g9c0-btn-secondary:hover {
    background: var(--g9c0-secondary);
    color: var(--g9c0-bg-dark);
}

.g9c0-btn-sm {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
}

/* Main Content */
main {
    padding-top: 7rem;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 8rem;
    }
}

/* Slider/Carousel */
.g9c0-slider {
    position: relative;
    width: 100%;
    height: 22rem;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.g9c0-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.g9c0-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.g9c0-slide-active {
    opacity: 1;
}

.g9c0-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g9c0-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.g9c0-slider-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.g9c0-dot-active {
    background: var(--g9c0-primary);
}

/* Section Styles */
.g9c0-section {
    padding: 2.5rem 1.5rem;
}

.g9c0-section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.g9c0-section-title::after {
    content: '';
    display: block;
    width: 6rem;
    height: 3px;
    background: var(--g9c0-gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Game Grid */
.g9c0-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.g9c0-game-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--g9c0-bg-darker);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.g9c0-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--g9c0-shadow);
}

.g9c0-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g9c0-game-card-title {
    padding: 0.8rem 0.5rem;
    font-size: 1.1rem;
    text-align: center;
    color: var(--g9c0-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g9c0-game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 69, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.g9c0-game-card:hover .g9c0-game-overlay {
    opacity: 1;
}

.g9c0-play-btn {
    padding: 0.8rem 1.5rem;
    background: var(--g9c0-text-white);
    color: var(--g9c0-primary);
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Category Tabs */
.g9c0-category-tabs {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
}

.g9c0-category-tabs::-webkit-scrollbar {
    display: none;
}

.g9c0-category-tab {
    padding: 0.8rem 1.5rem;
    background: var(--g9c0-bg-darker);
    border-radius: 2rem;
    white-space: nowrap;
    font-size: 1.3rem;
    color: var(--g9c0-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.g9c0-category-tab:hover,
.g9c0-category-tab-active {
    background: var(--g9c0-gradient);
    color: var(--g9c0-text-white);
}

/* Features Section */
.g9c0-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.g9c0-feature-item {
    background: var(--g9c0-bg-darker);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 69, 0, 0.2);
    transition: border-color 0.3s ease;
}

.g9c0-feature-item:hover {
    border-color: var(--g9c0-primary);
}

.g9c0-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--g9c0-primary);
}

.g9c0-feature-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--g9c0-text-white);
}

.g9c0-feature-desc {
    font-size: 1.2rem;
    color: var(--g9c0-text-light);
}

/* Info Cards */
.g9c0-info-card {
    background: var(--g9c0-bg-darker);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--g9c0-primary);
}

.g9c0-info-card h3 {
    margin-bottom: 1rem;
    color: var(--g9c0-primary);
}

.g9c0-info-list {
    list-style: none;
    padding: 0;
}

.g9c0-info-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 228, 181, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.g9c0-info-list li:last-child {
    border-bottom: none;
}

.g9c0-info-list li i {
    color: var(--g9c0-secondary);
    margin-top: 0.3rem;
}

/* Partners Section */
.g9c0-partners {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.g9c0-partner-logo {
    background: var(--g9c0-bg-darker);
    border-radius: 0.8rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g9c0-partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 4rem;
}

/* Footer */
.g9c0-footer {
    background: var(--g9c0-bg-darker);
    padding: 3rem 1.5rem 2rem;
    margin-top: 3rem;
    border-top: 2px solid var(--g9c0-primary);
}

.g9c0-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.g9c0-footer-links a {
    color: var(--g9c0-text-light);
    font-size: 1.3rem;
}

.g9c0-footer-links a:hover {
    color: var(--g9c0-primary);
}

.g9c0-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--g9c0-text-light);
    opacity: 0.8;
}

/* Mobile Bottom Navigation */
.g9c0-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.8rem 0;
    z-index: 1000;
    border-top: 2px solid var(--g9c0-primary);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.g9c0-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.8rem;
    padding: 0.5rem;
}

.g9c0-nav-item:hover {
    background: rgba(255, 69, 0, 0.2);
}

.g9c0-nav-item i {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
    color: var(--g9c0-text-light);
    transition: color 0.3s ease;
}

.g9c0-nav-item:hover i,
.g9c0-nav-item-active i {
    color: var(--g9c0-primary);
}

.g9c0-nav-item span {
    font-size: 1rem;
    color: var(--g9c0-text-light);
    transition: color 0.3s ease;
}

.g9c0-nav-item:hover span,
.g9c0-nav-item-active span {
    color: var(--g9c0-primary);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .g9c0-bottom-nav {
        display: none;
    }
}

/* Mobile Menu */
.g9c0-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--g9c0-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.g9c0-menu-active {
    right: 0;
}

.g9c0-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;
}

.g9c0-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g9c0-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 228, 181, 0.2);
}

.g9c0-menu-close {
    font-size: 2.5rem;
    color: var(--g9c0-text-light);
    cursor: pointer;
}

.g9c0-menu-links {
    list-style: none;
}

.g9c0-menu-links li {
    border-bottom: 1px solid rgba(255, 228, 181, 0.1);
}

.g9c0-menu-links a {
    display: block;
    padding: 1.5rem 0;
    font-size: 1.5rem;
    color: var(--g9c0-text-light);
    transition: color 0.3s ease;
}

.g9c0-menu-links a:hover {
    color: var(--g9c0-primary);
}

/* Hamburger Menu Button */
.g9c0-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.g9c0-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--g9c0-text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* FAQ Accordion */
.g9c0-faq-item {
    background: var(--g9c0-bg-darker);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.g9c0-faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--g9c0-text-white);
}

.g9c0-faq-question i {
    transition: transform 0.3s ease;
}

.g9c0-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--g9c0-text-light);
    font-size: 1.4rem;
}

/* CTA Section */
.g9c0-cta {
    background: var(--g9c0-gradient);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 1.5rem;
    margin: 2rem 1.5rem;
}

.g9c0-cta h2 {
    margin-bottom: 1rem;
}

.g9c0-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Utilities */
.g9c0-text-center { text-align: center; }
.g9c0-mb-1 { margin-bottom: 1rem; }
.g9c0-mb-2 { margin-bottom: 2rem; }
.g9c0-mb-3 { margin-bottom: 3rem; }
.g9c0-mt-2 { margin-top: 2rem; }
.g9c0-hidden { display: none; }

/* Responsive adjustments */
@media (max-width: 380px) {
    .g9c0-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .g9c0-features {
        grid-template-columns: 1fr;
    }
}
