/**
 * Claim PH - Main Stylesheet
 * Class prefix: g73e-
 * Color scheme: Dark theme with warm accents
 */

/* CSS Variables */
:root {
    --g73e-bg-dark: #273746;
    --g73e-bg-darker: #1e2d3a;
    --g73e-text-light: #E5E5E5;
    --g73e-text-cream: #FDF5E6;
    --g73e-accent-gold: #f4a460;
    --g73e-accent-orange: #ff8c00;
    --g73e-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --g73e-shadow-hover: 0 8px 12px rgba(0, 0, 0, 0.4);
    --g73e-border-radius: 8px;
    --g73e-transition: all 0.3s ease;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--g73e-bg-dark);
    color: var(--g73e-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
}

/* Container */
.g73e-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.g73e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--g73e-bg-darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--g73e-transition);
}

.g73e-header-scrolled {
    box-shadow: var(--g73e-shadow);
}

.g73e-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    max-width: 430px;
    margin: 0 auto;
}

.g73e-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--g73e-text-cream);
    font-weight: 700;
    font-size: 1.6rem;
}

.g73e-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.g73e-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.g73e-btn {
    padding: 8px 16px;
    border-radius: var(--g73e-border-radius);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--g73e-transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g73e-btn-primary {
    background: linear-gradient(135deg, var(--g73e-accent-gold), var(--g73e-accent-orange));
    color: #fff;
}

.g73e-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--g73e-shadow-hover);
}

.g73e-btn-secondary {
    background: transparent;
    color: var(--g73e-text-light);
    border: 2px solid var(--g73e-text-light);
}

.g73e-btn-secondary:hover {
    background: var(--g73e-text-light);
    color: var(--g73e-bg-dark);
}

.g73e-menu-btn {
    background: transparent;
    border: none;
    color: var(--g73e-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.g73e-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--g73e-bg-darker);
    z-index: 9999;
    display: none;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.g73e-menu-open {
    display: block;
}

.g73e-mobile-menu ul {
    list-style: none;
}

.g73e-mobile-menu li {
    margin-bottom: 15px;
}

.g73e-mobile-menu a {
    color: var(--g73e-text-light);
    text-decoration: none;
    font-size: 1.6rem;
    display: block;
    padding: 12px;
    border-radius: var(--g73e-border-radius);
    transition: var(--g73e-transition);
    min-height: 44px;
}

.g73e-mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

/* Main Content */
main {
    padding-top: 70px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.g73e-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.g73e-carousel img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

/* Game Grid */
.g73e-section {
    margin-bottom: 30px;
    padding: 0 15px;
}

.g73e-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g73e-text-cream);
    margin-bottom: 15px;
    text-align: center;
}

.g73e-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.g73e-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--g73e-transition);
}

.g73e-game-item:hover {
    transform: translateY(-5px);
}

.g73e-game-item img {
    width: 100%;
    height: auto;
    border-radius: var(--g73e-border-radius);
    margin-bottom: 5px;
}

.g73e-game-item p {
    font-size: 1.1rem;
    color: var(--g73e-text-light);
    line-height: 1.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Sections */
.g73e-content-section {
    padding: 20px 15px;
    margin-bottom: 20px;
    background: var(--g73e-bg-darker);
    border-radius: var(--g73e-border-radius);
}

.g73e-content-section h2 {
    font-size: 1.8rem;
    color: var(--g73e-text-cream);
    margin-bottom: 15px;
}

.g73e-content-section p {
    font-size: 1.4rem;
    line-height: 1.8rem;
    margin-bottom: 10px;
}

.g73e-content-section ul {
    list-style: none;
    margin-left: 20px;
}

.g73e-content-section li {
    font-size: 1.4rem;
    line-height: 1.8rem;
    margin-bottom: 8px;
    position: relative;
}

.g73e-content-section li:before {
    content: '•';
    color: var(--g73e-accent-gold);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* Promo Link */
.g73e-promo-link {
    color: var(--g73e-accent-gold);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--g73e-transition);
}

.g73e-promo-link:hover {
    color: var(--g73e-accent-orange);
    text-decoration: underline;
}

/* Footer */
.g73e-footer {
    background: var(--g73e-bg-darker);
    padding: 30px 15px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.g73e-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.g73e-footer-link {
    color: var(--g73e-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 8px;
    transition: var(--g73e-transition);
}

.g73e-footer-link:hover {
    color: var(--g73e-accent-gold);
}

.g73e-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.g73e-partners img {
    width: 50px;
    height: auto;
    border-radius: 4px;
}

.g73e-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--g73e-text-light);
    opacity: 0.7;
}

/* Mobile Bottom Navigation */
.g73e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--g73e-bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    .g73e-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 64px;
        padding: 0 5px;
    }
}

.g73e-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--g73e-transition);
    text-decoration: none;
    color: var(--g73e-text-light);
}

.g73e-nav-item:hover {
    color: var(--g73e-accent-gold);
    transform: scale(1.1);
}

.g73e-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.g73e-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.g73e-nav-item-active {
    color: var(--g73e-accent-gold);
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .g73e-desktop-nav {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .g73e-desktop-nav a {
        color: var(--g73e-text-light);
        text-decoration: none;
        font-size: 1.4rem;
        transition: var(--g73e-transition);
        padding: 8px 12px;
        border-radius: var(--g73e-border-radius);
    }

    .g73e-desktop-nav a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--g73e-accent-gold);
    }

    .g73e-menu-btn {
        display: none;
    }

    .g73e-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .g73e-desktop-nav {
        display: none;
    }
}

/* Responsive */
@media (max-width: 430px) {
    html {
        font-size: 55%;
    }

    .g73e-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
