/* Base Styles */
:root {
    --primary-color: #c5007c;
    --secondary-color: #530050;
    --accent-color: #FFD700;
    --background-color: #000721;
    --text-color: #ffffff;
    --card-bg: rgba(0, 7, 33, 0.8);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    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;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ffffff;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    margin: 10px 5px;
    border: none;
}

.btn.primary {
    background: var(--primary-color);
    color: #fff;
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.btn.primary:hover {
    background: #e6008f;
}

.btn.secondary:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--accent-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    border-radius: 2px;
}

section {
    padding: 80px 0;
    position: relative;
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 7, 33, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-svg {
    width: 180px;
    height: 45px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: #fff;
    font-weight: 500;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(0, 7, 33, 0.8), rgba(197, 0, 124, 0.7)), url('https://source.unsplash.com/random/1920x1080/?casino') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 0;
    padding-top: 80px;
    overflow: hidden;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-top: 30px;
}

/* About Section */
.about {
    background: radial-gradient(circle at center, #05052f, var(--background-color));
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Games Section */
.games {
    background: linear-gradient(to bottom right, #070735, #2c0034);
    position: relative;
    overflow: hidden;
}

.games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://source.unsplash.com/random/1920x1080/?pattern') no-repeat center center/cover;
    opacity: 0.05;
    z-index: 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.game-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.game-card p {
    margin-bottom: 20px;
}

.game-links {
    text-align: left;
    margin-top: 15px;
}

.game-links li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.game-links li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Events Section */
.events {
    background-color: #040417;
}

.event-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.event {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.event:last-child {
    margin-bottom: 0;
}

.event-date {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
    flex-shrink: 0;
    color: white;
    position: relative;
    box-shadow: 0 5px 15px rgba(197, 0, 124, 0.3);
}

.event-date::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 10px solid var(--primary-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.event-date .month {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
}

.event-content {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.event-content:hover {
    transform: translateY(-5px);
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(45deg, #0b0b2e, #300039);
    position: relative;
}

.testimonials::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://source.unsplash.com/random/1920x1080/?abstract') no-repeat center center/cover;
    opacity: 0.05;
    z-index: 0;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: 10px;
    left: 20px;
    color: rgba(255, 215, 0, 0.1);
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author p {
    color: var(--accent-color);
}

/* Contact Section */
.contact {
    background: radial-gradient(circle at center, #05052f, var(--background-color));
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.info-icon {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-text h3 {
    margin-bottom: 5px;
    color: var(--accent-color);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #01010d;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 2;
    min-width: 300px;
}

.footer-logo p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo-svg {
    width: 180px;
    height: 45px;
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links-column {
    flex: 1;
    min-width: 150px;
}

.footer-links-column h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-favicon {
    width: 40px;
    height: auto;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .event-date {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    header .container {
        height: 70px;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .event {
        flex-direction: column;
    }
    
    .event-date {
        margin-bottom: 20px;
        align-self: flex-start;
    }
    
    .event-date::before {
        display: none;
    }
    
    .footer-content, .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Custom Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}
