/**
 * Jilitt - Main Stylesheet
 * Color Palette: #B8860B | #3C3C3C | #BDC3C7 | #36454F | #1E1E1E
 * All classes prefixed with 'pgc7-'
 */

/* CSS Variables */
:root {
    --pgc7-primary: #B8860B;
    --pgc7-primary-dark: #8B6914;
    --pgc7-secondary: #3C3C3C;
    --pgc7-accent: #36454F;
    --pgc7-bg-dark: #1E1E1E;
    --pgc7-bg-darker: #0A0A0A;
    --pgc7-text-light: #BDC3C7;
    --pgc7-text-white: #FFFFFF;
    --pgc7-success: #28A745;
    --pgc7-border: rgba(184, 134, 11, 0.3);
}

/* Reset & 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: var(--pgc7-text-light);
    background-color: var(--pgc7-bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.pgc7-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Header Styles */
.pgc7-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--pgc7-bg-darker) 0%, var(--pgc7-accent) 100%);
    border-bottom: 2px solid var(--pgc7-primary);
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.2);
    transition: all 0.3s ease;
}

.pgc7-header-scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 4px 30px rgba(184, 134, 11, 0.4);
}

.pgc7-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.pgc7-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--pgc7-text-white);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pgc7-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.4);
}

.pgc7-header-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.pgc7-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
}

.pgc7-btn-primary {
    background: linear-gradient(135deg, var(--pgc7-primary) 0%, var(--pgc7-primary-dark) 100%);
    color: var(--pgc7-text-white);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.pgc7-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

.pgc7-btn-secondary {
    background: transparent;
    color: var(--pgc7-text-white);
    border: 2px solid var(--pgc7-primary);
}

.pgc7-btn-secondary:hover {
    background: var(--pgc7-primary);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.pgc7-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.pgc7-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--pgc7-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.pgc7-mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pgc7-mobile-menu.pgc7-menu-active {
    opacity: 1;
    visibility: visible;
}

.pgc7-mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pgc7-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    color: var(--pgc7-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pgc7-menu-link:hover {
    background: rgba(184, 134, 11, 0.15);
    border-color: var(--pgc7-primary);
    color: var(--pgc7-primary);
    padding-left: 1.5rem;
}

.pgc7-menu-link i {
    width: 24px;
    text-align: center;
    color: var(--pgc7-primary);
}

/* Main Content */
.pgc7-main {
    margin-top: 70px;
    padding-bottom: 80px;
    min-height: calc(100vh - 150px);
}

/* Carousel */
.pgc7-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(184, 134, 11, 0.3);
}

.pgc7-carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.pgc7-carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.pgc7-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pgc7-carousel-slide:not(.pgc7-active) {
    display: none;
}

.pgc7-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 30, 30, 0.8);
    border: 2px solid var(--pgc7-primary);
    color: var(--pgc7-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.pgc7-carousel-nav:hover {
    background: var(--pgc7-primary);
    color: var(--pgc7-text-white);
}

.pgc7-carousel-prev {
    left: 10px;
}

.pgc7-carousel-next {
    right: 10px;
}

.pgc7-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.pgc7-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.3);
    border: 2px solid var(--pgc7-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pgc7-carousel-indicator.pgc7-active {
    background: var(--pgc7-primary);
    transform: scale(1.2);
}

/* Headings */
.pgc7-h1 {
    color: var(--pgc7-primary);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 2px 10px rgba(184, 134, 11, 0.3);
}

.pgc7-h2 {
    color: var(--pgc7-text-white);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--pgc7-primary);
}

.pgc7-h3 {
    color: var(--pgc7-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem;
}

/* Game Grid */
.pgc7-game-section {
    margin-bottom: 2.5rem;
}

.pgc7-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.pgc7-game-card {
    background: linear-gradient(135deg, var(--pgc7-bg-darker) 0%, var(--pgc7-accent) 100%);
    border: 2px solid var(--pgc7-border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pgc7-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--pgc7-primary);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

.pgc7-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.pgc7-game-name {
    padding: 0.5rem 0.3rem;
    font-size: 0.9rem;
    text-align: center;
    color: var(--pgc7-text-white);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Sections */
.pgc7-section {
    background: linear-gradient(135deg, var(--pgc7-bg-darker) 0%, var(--pgc7-accent) 100%);
    border: 2px solid var(--pgc7-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pgc7-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.pgc7-section a {
    color: var(--pgc7-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--pgc7-primary);
    transition: all 0.3s ease;
}

.pgc7-section a:hover {
    color: var(--pgc7-text-white);
    border-bottom-style: solid;
}

/* Feature List */
.pgc7-feature-list {
    list-style: none;
    padding: 0;
}

.pgc7-feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.pgc7-feature-list li:last-child {
    border-bottom: none;
}

.pgc7-feature-list li i {
    color: var(--pgc7-primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Footer */
.pgc7-footer {
    background: linear-gradient(135deg, var(--pgc7-bg-darker) 0%, var(--pgc7-accent) 100%);
    border-top: 3px solid var(--pgc7-primary);
    padding: 2rem 1.5rem;
    margin-top: 3rem;
}

.pgc7-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.pgc7-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.pgc7-footer-link {
    color: var(--pgc7-text-light);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--pgc7-border);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pgc7-footer-link:hover {
    background: var(--pgc7-primary);
    color: var(--pgc7-text-white);
    border-color: var(--pgc7-primary);
}

.pgc7-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--pgc7-border);
    border-bottom: 1px solid var(--pgc7-border);
}

.pgc7-partners img {
    width: 50px;
    height: 30px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.pgc7-partners img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.pgc7-copyright {
    text-align: center;
    color: var(--pgc7-text-light);
    font-size: 1.1rem;
    padding: 1rem 0;
}

/* Mobile Bottom Navigation */
.pgc7-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--pgc7-accent) 0%, var(--pgc7-bg-darker) 100%);
    border-top: 2px solid var(--pgc7-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(184, 134, 11, 0.3);
}

.pgc7-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--pgc7-text-light);
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    padding: 5px;
}

.pgc7-bottom-nav-item:hover {
    background: rgba(184, 134, 11, 0.2);
    transform: scale(1.05);
}

.pgc7-bottom-nav-item i {
    font-size: 22px;
    color: var(--pgc7-primary);
    transition: all 0.3s ease;
}

.pgc7-bottom-nav-item span {
    font-size: 10px;
    font-weight: 600;
    color: var(--pgc7-text-white);
}

.pgc7-bottom-nav-item:hover i {
    color: var(--pgc7-text-white);
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pgc7-header-buttons {
        display: none;
    }

    .pgc7-menu-toggle {
        display: flex;
    }

    .pgc7-mobile-menu {
        display: block;
    }

    .pgc7-main {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    .pgc7-bottom-nav {
        display: none;
    }

    .pgc7-main {
        padding-bottom: 2rem;
    }
}

/* Utility Classes */
.pgc7-text-center {
    text-align: center;
}

.pgc7-mt-1 {
    margin-top: 1rem;
}

.pgc7-mb-1 {
    margin-bottom: 1rem;
}

.pgc7-mb-2 {
    margin-bottom: 2rem;
}

.pgc7-highlight {
    color: var(--pgc7-primary);
    font-weight: 700;
}
