/**
 * aaajili login Website Styles
 * All classes use prefix "g80f-" for namespace isolation
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #A9A9A9;
    background-color: #1B263B;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    --g80f-primary: #7FFF00;
    --g80f-secondary: #6C757D;
    --g80f-accent: #808080;
    --g80f-bg: #1B263B;
    --g80f-bg-light: #5D5D5D;
    --g80f-text: #A9A9A9;
    --g80f-text-light: #808080;
    --g80f-border: rgba(128, 128, 128, 0.3);
    --g80f-shadow: rgba(0, 0, 0, 0.3);
    --g80f-radius: 0.8rem;
    --g80f-transition: all 0.3s ease;
}

/* Container */
.g80f-container {
    max-width: 43rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.g80f-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--g80f-bg) 0%, var(--g80f-bg-light) 100%);
    border-bottom: 1px solid var(--g80f-border);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.g80f-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    min-height: 6rem;
}

.g80f-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--g80f-primary);
    font-weight: 700;
    font-size: 2rem;
}

.g80f-logo img {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
}

/* Desktop Navigation */
.g80f-desktop-nav {
    display: none;
}

@media (min-width: 769px) {
    .g80f-desktop-nav {
        display: block;
    }

    .g80f-desktop-nav ul {
        display: flex;
        list-style: none;
        gap: 2rem;
    }

    .g80f-desktop-nav a {
        color: var(--g80f-text);
        text-decoration: none;
        font-weight: 500;
        transition: var(--g80f-transition);
        padding: 0.5rem 1rem;
        border-radius: var(--g80f-radius);
    }

    .g80f-desktop-nav a:hover {
        color: var(--g80f-primary);
        background: rgba(127, 255, 0, 0.1);
    }
}

/* Header Buttons */
.g80f-header-buttons {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.g80f-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--g80f-radius);
    cursor: pointer;
    transition: var(--g80f-transition);
    min-height: 4.4rem;
    white-space: nowrap;
}

.g80f-btn-primary {
    background: linear-gradient(135deg, var(--g80f-primary) 0%, #6CFF00 100%);
    color: var(--g80f-bg);
    box-shadow: 0 2px 10px rgba(127, 255, 0, 0.3);
}

.g80f-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(127, 255, 0, 0.4);
}

.g80f-btn-secondary {
    background: transparent;
    color: var(--g80f-primary);
    border: 2px solid var(--g80f-primary);
}

.g80f-btn-secondary:hover {
    background: var(--g80f-primary);
    color: var(--g80f-bg);
}

.g80f-btn-large {
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
}

.g80f-btn-xlarge {
    padding: 1.6rem 3.2rem;
    font-size: 1.8rem;
}

.g80f-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.g80f-spinner {
    display: inline-block;
    width: 1.6rem;
    height: 1.6rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: g80f-spin 1s linear infinite;
}

@keyframes g80f-spin {
    to { transform: rotate(360deg); }
}

/* Mobile Menu Toggle */
.g80f-mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.g80f-mobile-menu-toggle span {
    width: 2.4rem;
    height: 0.3rem;
    background: var(--g80f-primary);
    transition: var(--g80f-transition);
    border-radius: 0.2rem;
}

@media (min-width: 769px) {
    .g80f-mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
.g80f-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 32rem;
    height: 100vh;
    background: linear-gradient(135deg, var(--g80f-bg) 0%, var(--g80f-bg-light) 100%);
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.g80f-mobile-menu.active {
    right: 0;
}

.g80f-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: var(--g80f-transition);
    z-index: 9998;
}

.g80f-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.g80f-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--g80f-border);
}

.g80f-close-menu {
    background: none;
    border: none;
    color: var(--g80f-primary);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

.g80f-mobile-nav ul {
    list-style: none;
    padding: 1.5rem 0;
}

.g80f-mobile-nav li {
    border-bottom: 1px solid var(--g80f-border);
}

.g80f-mobile-nav a {
    display: block;
    padding: 1.5rem;
    color: var(--g80f-text);
    text-decoration: none;
    transition: var(--g80f-transition);
}

.g80f-mobile-nav a:hover {
    color: var(--g80f-primary);
    background: rgba(127, 255, 0, 0.1);
}

.g80f-mobile-menu-buttons {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Main Content */
.g80f-main {
    padding-top: 7rem;
    padding-bottom: 8rem;
    min-height: 100vh;
}

/* Carousel */
.g80f-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--g80f-radius);
    margin-bottom: 2rem;
}

.g80f-carousel-slide {
    display: none;
    width: 100%;
}

.g80f-carousel-slide.active {
    display: block;
}

.g80f-carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 25rem;
    object-fit: cover;
}

.g80f-carousel-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.g80f-carousel-indicator {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--g80f-transition);
}

.g80f-carousel-indicator.active {
    background: var(--g80f-primary);
}

.g80f-carousel-prev,
.g80f-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--g80f-transition);
}

.g80f-carousel-prev {
    left: 1rem;
}

.g80f-carousel-next {
    right: 1rem;
}

.g80f-carousel-prev:hover,
.g80f-carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Games Grid */
.g80f-games-section {
    margin-bottom: 3rem;
}

.g80f-games-title {
    font-size: 2rem;
    color: var(--g80f-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.g80f-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    gap: 1rem;
}

.g80f-game-card {
    background: var(--g80f-bg-light);
    border-radius: var(--g80f-radius);
    padding: 1rem;
    text-align: center;
    transition: var(--g80f-transition);
    cursor: pointer;
}

.g80f-game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--g80f-shadow);
}

.g80f-game-card img {
    width: 100%;
    height: 6rem;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.g80f-game-card h3 {
    font-size: 1.2rem;
    color: var(--g80f-text);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Sections */
.g80f-content-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--g80f-bg-light);
    border-radius: var(--g80f-radius);
}

.g80f-content-section h2 {
    font-size: 2.4rem;
    color: var(--g80f-primary);
    margin-bottom: 1.5rem;
}

.g80f-content-section h3 {
    font-size: 2rem;
    color: var(--g80f-primary);
    margin-bottom: 1rem;
}

.g80f-content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.g80f-content-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.g80f-content-section li {
    margin-bottom: 0.5rem;
}

/* Footer */
.g80f-footer {
    background: linear-gradient(135deg, var(--g80f-bg-light) 0%, var(--g80f-bg) 100%);
    padding: 3rem 0 8rem;
    margin-top: 3rem;
}

.g80f-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.g80f-footer-section h3 {
    color: var(--g80f-primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.g80f-footer-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.g80f-footer-section ul {
    list-style: none;
}

.g80f-footer-section li {
    margin-bottom: 0.5rem;
}

.g80f-footer-section a {
    color: var(--g80f-text);
    text-decoration: none;
    transition: var(--g80f-transition);
}

.g80f-footer-section a:hover {
    color: var(--g80f-primary);
}

.g80f-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.g80f-social-links a {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--g80f-bg-light);
    border-radius: 50%;
    transition: var(--g80f-transition);
}

.g80f-social-links a:hover {
    background: var(--g80f-primary);
    color: var(--g80f-bg);
}

.g80f-footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--g80f-border);
    color: var(--g80f-text-light);
}

.g80f-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.g80f-partners img {
    height: 3rem;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--g80f-transition);
}

.g80f-partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Bottom Navigation */
.g80f-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--g80f-bg-light) 0%, var(--g80f-bg) 100%);
    border-top: 1px solid var(--g80f-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 6.4rem;
    z-index: 1000;
}

@media (min-width: 769px) {
    .g80f-bottom-nav {
        display: none;
    }

    .g80f-main {
        padding-bottom: 3rem;
    }
}

.g80f-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 6rem;
    min-height: 6rem;
    background: none;
    border: none;
    color: var(--g80f-text-light);
    cursor: pointer;
    transition: var(--g80f-transition);
    font-size: 1rem;
    text-align: center;
    padding: 0.5rem;
}

.g80f-bottom-nav-item:hover,
.g80f-bottom-nav-item.active {
    color: var(--g80f-primary);
}

.g80f-bottom-nav-item i {
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .g80f-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
        gap: 0.8rem;
    }

    .g80f-game-card {
        padding: 0.8rem;
    }

    .g80f-game-card img {
        height: 5rem;
    }

    .g80f-game-card h3 {
        font-size: 1rem;
    }

    .g80f-content-section {
        padding: 1.5rem;
    }

    .g80f-footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Utility Classes */
.g80f-text-center {
    text-align: center;
}

.g80f-text-primary {
    color: var(--g80f-primary);
}

.g80f-mt-1 {
    margin-top: 1rem;
}

.g80f-mt-2 {
    margin-top: 2rem;
}

.g80f-mb-1 {
    margin-bottom: 1rem;
}

.g80f-mb-2 {
    margin-bottom: 2rem;
}

.g80f-hidden {
    display: none;
}

.g80f-flex {
    display: flex;
}

.g80f-grid {
    display: grid;
}

.g80f-gap-1 {
    gap: 1rem;
}

.g80f-gap-2 {
    gap: 2rem;
}