/**
 * Pair Play - Theme Stylesheet
 * Website: pairplay.sbs
 * Prefix: g60f-
 */

/* CSS Variables */
:root {
    --g60f-primary: #B22222;
    --g60f-secondary: #8B0000;
    --g60f-bg-dark: #1A1A1A;
    --g60f-bg-darker: #0D0D0D;
    --g60f-text-light: #FFFFFF;
    --g60f-text-gray: #CCCCCC;
    --g60f-border: #333333;
    --g60f-gold: #FFD700;
    --g60f-gradient: linear-gradient(135deg, #B22222 0%, #8B0000 100%);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--g60f-bg-dark);
    color: var(--g60f-text-light);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.g60f-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.g60f-wrapper {
    padding: 1rem 0;
}

/* Header */
.g60f-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--g60f-bg-darker);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 2px solid var(--g60f-primary);
    transition: all 0.3s ease;
}

.g60f-header-scrolled {
    background: rgba(13, 13, 13, 0.98);
    box-shadow: 0 4px 20px rgba(178, 34, 34, 0.3);
}

.g60f-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.g60f-logo img {
    width: 32px;
    height: 32px;
}

.g60f-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g60f-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.g60f-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.g60f-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
}

.g60f-btn-primary {
    background: var(--g60f-gradient);
    color: var(--g60f-text-light);
}

.g60f-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.5);
}

.g60f-btn-outline {
    background: transparent;
    border: 2px solid var(--g60f-primary);
    color: var(--g60f-primary);
}

.g60f-btn-outline:hover {
    background: var(--g60f-primary);
    color: var(--g60f-text-light);
}

.g60f-menu-toggle {
    background: none;
    border: none;
    color: var(--g60f-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.g60f-mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--g60f-bg-darker);
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    border-bottom: 2px solid var(--g60f-primary);
}

.g60f-mobile-menu-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.g60f-mobile-menu a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--g60f-text-light);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--g60f-border);
    transition: all 0.2s ease;
}

.g60f-mobile-menu a:hover {
    color: var(--g60f-primary);
    padding-left: 1.5rem;
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Slider */
.g60f-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.g60f-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.g60f-slide-active {
    opacity: 1;
}

.g60f-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Titles */
.g60f-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g60f-text-light);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--g60f-primary);
    display: inline-block;
}

/* Game Grid */
.g60f-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.g60f-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.g60f-game-item:hover {
    transform: scale(1.05);
}

.g60f-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    border: 2px solid var(--g60f-border);
    transition: border-color 0.2s ease;
}

.g60f-game-item:hover img {
    border-color: var(--g60f-primary);
}

.g60f-game-name {
    font-size: 1.1rem;
    color: var(--g60f-text-gray);
    margin-top: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Section */
.g60f-category-section {
    margin-bottom: 2.5rem;
}

.g60f-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.g60f-category-icon {
    font-size: 2.4rem;
    color: var(--g60f-primary);
}

/* Content Sections */
.g60f-content-section {
    background: var(--g60f-bg-darker);
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    border: 1px solid var(--g60f-border);
}

.g60f-content-section p {
    color: var(--g60f-text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.g60f-content-section h2,
.g60f-content-section h3 {
    color: var(--g60f-text-light);
    margin-bottom: 1rem;
}

/* Promo Link */
.g60f-promo-link {
    color: var(--g60f-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.g60f-promo-link:hover {
    color: var(--g60f-gold);
    text-decoration: underline;
}

.g60f-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--g60f-gradient);
    color: var(--g60f-text-light);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.g60f-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(178, 34, 34, 0.4);
}

/* Footer */
.g60f-footer {
    background: var(--g60f-bg-darker);
    padding: 2rem 1.5rem;
    border-top: 2px solid var(--g60f-primary);
}

.g60f-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.g60f-footer-brand p {
    color: var(--g60f-text-gray);
    font-size: 1.3rem;
    line-height: 1.5;
}

.g60f-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.g60f-footer-links a {
    padding: 0.6rem 1.2rem;
    background: var(--g60f-bg-dark);
    border: 1px solid var(--g60f-border);
    border-radius: 5px;
    color: var(--g60f-text-gray);
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.g60f-footer-links a:hover {
    border-color: var(--g60f-primary);
    color: var(--g60f-primary);
}

.g60f-copyright {
    text-align: center;
    color: var(--g60f-text-gray);
    font-size: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--g60f-border);
}

/* Bottom Navigation */
.g60f-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--g60f-bg-darker);
    border-top: 2px solid var(--g60f-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.g60f-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.g60f-nav-item:hover {
    background: rgba(178, 34, 34, 0.2);
}

.g60f-nav-item.active {
    color: var(--g60f-primary);
}

.g60f-nav-item i,
.g60f-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.g60f-nav-item span {
    font-size: 10px;
    color: var(--g60f-text-gray);
}

.g60f-nav-item.active span {
    color: var(--g60f-primary);
}

/* Desktop - Hide Bottom Nav */
@media (min-width: 769px) {
    .g60f-bottom-nav {
        display: none;
    }
}

/* List Styles */
.g60f-list {
    list-style: none;
    padding: 0;
}

.g60f-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--g60f-border);
    color: var(--g60f-text-gray);
}

.g60f-list li:last-child {
    border-bottom: none;
}

/* Card Component */
.g60f-card {
    background: var(--g60f-bg-darker);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--g60f-border);
}

/* Badge */
.g60f-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--g60f-primary);
    color: var(--g60f-text-light);
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Highlight Text */
.g60f-highlight {
    color: var(--g60f-primary);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 380px) {
    .g60f-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .g60f-section-title {
        font-size: 1.7rem;
    }
}
