/* Cosmic Guardian Casino - CSS Styles */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #E6E6FA;
    background: linear-gradient(135deg, #0B0B2F 0%, #1A0B3D 50%, #2D1B69 100%);
    min-height: 100vh;
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* CSS Variables - Cosmic Guardian Theme */
:root {
    --primary-color: #00CED1;
    --secondary-color: #FF6B35;
    --accent-color: #1E3A8A;
    --background-primary: #0F172A;
    --background-secondary: #1E293B;
    --background-dark: #0F1419;
    --text-light: #F1F5F9;
    --text-secondary: #CBD5E1;
    --border-color: #334155;
    --shadow-color: rgba(0, 206, 209, 0.3);
    --gradient-primary: linear-gradient(135deg, #1E3A8A 0%, #00CED1 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B35 0%, #F59E0B 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
.main-header {
    background: var(--gradient-primary);
    padding: 15px 0;
    box-shadow: 0 4px 20px var(--shadow-color);
    border-bottom: 3px solid var(--secondary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    color: var(--text-light);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin: 0;
    text-shadow: 0 0 10px var(--secondary-color);
    white-space: nowrap;
}

.free-badge {
    background: var(--gradient-secondary);
    color: var(--background-dark);
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary-color);
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    background: url('../images/hero_desktop_bg.png') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 20px 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 11, 47, 0.8) 0%, rgba(26, 11, 61, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--secondary-color);
    animation: cosmicGlow 3s ease-in-out infinite alternate;
}

@keyframes cosmicGlow {
    from { text-shadow: 0 0 20px var(--secondary-color); }
    to { text-shadow: 0 0 30px var(--secondary-color), 0 0 40px var(--primary-color); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(153, 50, 204, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(153, 50, 204, 0.6);
    background: linear-gradient(135deg, #6A0DAD 0%, #BA55D3 100%);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--background-dark);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #FFE55C 0%, #FFB347 100%);
}

/* Section Styles */
.section-title {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: var(--background-secondary);
}

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

.game-card {
    background: var(--background-dark);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(153, 50, 204, 0.4);
    border-color: var(--secondary-color);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(75, 0, 130, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--background-dark);
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.game-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.game-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--background-primary);
}

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

.feature-card {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(153, 50, 204, 0.3);
    border-color: var(--secondary-color);
}

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

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: var(--background-secondary);
}

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

.review-card {
    background: var(--background-dark);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.3);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(153, 50, 204, 0.4);
    border-color: var(--secondary-color);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.reviewer strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.reviewer span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 0;
    background: var(--background-dark);
    border-top: 3px solid var(--secondary-color);
}

.disclaimer-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--background-secondary);
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.disclaimer-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.disclaimer-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.badge {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(153, 50, 204, 0.3);
}

/* Footer */
.main-footer {
    background: var(--background-dark);
    padding: 60px 0 20px;
    border-top: 3px solid var(--secondary-color);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links {
    list-style: none;
}

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

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

.free-notice {
    color: var(--secondary-color) !important;
    font-weight: bold;
    margin: 1rem 0;
}

.age-notice {
    color: var(--secondary-color) !important;
    font-weight: bold;
}

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

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

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

.compliance-logos {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.compliance-logo {
    height: 40px;
    width: auto;
    filter: brightness(1.5) contrast(1.2);
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.compliance-logo:hover {
    filter: brightness(1.8) contrast(1.4);
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--gradient-primary);
        flex-direction: column;
        padding: 20px;
        z-index: 999;
        border-top: 3px solid var(--secondary-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .games-grid,
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .compliance-logos {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card,
.feature-card,
.review-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Ensure no horizontal overflow */
body, html {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

* {
    max-width: 100% !important;
    box-sizing: border-box !important;
}
