/* CyberSlots UK - Futuristic Tech Style */

:root {
    /* Tech Color Palette */
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #ffff00;
    --background-dark: #0a0a0a;
    --background-secondary: #1a1a2e;
    --background-tertiary: #16213e;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --border-color: #333333;
    --success-color: #00ff00;
    --danger-color: #ff0000;
    --glow-color: #00ffff;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    word-wrap: break-word;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 50%, var(--background-tertiary) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 255, 255, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.free-badge {
    background: var(--success-color);
    color: #000;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    margin-left: 10px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 60px);
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-attachment: scroll;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero_desktop_bg.png') center/cover;
    opacity: 0.3;
    z-index: -1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px var(--primary-color); }
    to { text-shadow: 0 0 30px var(--secondary-color), 0 0 40px var(--primary-color); }
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #000;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: scale(1.05);
    border-color: var(--text-light);
    box-shadow: 0 0 20px var(--primary-color);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: url('../images/section_bg.png') center/cover;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.8);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.feature-card a:hover {
    text-decoration: underline;
}

/* Games Section */
.games {
    padding: 80px 0;
    background: var(--background-dark);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.game-card {
    background: rgba(22, 33, 62, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.game-image {
    width: 100%;
    height: 200px;
    background: var(--background-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.game-info p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.play-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: url('../images/section_bg.png') center/cover;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.8);
    z-index: -1;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    background: rgba(0, 255, 255, 0.1);
    padding: 20px;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover {
    background: rgba(0, 255, 255, 0.2);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--background-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(22, 33, 62, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.testimonial-content p {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: bold;
}

/* Leaderboard Preview */
.leaderboard-preview {
    padding: 80px 0;
    background: url('../images/section_bg.png') center/cover;
    position: relative;
}

.leaderboard-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.8);
    z-index: -1;
}

.leaderboard-list {
    max-width: 600px;
    margin: 0 auto 40px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.leaderboard-item .rank {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
}

.leaderboard-item .player {
    flex: 1;
    color: var(--text-light);
    font-weight: 500;
}

.leaderboard-item .score {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 0;
    background: var(--background-dark);
    border-top: 3px solid var(--danger-color);
}

.disclaimer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-content h3 {
    color: var(--danger-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.disclaimer-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.disclaimer-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.badge {
    background: var(--success-color);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Footer */
.main-footer {
    background: var(--background-dark);
    border-top: 2px solid var(--primary-color);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.compliance-logo {
    height: 40px !important;
    width: auto !important;
    background: var(--text-light);
    padding: 8px;
    border-radius: 8px;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.compliance-logo:hover {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.age-restriction {
    background: var(--danger-color);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Popups */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-content {
    background: var(--background-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.popup-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.popup-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #000;
}

.btn-secondary {
    background: var(--border-color);
    color: var(--text-light);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: scale(1.05);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

.cookie-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background: rgba(0, 255, 255, 0.1);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        border-bottom: 2px solid var(--primary-color);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .features-grid,
    .games-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    .cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: none;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    
    .disclaimer-badges {
        justify-content: center;
    }
    
    .popup-content {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Desktop specific styles */
@media (min-width: 900px) {
    .features-grid,
    .games-grid,
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
