/**
 * Arion Plus - Main Stylesheet
 * Mobile-first responsive design (max-width: 430px)
 * Color Palette: Dark background #273746, Light text #DCDCDC
 * Primary accent #C71585, Secondary accent #CD853F
 */

/* CSS Reset and Base Styles */
:root {
    --g871-bg: #273746;
    --g871-bg-light: #2f4152;
    --g871-bg-dark: #1e2b36;
    --g871-text: #DCDCDC;
    --g871-text-muted: #a0a0a0;
    --g871-primary: #C71585;
    --g871-primary-hover: #d91a94;
    --g871-secondary: #CD853F;
    --g871-secondary-hover: #d9964f;
    --g871-border: #3a4f5f;
    --g871-card-bg: #2a3d4d;
    --g871-gray: #5D5D5D;
    --g871-light-gray: #D3D3D3;
    --g871-white: #ffffff;
    --g871-shadow: rgba(0, 0, 0, 0.3);
    --g871-radius: 8px;
    --g871-radius-lg: 12px;
    --g871-transition: all 0.3s ease;
}

/* Root font size for rem units */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--g871-text);
    background-color: var(--g871-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container Styles */
.g871-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.g871-wrapper {
    padding: 2rem 0;
}

.g871-grid {
    display: grid;
    gap: 1.5rem;
}

.g871-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.g871-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.g871-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Header Styles */
.g871-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--g871-bg-dark) 0%, var(--g871-bg) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--g871-shadow);
}

.g871-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.g871-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.g871-logo-img {
    width: 4rem;
    height: 4rem;
    border-radius: var(--g871-radius);
}

.g871-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g871-primary);
    letter-spacing: -0.5px;
}

.g871-header-actions {
    display: flex;
    gap: 1rem;
}

/* Button Styles */
.g871-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.8rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--g871-radius);
    cursor: pointer;
    transition: var(--g871-transition);
}

.g871-btn-primary {
    background: linear-gradient(135deg, var(--g871-primary) 0%, var(--g871-primary-hover) 100%);
    color: var(--g871-white);
}

.g871-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(199, 21, 133, 0.4);
}

.g871-btn-secondary {
    background: linear-gradient(135deg, var(--g871-secondary) 0%, var(--g871-secondary-hover) 100%);
    color: var(--g871-white);
}

.g871-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.4);
}

.g871-btn-outline {
    background: transparent;
    border: 2px solid var(--g871-primary);
    color: var(--g871-primary);
}

.g871-btn-outline:hover {
    background: var(--g871-primary);
    color: var(--g871-white);
}

.g871-btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
}

.g871-btn-lg {
    padding: 1.4rem 2.4rem;
    font-size: 1.6rem;
}

/* Navigation Styles */
.g871-nav {
    display: none;
}

.g871-nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.g871-nav-link {
    color: var(--g871-text);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    transition: var(--g871-transition);
}

.g871-nav-link:hover {
    color: var(--g871-primary);
}

.g871-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.g871-menu-toggle span {
    width: 2.5rem;
    height: 3px;
    background: var(--g871-text);
    border-radius: 2px;
    transition: var(--g871-transition);
}

/* Mobile Menu */
.g871-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--g871-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.g871-mobile-menu.g871-active {
    right: 0;
}

.g871-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--g871-transition);
}

.g871-menu-overlay.g871-active {
    opacity: 1;
    visibility: visible;
}

.g871-mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.g871-mobile-nav-list li {
    margin-bottom: 1.5rem;
}

.g871-mobile-nav-list a {
    color: var(--g871-text);
    text-decoration: none;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--g871-radius);
    transition: var(--g871-transition);
}

.g871-mobile-nav-list a:hover {
    background: var(--g871-bg-light);
    color: var(--g871-primary);
}

/* Main Content */
.g871-main {
    padding-top: 7rem;
}

/* Hero/Carousel Section */
.g871-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--g871-radius-lg) var(--g871-radius-lg);
}

.g871-slides-container {
    position: relative;
    width: 100%;
}

.g871-slide {
    display: none;
    width: 100%;
    position: relative;
}

.g871-slide.g871-active {
    display: block;
}

.g871-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.g871-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.g871-slide-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--g871-white);
    margin: 0 0 0.5rem;
}

.g871-slide-desc {
    font-size: 1.4rem;
    color: var(--g871-light-gray);
    margin: 0;
}

.g871-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 0;
    background: var(--g871-bg-dark);
}

.g871-slide-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--g871-gray);
    border: none;
    cursor: pointer;
    transition: var(--g871-transition);
}

.g871-slide-dot.g871-active {
    background: var(--g871-primary);
    transform: scale(1.2);
}

/* Section Styles */
.g871-section {
    padding: 3rem 0;
}

.g871-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.g871-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g871-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g871-section-title i {
    color: var(--g871-primary);
}

.g871-view-all {
    color: var(--g871-secondary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.g871-view-all:hover {
    color: var(--g871-secondary-hover);
}

/* Game Card Styles */
.g871-game-card {
    background: var(--g871-card-bg);
    border-radius: var(--g871-radius-lg);
    overflow: hidden;
    transition: var(--g871-transition);
    cursor: pointer;
    position: relative;
}

.g871-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--g871-shadow);
}

.g871-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.g871-game-info {
    padding: 1rem;
    text-align: center;
}

.g871-game-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--g871-text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g871-game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(199, 21, 133, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--g871-transition);
}

.g871-game-card:hover .g871-game-overlay {
    opacity: 1;
}

.g871-play-btn {
    background: var(--g871-white);
    color: var(--g871-primary);
    padding: 1rem 2rem;
    border-radius: var(--g871-radius);
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Games Grid */
.g871-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Feature Box */
.g871-feature-box {
    background: var(--g871-card-bg);
    border-radius: var(--g871-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--g871-transition);
}

.g871-feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--g871-shadow);
}

.g871-feature-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--g871-primary), var(--g871-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.4rem;
    color: var(--g871-white);
}

.g871-feature-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--g871-text);
    margin: 0 0 0.8rem;
}

.g871-feature-desc {
    font-size: 1.3rem;
    color: var(--g871-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Info Section */
.g871-info-section {
    background: var(--g871-bg-light);
    padding: 3rem 1.5rem;
    border-radius: var(--g871-radius-lg);
    margin: 2rem 0;
}

.g871-info-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--g871-primary);
    margin: 0 0 1.5rem;
}

.g871-info-text {
    font-size: 1.5rem;
    color: var(--g871-text);
    line-height: 1.8;
    margin: 0 0 1rem;
}

.g871-info-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.g871-info-list li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.4rem;
    color: var(--g871-text);
    border-bottom: 1px solid var(--g871-border);
}

.g871-info-list li:last-child {
    border-bottom: none;
}

.g871-info-list li i {
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--g871-secondary);
}

/* FAQ Styles */
.g871-faq-item {
    background: var(--g871-card-bg);
    border-radius: var(--g871-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.g871-faq-question {
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g871-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g871-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.4rem;
    color: var(--g871-text-muted);
    line-height: 1.7;
}

/* Footer Styles */
.g871-footer {
    background: var(--g871-bg-dark);
    padding: 3rem 1.5rem 8rem;
    margin-top: 3rem;
}

.g871-footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.g871-footer-logo-img {
    width: 4rem;
    height: 4rem;
    border-radius: var(--g871-radius);
}

.g871-footer-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g871-primary);
}

.g871-footer-desc {
    font-size: 1.4rem;
    color: var(--g871-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.g871-partners-section {
    margin-bottom: 2rem;
}

.g871-partners-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g871-text);
    margin-bottom: 1rem;
}

.g871-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.g871-partner-logo {
    background: var(--g871-card-bg);
    border-radius: var(--g871-radius);
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g871-partner-logo img {
    width: 100%;
    height: auto;
    max-height: 3rem;
    object-fit: contain;
}

.g871-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.g871-footer-col-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g871-text);
    margin-bottom: 1rem;
}

.g871-footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.g871-footer-links-list li {
    margin-bottom: 0.8rem;
}

.g871-footer-links-list a {
    color: var(--g871-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--g871-transition);
}

.g871-footer-links-list a:hover {
    color: var(--g871-primary);
}

.g871-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--g871-border);
    font-size: 1.2rem;
    color: var(--g871-text-muted);
}

/* Mobile Bottom Navigation */
.g871-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6rem;
    background: linear-gradient(180deg, var(--g871-bg) 0%, var(--g871-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 15px var(--g871-shadow);
    border-top: 1px solid var(--g871-border);
}

.g871-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    min-height: 5rem;
    text-decoration: none;
    color: var(--g871-text-muted);
    transition: var(--g871-transition);
    cursor: pointer;
    border-radius: var(--g871-radius);
    padding: 0.5rem;
}

.g871-nav-item:hover,
.g871-nav-item.g871-active {
    color: var(--g871-primary);
    background: rgba(199, 21, 133, 0.1);
}

.g871-nav-item i {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.g871-nav-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* H1 Title Style */
.g871-h1-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--g871-white);
    margin: 2rem 0;
    text-align: center;
    line-height: 1.3;
}

.g871-h1-title span {
    color: var(--g871-primary);
}

/* CTA Banner */
.g871-cta-banner {
    background: linear-gradient(135deg, var(--g871-primary) 0%, var(--g871-secondary) 100%);
    padding: 2.5rem 1.5rem;
    border-radius: var(--g871-radius-lg);
    text-align: center;
    margin: 2rem 0;
}

.g871-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g871-white);
    margin: 0 0 0.5rem;
}

.g871-cta-desc {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem;
}

/* Internal Links */
.g871-internal-link {
    color: var(--g871-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--g871-transition);
}

.g871-internal-link:hover {
    color: var(--g871-secondary-hover);
    text-decoration: underline;
}

/* Responsive Design - Desktop */
@media (min-width: 769px) {
    .g871-container {
        max-width: 1200px;
    }

    .g871-nav {
        display: block;
    }

    .g871-menu-toggle {
        display: none;
    }

    .g871-bottom-nav {
        display: none;
    }

    .g871-main {
        padding-bottom: 0;
    }

    .g871-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .g871-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .g871-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .g871-games-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .g871-footer {
        padding-bottom: 3rem;
    }

    .g871-footer-links {
        grid-template-columns: repeat(4, 1fr);
    }

    .g871-partners-grid {
        grid-template-columns: repeat(10, 1fr);
    }

    .g871-h1-title {
        font-size: 4rem;
    }
}

/* Mobile Specific */
@media (max-width: 768px) {
    .g871-main {
        padding-bottom: 8rem;
    }

    .g871-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .g871-game-info {
        padding: 0.8rem;
    }

    .g871-game-name {
        font-size: 1.1rem;
    }

    .g871-header-actions .g871-btn {
        padding: 0.7rem 1.2rem;
        font-size: 1.2rem;
    }
}

/* Utility Classes */
.g871-text-center {
    text-align: center;
}

.g871-text-primary {
    color: var(--g871-primary);
}

.g871-text-secondary {
    color: var(--g871-secondary);
}

.g871-mb-1 {
    margin-bottom: 1rem;
}

.g871-mb-2 {
    margin-bottom: 2rem;
}

.g871-mb-3 {
    margin-bottom: 3rem;
}

.g871-mt-2 {
    margin-top: 2rem;
}

.g871-mt-3 {
    margin-top: 3rem;
}
