/**
 * Bunnygaming Main Stylesheet
 * Class Prefix: wf430-
 * Color Palette: #F08080 | #00FF7F | #0C0C0C | #32CD32 | #90EE90
 */

/* CSS Variables */
:root {
    --wf430-primary: #F08080;
    --wf430-secondary: #00FF7F;
    --wf430-accent: #32CD32;
    --wf430-light: #90EE90;
    --wf430-dark: #0C0C0C;
    --wf430-bg: #0C0C0C;
    --wf430-text: #FFFFFF;
    --wf430-text-muted: #CCCCCC;
    --wf430-gradient: linear-gradient(135deg, #F08080 0%, #32CD32 100%);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--wf430-bg);
    color: var(--wf430-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.wf430-container {
    width: 100%;
    padding: 0 1.2rem;
    margin: 0 auto;
}

/* Header */
.wf430-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, #0C0C0C 0%, #1a1a1a 100%);
    padding: 0.8rem 1rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--wf430-primary);
}

.wf430-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.wf430-logo img {
    width: 28px;
    height: 28px;
}

.wf430-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--wf430-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wf430-header-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.wf430-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    min-height: 32px;
}

.wf430-btn-login {
    background: transparent;
    border: 2px solid var(--wf430-secondary);
    color: var(--wf430-secondary);
}

.wf430-btn-login:hover {
    background: var(--wf430-secondary);
    color: var(--wf430-dark);
}

.wf430-btn-register {
    background: var(--wf430-gradient);
    color: var(--wf430-dark);
}

.wf430-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(240, 128, 128, 0.4);
}

.wf430-menu-btn {
    background: transparent;
    border: none;
    color: var(--wf430-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.wf430-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wf430-overlay-active {
    opacity: 1;
    visibility: visible;
}

.wf430-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #0C0C0C 100%);
    z-index: 9999;
    padding: 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.wf430-menu-active {
    right: 0;
}

.wf430-close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--wf430-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.wf430-menu-nav {
    margin-top: 3rem;
}

.wf430-menu-nav a {
    display: block;
    padding: 1.2rem 0;
    border-bottom: 1px solid #333;
    color: var(--wf430-text);
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.wf430-menu-nav a:hover {
    color: var(--wf430-primary);
}

/* Main Content */
.wf430-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel */
.wf430-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.wf430-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.wf430-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.wf430-slide-active {
    opacity: 1;
}

.wf430-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wf430-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    pointer-events: none;
}

.wf430-carousel-nav button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

.wf430-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.wf430-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.wf430-dot-active {
    background: var(--wf430-primary);
}

/* Sections */
.wf430-section {
    padding: 1.5rem 1rem;
}

.wf430-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--wf430-primary);
    text-align: center;
}

.wf430-section-subtitle {
    font-size: 1.2rem;
    color: var(--wf430-text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Game Grid */
.wf430-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.wf430-game-item {
    background: linear-gradient(145deg, #1a1a1a 0%, #0C0C0C 100%);
    border-radius: 8px;
    padding: 0.4rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.wf430-game-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(240, 128, 128, 0.3);
    border-color: var(--wf430-primary);
}

.wf430-game-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.wf430-game-name {
    font-size: 1rem;
    color: var(--wf430-text);
    margin-top: 0.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.wf430-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wf430-secondary);
    margin: 1.5rem 0 0.8rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--wf430-secondary);
}

/* Info Cards */
.wf430-info-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0C0C0C 100%);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid #333;
}

.wf430-info-card h3 {
    color: var(--wf430-primary);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.wf430-info-card p {
    color: var(--wf430-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Promo Link */
.wf430-promo-link {
    color: var(--wf430-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wf430-promo-link:hover {
    color: var(--wf430-light);
}

.wf430-promo-btn {
    display: inline-block;
    background: var(--wf430-gradient);
    color: var(--wf430-dark);
    padding: 0.8rem 1.6rem;
    border-radius: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wf430-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(240, 128, 128, 0.5);
}

/* Features List */
.wf430-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.wf430-feature-item {
    background: linear-gradient(145deg, #1a1a1a 0%, #0C0C0C 100%);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #333;
}

.wf430-feature-item i {
    font-size: 2.4rem;
    color: var(--wf430-primary);
    margin-bottom: 0.5rem;
}

.wf430-feature-item h4 {
    font-size: 1.2rem;
    color: var(--wf430-text);
    margin-bottom: 0.3rem;
}

.wf430-feature-item p {
    font-size: 1rem;
    color: var(--wf430-text-muted);
}

/* Footer */
.wf430-footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0C0C0C 100%);
    padding: 1.5rem 1rem;
    border-top: 2px solid var(--wf430-primary);
}

.wf430-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.wf430-footer-links a {
    color: var(--wf430-text-muted);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.wf430-footer-links a:hover {
    color: var(--wf430-primary);
}

.wf430-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.wf430-partners img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.wf430-partners img:hover {
    opacity: 1;
}

.wf430-copyright {
    text-align: center;
    color: var(--wf430-text-muted);
    font-size: 1.1rem;
}

/* Bottom Navigation */
.wf430-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1a1a1a 0%, #0C0C0C 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    border-top: 2px solid var(--wf430-primary);
    z-index: 1000;
}

.wf430-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wf430-nav-item i,
.wf430-nav-item .material-icons {
    font-size: 22px;
    color: var(--wf430-text-muted);
    transition: color 0.3s ease;
}

.wf430-nav-item span {
    font-size: 10px;
    color: var(--wf430-text-muted);
    margin-top: 2px;
    transition: color 0.3s ease;
}

.wf430-nav-item:hover i,
.wf430-nav-item:hover span,
.wf430-nav-item.active i,
.wf430-nav-item.active span {
    color: var(--wf430-primary);
}

.wf430-nav-item:active {
    transform: scale(0.95);
}

/* Responsive - Hide bottom nav on desktop */
@media (min-width: 769px) {
    .wf430-bottom-nav {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .wf430-main {
        padding-bottom: 80px;
    }
}

/* List Styles */
.wf430-list {
    list-style: none;
    padding: 0;
}

.wf430-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #333;
    color: var(--wf430-text-muted);
    font-size: 1.2rem;
}

.wf430-list li:last-child {
    border-bottom: none;
}

.wf430-list li i {
    color: var(--wf430-secondary);
    margin-right: 0.8rem;
}

/* RTP Table */
.wf430-rtp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
}

.wf430-rtp-table th,
.wf430-rtp-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.wf430-rtp-table th {
    color: var(--wf430-primary);
    font-weight: 600;
}

.wf430-rtp-table td {
    color: var(--wf430-text-muted);
}

/* Achievement Badge */
.wf430-badge {
    display: inline-block;
    background: var(--wf430-gradient);
    color: var(--wf430-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Highlight Text */
.wf430-highlight {
    color: var(--wf430-primary);
    font-weight: 600;
}

.wf430-highlight-green {
    color: var(--wf430-secondary);
    font-weight: 600;
}
