/* big bunny - Main Stylesheet */
/* All classes use sd85 prefix for namespace isolation */

/* CSS Variables - Color Palette */
:root {
    --primary: #ADFF2F;
    --secondary: #2E4057;
    --accent: #006400;
    --highlight: #2E8B57;
    --warm: #DEB887;
    --light: #FAFAFA;
    --dark: #1a1a2e;
    --gradient-start: #ADFF2F;
    --gradient-end: #2E8B57;
}

/* Reset & Base */
*, *::before, *::after {
    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, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--light);
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    min-height: 100vh;
}

/* Container */
.sd85-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
    background: var(--secondary);
    min-height: 100vh;
}

/* Header */
.sd85-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: rgba(46, 64, 87, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.sd85-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
}

.sd85-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sd85-logo span {
    color: var(--warm);
}

.sd85-header-buttons {
    display: flex;
    gap: 1rem;
}

.sd85-btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.sd85-btn-register {
    background: linear-gradient(135deg, var(--primary) 0%, var(--highlight) 100%);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(173, 255, 47, 0.4);
}

.sd85-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(173, 255, 47, 0.6);
}

.sd85-btn-login {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.sd85-btn-login:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Mobile Menu Toggle */
.sd85-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
}

.sd85-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.sd85-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sd85-mobile-menu.sd85-menu-active {
    transform: translateX(0);
}

.sd85-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(173, 255, 47, 0.1);
}

.sd85-menu-close {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 3rem;
    cursor: pointer;
}

.sd85-menu-nav {
    padding: 2rem 1.5rem;
}

.sd85-menu-nav a {
    display: block;
    padding: 1.2rem 0;
    color: var(--light);
    text-decoration: none;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(173, 255, 47, 0.1);
    transition: all 0.3s ease;
}

.sd85-menu-nav a:hover {
    color: var(--primary);
    padding-left: 1rem;
}

/* Hero Carousel */
.sd85-carousel {
    position: relative;
    margin-top: 70px;
    height: 200px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.sd85-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sd85-carousel-slide.sd85-active {
    opacity: 1;
}

.sd85-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd85-carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.sd85-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sd85-carousel-indicator.sd85-active,
.sd85-carousel-indicator:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* Main Content */
main {
    padding: 2rem 1.5rem 80px;
}

/* Section Styles */
.sd85-section {
    margin-bottom: 3rem;
}

.sd85-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Game Grid */
.sd85-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.sd85-game-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.sd85-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(173, 255, 47, 0.3);
    background: rgba(173, 255, 47, 0.1);
}

.sd85-game-icon {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
}

.sd85-game-name {
    padding: 0.8rem 0.5rem;
    font-size: 1.1rem;
    color: var(--light);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info Cards */
.sd85-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(173, 255, 47, 0.1);
}

.sd85-card h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.sd85-card p {
    margin-bottom: 1rem;
    color: rgba(250, 250, 250, 0.9);
    line-height: 1.8;
}

.sd85-card ul {
    list-style: none;
    padding-left: 0;
}

.sd85-card li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(250, 250, 250, 0.9);
}

.sd85-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* FAQ Accordion */
.sd85-accordion {
    margin-bottom: 1rem;
}

.sd85-accordion-header {
    background: rgba(173, 255, 47, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sd85-accordion-header:hover,
.sd85-accordion-header.sd85-active {
    background: rgba(173, 255, 47, 0.2);
    border-color: var(--primary);
}

.sd85-accordion-header h3 {
    font-size: 1.6rem;
    color: var(--light);
    flex: 1;
}

.sd85-accordion-icon {
    font-size: 2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.sd85-accordion-header.sd85-active .sd85-accordion-icon {
    transform: rotate(180deg);
}

.sd85-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sd85-accordion-body {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 10px 10px;
    color: rgba(250, 250, 250, 0.9);
    line-height: 1.8;
}

/* Footer */
.sd85-footer {
    background: rgba(26, 26, 46, 0.98);
    padding: 3rem 1.5rem 8rem;
    margin-top: 3rem;
}

.sd85-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.sd85-footer-link {
    color: var(--light);
    text-decoration: none;
    font-size: 1.4rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.sd85-footer-link:hover {
    color: var(--primary);
}

.sd85-partners {
    margin: 2rem 0;
}

.sd85-partners-title {
    text-align: center;
    color: var(--warm);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.sd85-partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.sd85-partner-icon {
    width: 100%;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sd85-partner-icon:hover {
    opacity: 1;
}

.sd85-copyright {
    text-align: center;
    color: rgba(250, 250, 250, 0.6);
    font-size: 1.2rem;
    margin-top: 2rem;
}

/* Mobile Bottom Navigation */
.sd85-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: rgba(46, 64, 87, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 0.8rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(173, 255, 47, 0.2);
}

.sd85-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 60px;
    min-height: 60px;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 0.5rem;
}

.sd85-nav-item:hover,
.sd85-nav-item.sd85-active {
    background: rgba(173, 255, 47, 0.15);
    transform: scale(1.05);
}

.sd85-nav-icon {
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.sd85-nav-item:hover .sd85-nav-icon,
.sd85-nav-item.sd85-active .sd85-nav-icon {
    transform: scale(1.1);
    color: var(--highlight);
}

.sd85-nav-label {
    font-size: 1rem;
    color: var(--light);
    font-weight: 500;
}

/* Desktop: Hide bottom navigation */
@media (min-width: 769px) {
    .sd85-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 2rem;
    }
}

/* Mobile: Add bottom padding to main content */
@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Utility Classes */
.sd85-text-center {
    text-align: center;
}

.sd85-mt-2 {
    margin-top: 2rem;
}

.sd85-mb-2 {
    margin-bottom: 2rem;
}

/* Hero Title */
.sd85-hero-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 2rem 0;
    line-height: 1.3;
    padding: 0 1rem;
}

/* CTA Button */
.sd85-cta-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--highlight) 100%);
    color: var(--dark);
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(173, 255, 47, 0.5);
    transition: all 0.3s ease;
}

.sd85-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(173, 255, 47, 0.7);
}
