/**
 * BWin Casino Login - Theme Stylesheet
 * @version 1.0.0
 * @description Mobile-first responsive styles for BWin Casino Login
 */

/* CSS Variables */
:root {
    --v233-primary: #2E8B57;
    --v233-secondary: #34495E;
    --v233-accent: #00FF7F;
    --v233-light: #FAFAD2;
    --v233-text: #FFF8DC;
    --v233-dark: #1a252f;
    --v233-shadow: rgba(0, 0, 0, 0.3);
    --v233-radius: 8px;
    --v233-transition: all 0.3s ease;
}

/* Base Reset */
* {
    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(--v233-secondary);
    color: var(--v233-text);
    line-height: 1.5rem;
    min-height: 100vh;
}

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

.v233-wrapper {
    width: 100%;
    padding: 1rem;
}

/* Header Styles */
.v233-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--v233-secondary) 0%, var(--v233-dark) 100%);
    padding: 1rem 1.5rem;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--v233-shadow);
    transition: var(--v233-transition);
}

.v233-header-scrolled {
    background: rgba(52, 73, 94, 0.98);
    padding: 0.8rem 1.5rem;
}

.v233-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.v233-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.v233-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.v233-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--v233-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v233-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.v233-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: var(--v233-radius);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--v233-transition);
    border: none;
    min-height: 36px;
}

.v233-btn-login {
    background: transparent;
    color: var(--v233-text);
    border: 1px solid var(--v233-primary);
}

.v233-btn-login:hover {
    background: var(--v233-primary);
    color: var(--v233-text);
}

.v233-btn-register {
    background: var(--v233-primary);
    color: var(--v233-text);
}

.v233-btn-register:hover {
    background: var(--v233-accent);
    color: var(--v233-dark);
}

.v233-menu-toggle {
    background: transparent;
    border: none;
    color: var(--v233-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

/* Mobile Menu */
.v233-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v233-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 6rem 0 2rem;
}

.v233-menu-active {
    right: 0;
}

.v233-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--v233-transition);
}

.v233-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v233-nav-list {
    list-style: none;
    padding: 0 1.5rem;
}

.v233-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v233-nav-link {
    display: block;
    padding: 1.2rem 0;
    color: var(--v233-text);
    text-decoration: none;
    font-size: 1.4rem;
    transition: var(--v233-transition);
}

.v233-nav-link:hover {
    color: var(--v233-accent);
    padding-left: 0.5rem;
}

/* Main Content */
.v233-main {
    padding-top: 60px;
    padding-bottom: 2rem;
}

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

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

.v233-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.v233-slide:first-child {
    opacity: 1;
    visibility: visible;
}

.v233-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.v233-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.v233-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--v233-transition);
}

.v233-dot-active {
    background: var(--v233-accent);
    transform: scale(1.2);
}

/* Section Styles */
.v233-section {
    padding: 2rem 1.5rem;
}

.v233-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v233-accent);
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.v233-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: var(--v233-transition);
    cursor: pointer;
}

.v233-game-item:hover {
    transform: translateY(-3px);
}

.v233-game-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--v233-radius);
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--v233-primary);
    transition: var(--v233-transition);
}

.v233-game-item:hover .v233-game-icon {
    border-color: var(--v233-accent);
    box-shadow: 0 0 10px var(--v233-accent);
}

.v233-game-name {
    font-size: 1rem;
    color: var(--v233-text);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70px;
}

/* Category Title */
.v233-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v233-primary);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--v233-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Promo Section */
.v233-promo-section {
    background: linear-gradient(135deg, var(--v233-primary) 0%, #1e6b42 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
    border-radius: var(--v233-radius);
}

.v233-promo-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v233-text);
    margin-bottom: 1rem;
}

.v233-promo-text {
    font-size: 1.2rem;
    color: var(--v233-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.v233-btn-promo {
    background: var(--v233-accent);
    color: var(--v233-dark);
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: var(--v233-radius);
    text-decoration: none;
    display: inline-block;
    transition: var(--v233-transition);
}

.v233-btn-promo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.4);
}

/* Features Grid */
.v233-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem 0;
}

.v233-feature-card {
    background: var(--v233-dark);
    padding: 1.5rem;
    border-radius: var(--v233-radius);
    text-align: center;
    transition: var(--v233-transition);
}

.v233-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--v233-shadow);
}

.v233-feature-icon {
    font-size: 2.4rem;
    color: var(--v233-accent);
    margin-bottom: 0.8rem;
}

.v233-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--v233-text);
    margin-bottom: 0.5rem;
}

.v233-feature-desc {
    font-size: 1rem;
    color: var(--v233-light);
    line-height: 1.4;
}

/* Testimonials */
.v233-testimonials {
    padding: 1.5rem 0;
}

.v233-testimonial {
    background: var(--v233-dark);
    padding: 1.5rem;
    border-radius: var(--v233-radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--v233-primary);
}

.v233-testimonial-text {
    font-size: 1.2rem;
    color: var(--v233-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.v233-testimonial-author {
    font-size: 1.1rem;
    color: var(--v233-accent);
    font-weight: 600;
}

/* Payment Methods */
.v233-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1rem 0;
}

.v233-payment-item {
    background: var(--v233-dark);
    padding: 1rem 1.5rem;
    border-radius: var(--v233-radius);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v233-payment-icon {
    font-size: 2rem;
    color: var(--v233-accent);
}

.v233-payment-name {
    font-size: 1.2rem;
    color: var(--v233-text);
}

/* Winners Section */
.v233-winners {
    background: var(--v233-dark);
    padding: 1.5rem;
    border-radius: var(--v233-radius);
}

.v233-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v233-winner-item:last-child {
    border-bottom: none;
}

.v233-winner-name {
    font-size: 1.2rem;
    color: var(--v233-text);
}

.v233-winner-amount {
    font-size: 1.2rem;
    color: var(--v233-accent);
    font-weight: 700;
}

/* Footer */
.v233-footer {
    background: var(--v233-dark);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

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

.v233-footer-desc {
    font-size: 1.1rem;
    color: var(--v233-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.v233-footer-link {
    font-size: 1.1rem;
    color: var(--v233-text);
    text-decoration: none;
    transition: var(--v233-transition);
}

.v233-footer-link:hover {
    color: var(--v233-accent);
}

.v233-footer-copyright {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.v233-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--v233-secondary) 0%, var(--v233-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 -2px 10px var(--v233-shadow);
}

@media (min-width: 769px) {
    .v233-bottom-nav {
        display: none;
    }
}

.v233-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--v233-text);
    transition: var(--v233-transition);
    cursor: pointer;
    background: transparent;
    border: none;
}

.v233-nav-btn:hover,
.v233-nav-btn.v233-active {
    color: var(--v233-accent);
    transform: scale(1.1);
}

.v233-nav-btn-icon {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.v233-nav-btn-text {
    font-size: 1rem;
    font-weight: 500;
}

/* FAQ Section */
.v233-faq-item {
    background: var(--v233-dark);
    margin-bottom: 0.8rem;
    border-radius: var(--v233-radius);
    overflow: hidden;
}

.v233-faq-question {
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--v233-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v233-faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 1.1rem;
    color: var(--v233-light);
    line-height: 1.6;
}

/* Content Text */
.v233-content-text {
    font-size: 1.2rem;
    color: var(--v233-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.v233-content-text a {
    color: var(--v233-accent);
    text-decoration: none;
}

.v233-content-text a:hover {
    text-decoration: underline;
}

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

.v233-list-item {
    padding: 0.8rem 0;
    font-size: 1.2rem;
    color: var(--v233-light);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.v233-list-item i {
    color: var(--v233-accent);
    margin-top: 0.2rem;
}

/* Highlight Box */
.v233-highlight {
    background: linear-gradient(135deg, var(--v233-primary) 0%, #1e6b42 100%);
    padding: 1.5rem;
    border-radius: var(--v233-radius);
    margin: 1rem 0;
}

.v233-highlight-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--v233-text);
    margin-bottom: 0.8rem;
}

.v233-highlight-text {
    font-size: 1.2rem;
    color: var(--v233-light);
    line-height: 1.6;
}

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

    .v233-game-icon {
        width: 50px;
        height: 50px;
    }

    .v233-game-name {
        font-size: 0.9rem;
        max-width: 60px;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .v233-container {
        max-width: 800px;
    }

    .v233-slider {
        height: 300px;
    }

    .v233-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .v233-features {
        grid-template-columns: repeat(4, 1fr);
    }
}
