/* ======================
   5555bet Website Styles
   ====================== */

/* CSS Variables */
:root {
    --primary-color: #0f172a;
    --secondary-color: #fbbf24;
    --text-color: #f1f5f9;
    --text-muted: #cbd5e1;
    --text-bright: #ffffff;
    --accent-color: #10b981;
    --danger-color: #ef4444;
    --border-color: rgba(251, 191, 36, 0.2);
    --hover-bg: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-bright);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* ======================
   Header Styles
   ====================== */
header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--text-bright);
    transform: scale(1.05);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--text-bright);
    background: var(--hover-bg);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    color: var(--text-bright);
    background: var(--hover-bg);
}

.cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Mobile Menu */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-bright);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin: 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--hover-bg);
    color: var(--text-bright);
}

.mobile-cta {
    padding: 1rem 2rem;
}

/* ======================
   Main Content
   ====================== */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Breadcrumb */
.breadcrumb {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ======================
   Hero Section
   ====================== */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(15, 23, 42, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/hero-pattern.svg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-bright) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-bright);
    font-weight: 500;
}

.feature-icon {
    font-size: 1.5rem;
}

/* ======================
   Section Styles
   ====================== */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-bright);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ======================
   Grid Layouts
   ====================== */
.features-grid, .games-grid, .promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.categories-grid, .sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ======================
   Card Styles
   ====================== */
.feature-card, .game-card, .promo-card, .sport-card, .category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover, .game-card:hover, .promo-card:hover, .sport-card:hover, .category-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.feature-card.featured, .sport-card.featured {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.feature-icon, .category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.card h3 {
    color: var(--text-bright);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--text-bright);
}

/* ======================
   Security Section Styles
   ====================== */
.security-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.security-card h3 {
    color: var(--text-bright);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.security-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ======================
   Payment Methods Styles
   ====================== */
.payment-methods {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.payment-category h3 {
    color: var(--text-bright);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.payment-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.payment-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.payment-item:hover {
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.08);
}

.payment-logo {
    font-size: 2rem;
    margin-right: 1rem;
    min-width: 50px;
    text-align: center;
}

.payment-info h4 {
    color: var(--text-bright);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.payment-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ======================
   FAQ Styles
   ====================== */
.faq-section, .faq-sports, .faq-casino, .faq-live, .faq-bonus {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.1);
}

.faq-item h3 {
    color: var(--text-bright);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ======================
   Game and Slot Styles
   ====================== */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.slot-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.slot-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
}

.slot-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.slot-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slot-icon {
    font-size: 4rem;
    color: var(--secondary-color);
}

.slot-info {
    padding: 1.5rem;
}

.slot-info h3 {
    color: var(--text-bright);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.slot-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.rtp, .volatility {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.slot-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: rgba(251, 191, 36, 0.2);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.slot-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-demo {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-bright);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-demo:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

/* ======================
   Jackpot Styles
   ====================== */
.jackpots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.jackpot-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jackpot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(251, 191, 36, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.jackpot-card:hover::before {
    transform: translateX(100%);
}

.jackpot-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.3);
}

.jackpot-card.mega {
    border-color: #ef4444;
}

.jackpot-card.major {
    border-color: #f59e0b;
}

.jackpot-card.minor {
    border-color: #10b981;
}

.jackpot-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin: 1rem 0;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.jackpot-header h3 {
    color: var(--text-bright);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.jackpot-badge {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* ======================
   Footer Styles
   ====================== */
footer {
    background: var(--primary-color);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-bright);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* ======================
   Responsive Design
   ====================== */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .features-grid, .games-grid, .promo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .categories-grid, .sports-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .jackpot-amount {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card, .game-card, .promo-card {
        padding: 1.5rem;
    }
}

/* ======================
   Utility Classes
   ====================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* ======================
   Animation Effects
   ====================== */
@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.02);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-in;
}

/* ======================
   Print Styles
   ====================== */
@media print {
    * {
        color: #000 !important;
        background: transparent !important;
    }
    
    .mobile-menu, .header-actions, .cta-button {
        display: none !important;
    }
    
    header {
        position: static;
        background: white;
        border-bottom: 1px solid #ccc;
    }
    
    .hero {
        background: white;
        color: #333;
    }
}