/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2d3748 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header Styles - Same as main page */
.main-header {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #4299e1;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    position: relative;
}

.logo-section {
    flex-shrink: 0;
}

.site-logo {
    max-width: 208px;
    height: auto;
    transition: all 0.3s ease;
}

.primary-navigation {
    flex: 1;
    margin: 0 30px;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: #4299e1;
    color: white;
}

/* Current Page Styling */
.current-page {
    background: #4299e1;
    color: white;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a2332;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-radius: 8px;
    display: none;
    list-style: none;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-menu.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content li {
    border-bottom: 1px solid #2d3748;
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #2d3748;
    border-radius: 0;
}

.dropdown-content a:hover {
    background: rgba(66, 153, 225, 0.3);
    transform: none;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown-menu.active .dropdown-arrow {
    transform: rotate(180deg);
}

.auth-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-register, .btn-login {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-register {
    background: #48bb78;
    color: white;
}

.btn-register:hover {
    background: #38a169;
    transform: translateY(-2px);
}

.btn-login {
    background: transparent;
    color: #4299e1;
    border: 2px solid #4299e1;
}

.btn-login:hover {
    background: #4299e1;
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
    flex-shrink: 0;
    order: 3;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Styles */
.nav-menu.mobile-active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    background: #1a2332;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 1000;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border-top: 2px solid #4299e1;
    animation: slideDown 0.3s ease;
}

.nav-menu.mobile-active li {
    width: 100%;
    margin-bottom: 5px;
}

.nav-menu.mobile-active a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    background: rgba(45, 55, 72, 0.5);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-menu.mobile-active a:hover {
    background: #4299e1;
    transform: translateX(5px);
}

.nav-menu.mobile-active .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    background: rgba(45, 55, 72, 0.3);
    margin-top: 5px;
    margin-left: 20px;
    border-radius: 8px;
    opacity: 1;
    transform: none;
    transition: none;
}

.nav-menu.mobile-active .dropdown-menu.active .dropdown-content {
    display: block;
}

.nav-menu.mobile-active .dropdown-content a {
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Hero Section */
.casino-hero-section {
    padding: 80px 0;
    background: radial-gradient(circle at 70% 30%, rgba(72, 187, 120, 0.1), transparent 60%);
}

.casino-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 10px;
}

.hero-content h1 {
    font-size: 3.4rem;
    color: #e2e8f0;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.25rem;
    color: #cbd5e0;
    margin-bottom: 35px;
    line-height: 1.6;
}

.btn-play-now {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(66, 153, 225, 0.3);
    text-decoration: none;
}

.btn-play-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(66, 153, 225, 0.4);
}

.welcome-note {
    color: #fbbf24;
    font-weight: 600;
    margin-top: 15px;
    font-size: 1rem;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Top Games Section */
.top-games-section {
    padding: 80px 0;
    background: rgba(26, 35, 50, 0.9);
}

.top-games-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: #22c55e;
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.25);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.game-card h3 {
    color: #22c55e;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.game-card p {
    color: #cbd5e0;
    line-height: 1.6;
}

/* Game Categories Section */
.game-categories-section {
    padding: 80px 0;
    background: rgba(15, 20, 25, 0.9);
}

.game-categories-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    color: #cbd5e0;
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.category-card {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: #4299e1;
    box-shadow: 0 15px 35px rgba(66, 153, 225, 0.2);
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.category-card h3 {
    color: #4299e1;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.category-games {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.game-tag {
    background: rgba(66, 153, 225, 0.2);
    color: #4299e1;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-card p {
    color: #cbd5e0;
    line-height: 1.6;
}

/* Tips & Strategies Section */
.tips-strategies-section {
    padding: 80px 0;
}

.tips-strategies-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tips-tabs {
    background: rgba(45, 55, 72, 0.8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tips-tabs-header {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    background: rgba(26, 35, 50, 0.6);
    padding: 8px;
    border-radius: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tips-tabs-header::-webkit-scrollbar {
    display: none;
}

.tips-tab-button {
    background: transparent;
    border: none;
    padding: 15px 20px;
    border-radius: 12px;
    color: #a0aec0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: fit-content;
}

.tips-tab-button:hover {
    background: rgba(66, 153, 225, 0.2);
    color: #4299e1;
}

.tips-tab-button.active {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

.tab-icon {
    font-size: 1.2rem;
}

.tab-text {
    font-size: 0.95rem;
}

.tips-tabs-content {
    position: relative;
    min-height: 400px;
}

.tips-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tips-tab-content.active {
    display: block;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tip-item {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tip-item:hover {
    transform: translateY(-5px);
    border-color: #22c55e;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.2);
}

.tip-item h4 {
    color: #22c55e;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.tip-item p {
    color: #cbd5e0;
    line-height: 1.5;
}

/* Features Section */
.casino-features-section {
    padding: 80px 0;
}

.casino-features-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.feature-list {
    list-style: disc;
    padding-left: 25px;
    max-width: 900px;
    margin: 0 auto;
    color: #cbd5e0;
    font-size: 1rem;
    line-height: 1.8;
}

.feature-list li {
    margin-bottom: 10px;
}

.feature-list li strong {
    color: #22c55e;
}

/* Bonus Section */
.casino-bonus-section {
    padding: 80px 0;
    background: rgba(15, 20, 25, 0.9);
}

.casino-bonus-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.bonus-card {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bonus-card.highlighted {
    border-color: #fbbf24;
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.25);
}

.bonus-card:hover {
    transform: translateY(-10px);
    border-color: #22c55e;
}

.bonus-card h3 {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.bonus-card p {
    color: #cbd5e0;
    line-height: 1.6;
}

/* How to Play Section */
.how-to-play-section {
    padding: 80px 0;
}

.how-to-play-section h2 {
    text-align: center;
    color: #e2e8f0;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    background: #4299e1;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: #e2e8f0;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.step-content p {
    color: #cbd5e0;
    line-height: 1.6;
}

/* Responsible Gaming Notice */
.responsible-gaming-notice {
    padding: 40px 0;
    background: rgba(239, 68, 68, 0.1);
    border-top: 3px solid #ef4444;
    border-bottom: 3px solid #ef4444;
}

.notice-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.notice-icon {
    font-size: 2.5rem;
}

.notice-text {
    color: #cbd5e0;
    line-height: 1.6;
}

.notice-text a {
    color: #4299e1;
    text-decoration: none;
}

.notice-text a:hover {
    text-decoration: underline;
}

.age-restriction {
    background: #ef4444;
    color: white;
    padding: 12px 18px;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Footer Styles - Same as main page */
.main-footer {
    background: #0f1419;
    padding: 50px 0 20px;
    border-top: 2px solid #4299e1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.payment-methods {
    text-align: center;
    margin-bottom: 40px;
}

.payment-methods h3 {
    color: #e2e8f0;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-icons img {
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.payment-icons img:hover {
    filter: grayscale(0);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #4299e1;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: #a0aec0;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #4299e1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
    color: #718096;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1080px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .primary-navigation {
        position: relative;
        margin: 0;
        order: 2;
    }
    
    .auth-buttons {
        flex-direction: row;
        gap: 8px;
        order: 2;
    }
    
    .mobile-menu-toggle {
        order: 3;
    }
    
    .logo-section {
        order: 1;
    }
    
    .site-logo {
        max-width: 180px;
    }
    
    .btn-register, .btn-login {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .casino-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .bonus-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .tips-tabs-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tips-tab-button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .site-logo {
        max-width: 150px;
    }
    
    .btn-register, .btn-login {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .auth-buttons {
        gap: 6px;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .feature-list {
        padding-left: 20px;
    }
    
    .notice-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .payment-icons {
        gap: 10px;
    }
    
    /* Fixed mobile centering for step items */
    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-content {
        text-align: center;
    }
    
    .tips-tabs-header {
        justify-content: flex-start;
    }
    
    .tips-tab-button {
        padding: 10px 12px;
        min-width: auto;
    }
    
    .tab-text {
        display: none;
    }
    
    .tab-icon {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 8px 10px;
    }
    
    .site-logo {
        max-width: 120px;
    }
    
    .games-grid .game-card {
        padding: 25px;
    }
    
    .bonus-card {
        padding: 25px;
    }
    
    .steps-container {
        gap: 20px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .nav-menu.mobile-active {
        padding: 15px;
    }
    
    .nav-menu.mobile-active a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .tips-tabs {
        padding: 20px;
    }
    
    .tips-tabs-header {
        padding: 5px;
        gap: 5px;
    }
    
    .tips-tab-button {
        padding: 8px 10px;
    }
}

@media (max-width: 320px) {
    .site-logo {
        max-width: 100px;
    }
    
    .btn-register, .btn-login {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .nav-menu.mobile-active {
        padding: 10px;
    }
    
    .nav-menu.mobile-active a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .tips-tabs {
        padding: 15px;
    }
    
    .tips-tab-button {
        padding: 6px 8px;
    }
}

/* Enhanced Mobile Menu Animation */
@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.nav-menu.mobile-closing {
    animation: slideUp 0.3s ease forwards;
}

/* Smooth transitions for responsive elements */
@media (prefers-reduced-motion: no-preference) {
    .site-logo,
    .btn-register,
    .btn-login,
    .auth-buttons {
        transition: all 0.3s ease;
    }
}
