/**
 * BunnyGaming Main Stylesheet
 * Version: 1.0
 * Prefix: w26fc-
 */

/* CSS Variables */
:root {
    --w26fc-primary: #FF5722;
    --w26fc-secondary: #FF8C00;
    --w26fc-accent: #FF8000;
    --w26fc-dark: #2C3E50;
    --w26fc-brown: #8B7355;
    --w26fc-light: #E5E5E5;
    --w26fc-bg: #2C3E50;
    --w26fc-text: #E5E5E5;
    --w26fc-gradient: linear-gradient(135deg, #FF5722 0%, #FF8C00 100%);
}

/* Reset and Base Styles */
* {
    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: var(--w26fc-bg);
    color: var(--w26fc-text);
    line-height: 1.6;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Container */
.w26fc-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.w26fc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.w26fc-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.w26fc-logo img {
    width: 32px;
    height: 32px;
}

.w26fc-logo-text {
    color: var(--w26fc-light);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.w26fc-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.w26fc-btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.w26fc-btn-primary {
    background: var(--w26fc-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.w26fc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.w26fc-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--w26fc-light);
    border: 2px solid var(--w26fc-primary);
}

.w26fc-btn-secondary:hover {
    background: var(--w26fc-primary);
    color: #fff;
}

.w26fc-menu-toggle {
    background: none;
    border: none;
    color: var(--w26fc-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.w26fc-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #2C3E50 0%, #1a252f 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.w26fc-mobile-menu.active {
    right: 0;
}

.w26fc-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
}

.w26fc-menu-overlay.active {
    display: block;
}

.w26fc-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.w26fc-menu-close {
    background: none;
    border: none;
    color: var(--w26fc-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.w26fc-nav-list {
    list-style: none;
}

.w26fc-nav-item {
    margin-bottom: 1.5rem;
}

.w26fc-nav-link {
    color: var(--w26fc-light);
    text-decoration: none;
    font-size: 1.6rem;
    display: block;
    padding: 1rem;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
}

.w26fc-nav-link:hover {
    background: rgba(255, 87, 34, 0.2);
    padding-left: 1.5rem;
}

.w26fc-nav-link.active {
    background: var(--w26fc-gradient);
    color: #fff;
}

/* Main Content */
main {
    padding-top: 7rem;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.w26fc-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.procc0-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.procc0-slide.active {
    opacity: 1;
}

.procc0-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Game Section */
.w26fc-section {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}

.w26fc-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--w26fc-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.w26fc-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.w26fc-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.w26fc-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--w26fc-primary);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.3);
}

.w26fc-game-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.w26fc-game-name {
    font-size: 1.1rem;
    color: var(--w26fc-light);
    text-align: center;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Section */
.w26fc-content-section {
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 2rem;
}

.w26fc-content-title {
    font-size: 2rem;
    color: var(--w26fc-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.w26fc-content-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--w26fc-text);
    margin-bottom: 1rem;
}

.w26fc-highlight {
    color: var(--w26fc-primary);
    font-weight: 600;
}

/* Footer */
.w26fc-footer {
    background: linear-gradient(180deg, #1a252f 0%, #0f1419 100%);
    padding: 3rem 1.5rem 2rem;
    margin-top: 3rem;
}

.w26fc-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.w26fc-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.w26fc-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.w26fc-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.w26fc-footer-link {
    color: var(--w26fc-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.w26fc-footer-link:hover {
    color: var(--w26fc-primary);
}

.w26fc-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
}

/* Bottom Navigation */
.w26fc-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, #34495E 0%, #2C3E50 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .w26fc-bottom-nav {
        display: none;
    }
}

.w26fc-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--w26fc-light);
    opacity: 0.7;
}

.w26fc-nav-button:hover,
.w26fc-nav-button.active {
    opacity: 1;
    color: var(--w26fc-primary);
    transform: scale(1.1);
}

.w26fc-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.w26fc-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Responsive Utilities */
@media (max-width: 380px) {
    .w26fc-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.w26fc-animate {
    animation: fadeIn 0.5s ease forwards;
}
