/* Bunny Casino Layout CSS - Prefix: pg63- */
/* All classes use pg63- prefix for namespace isolation */
/* Color Palette: #40E0D0 (Turquoise Cyan) | #273746 (Dark Blue) */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pg63-primary: #40E0D0;
    --pg63-secondary: #273746;
    --pg63-primary-light: #66E8DC;
    --pg63-secondary-light: #3A4F63;
    --pg63-white: #FFFFFF;
    --pg63-gray: #E8E8E8;
    --pg63-text-dark: #273746;
    --pg63-text-light: #6B7B8A;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--pg63-secondary);
    color: var(--pg63-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.pg63-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--pg63-secondary) 0%, var(--pg63-secondary-light) 100%);
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(64, 224, 208, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pg63-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--pg63-primary);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(64, 224, 208, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pg63-logo:hover {
    color: var(--pg63-primary-light);
}

.pg63-header-buttons {
    display: flex;
    gap: 10px;
}

.pg63-btn-register, .pg63-btn-login {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.pg63-btn-register {
    background: linear-gradient(135deg, var(--pg63-primary) 0%, var(--pg63-primary-light) 100%);
    color: var(--pg63-secondary);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
}

.pg63-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 224, 208, 0.6);
}

.pg63-btn-login {
    background: transparent;
    color: var(--pg63-primary);
    border-color: var(--pg63-primary);
}

.pg63-btn-login:hover {
    background: var(--pg63-primary);
    color: var(--pg63-secondary);
}

.pg63-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--pg63-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Menu */
.pg63-mobile-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--pg63-secondary);
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    pointer-events: none;
}

.pg63-mobile-menu.pg63-menu-active {
    left: 0;
    pointer-events: auto;
}

.pg63-menu-link {
    display: block;
    padding: 15px 20px;
    color: var(--pg63-white);
    text-decoration: none;
    border-bottom: 1px solid var(--pg63-secondary-light);
    transition: all 0.3s ease;
    font-size: 16px;
}

.pg63-menu-link:hover {
    background: var(--pg63-primary-light);
    color: var(--pg63-secondary);
    padding-left: 30px;
}

/* Main Content */
.pg63-main {
    margin-top: 70px;
    padding: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    min-height: calc(100vh - 200px);
}

@media (max-width: 768px) {
    .pg63-main {
        padding-bottom: 80px;
    }

    .pg63-menu-button {
        display: block;
    }

    .pg63-header-buttons {
        display: none;
    }
}

/* Hero Section */
.pg63-hero {
    background: linear-gradient(135deg, var(--pg63-secondary) 0%, var(--pg63-secondary-light) 100%);
    padding: 60px 20px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 3px solid var(--pg63-primary);
    position: relative;
    overflow: hidden;
}

.pg63-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.1) 0%, transparent 70%);
    animation: pg63-pulse 15s infinite;
}

@keyframes pg63-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pg63-hero-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--pg63-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(64, 224, 208, 0.5);
    position: relative;
}

.pg63-hero-subtitle {
    font-size: 20px;
    color: var(--pg63-white);
    margin-bottom: 30px;
    position: relative;
}

.pg63-hero-cta {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--pg63-primary) 0%, var(--pg63-primary-light) 100%);
    color: var(--pg63-secondary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(64, 224, 208, 0.5);
    position: relative;
}

.pg63-hero-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(64, 224, 208, 0.7);
}

/* Section Styles */
.pg63-section {
    margin-bottom: 50px;
}

.pg63-section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--pg63-primary);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.pg63-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--pg63-primary) 0%, var(--pg63-primary-light) 100%);
    border-radius: 2px;
}

/* Game Grid */
.pg63-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 480px) {
    .pg63-game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.pg63-game-card {
    background: var(--pg63-secondary-light);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
}

.pg63-game-card:hover {
    border-color: var(--pg63-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 224, 208, 0.4);
}

.pg63-game-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.pg63-game-name {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pg63-white);
    text-align: center;
    background: var(--pg63-secondary);
}

/* Mobile Bottom Navigation */
.pg63-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: linear-gradient(180deg, var(--pg63-secondary-light) 0%, var(--pg63-secondary) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--pg63-primary);
    box-shadow: 0 -5px 20px rgba(64, 224, 208, 0.3);
}

.pg63-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--pg63-primary);
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 10px;
}

.pg63-nav-item:hover {
    background: rgba(64, 224, 208, 0.1);
    transform: translateY(-2px);
}

.pg63-nav-item.pg63-nav-active {
    color: var(--pg63-white);
    background: linear-gradient(135deg, var(--pg63-primary) 0%, var(--pg63-primary-light) 100%);
}

.pg63-nav-item.pg63-nav-active .pg63-nav-icon {
    color: var(--pg63-secondary);
}

.pg63-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
    color: var(--pg63-primary);
    transition: color 0.3s ease;
}

.pg63-nav-text {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

@media (min-width: 769px) {
    .pg63-bottom-nav {
        display: none;
    }
}

/* Footer */
.pg63-footer {
    background: var(--pg63-secondary);
    padding: 40px 20px 100px 20px;
    margin-top: 50px;
    border-top: 3px solid var(--pg63-primary);
}

.pg63-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pg63-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pg63-footer-link {
    color: var(--pg63-primary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.pg63-footer-link:hover {
    color: var(--pg63-primary-light);
    text-decoration: underline;
}

.pg63-footer-text {
    color: var(--pg63-text-light);
    font-size: 14px;
    line-height: 1.8;
}

.pg63-footer-copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--pg63-secondary-light);
    color: var(--pg63-text-light);
    font-size: 12px;
}

/* Animation Classes */
.pg63-animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.pg63-animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Content Styling */
.pg63-content-block {
    background: var(--pg63-secondary-light);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid var(--pg63-primary);
}

.pg63-content-block h2 {
    color: var(--pg63-primary);
    margin-bottom: 15px;
    font-size: 24px;
}

.pg63-content-block p {
    color: var(--pg63-white);
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.pg63-content-block ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.pg63-content-block li {
    color: var(--pg63-white);
    margin-bottom: 10px;
    font-size: 16px;
}

.pg63-content-block a {
    color: var(--pg63-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.pg63-content-block a:hover {
    color: var(--pg63-primary-light);
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .pg63-hero-title {
        font-size: 32px;
    }

    .pg63-hero-subtitle {
        font-size: 16px;
    }

    .pg63-section-title {
        font-size: 24px;
    }

    .pg63-content-block {
        padding: 20px;
    }
}

/* Search and Filter Styles */
.pg63-search-container {
    margin-bottom: 30px;
}

.pg63-search-input {
    width: 100%;
    padding: 15px 20px;
    background: var(--pg63-secondary-light);
    border: 2px solid var(--pg63-secondary);
    border-radius: 25px;
    color: var(--pg63-white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.pg63-search-input:focus {
    outline: none;
    border-color: var(--pg63-primary);
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.3);
}

.pg63-search-input::placeholder {
    color: var(--pg63-text-light);
}

/* Featured Games Section */
.pg63-featured-games {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.pg63-featured-games::-webkit-scrollbar {
    height: 8px;
}

.pg63-featured-games::-webkit-scrollbar-track {
    background: var(--pg63-secondary);
    border-radius: 10px;
}

.pg63-featured-games::-webkit-scrollbar-thumb {
    background: var(--pg63-primary);
    border-radius: 10px;
}

.pg63-featured-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
}

/* Utility Classes */
.pg63-text-center {
    text-align: center;
}

.pg63-mb-20 {
    margin-bottom: 20px;
}

.pg63-mt-40 {
    margin-top: 40px;
}
