/* Base Styles */
:root {
    /* Unique color scheme for this website */
    --primary-color: #8e44ad;
    --secondary-color: #2ecc71;
    --accent-color: #f39c12;
    --text-color: #333333;
    --light-text: #ffffff;
    --light-bg: #f5f5f5;
    --dark-bg: #2c3e50;
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #7d3c98;
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: #27ae60;
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: var(--light-text);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,192L48,176C96,160,192,128,288,133.3C384,139,480,181,576,176C672,171,768,117,864,112C960,107,1056,149,1152,149.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text ul {
    margin-top: 15px;
}

.about-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.about-text ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Games Section */
.games {
    background-color: var(--light-bg);
}

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

.game-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.game-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.game-info p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.game-info a {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.game-info a:after {
    content: '→';
    opacity: 0;
    margin-left: 0;
    transition: var(--transition);
}

.game-info a:hover:after {
    opacity: 1;
    margin-left: 5px;
}

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

.events-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-item {
    display: flex;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.event-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 20px;
    min-width: 100px;
    text-align: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 1.1rem;
    text-transform: uppercase;
}

.event-details {
    padding: 20px;
    flex: 1;
}

.event-details h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.event-location {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.event-description {
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: var(--light-text);
}

.testimonials .section-header h2 {
    color: var(--light-text);
}

.testimonials .section-header h2:after {
    background-color: var(--accent-color);
}

.testimonials .section-header p {
    color: var(--light-text);
    opacity: 0.9;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    min-width: 300px;
    flex: 1;
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-quote {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-quote p {
    position: relative;
    padding-left: 25px;
}

.testimonial-quote p:before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    left: 0;
    top: -20px;
    color: var(--accent-color);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--accent-color);
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
}

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

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item .icon {
    margin-right: 15px;
    min-width: 40px;
}

.contact-item .details h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.social-media {
    margin-top: 40px;
}

.social-media h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-text);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icons img {
    width: 20px;
    height: 20px;
}

.contact-form {
    flex: 1;
    background-color: var(--light-text);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(142, 68, 173, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 70px 0 0;
}

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

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo p {
    margin: 15px 0;
    opacity: 0.8;
}

.footer-icon {
    margin-top: 15px;
}

.footer-links,
.footer-games,
.footer-newsletter {
    flex: 1 1 200px;
}

.footer-content h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-content h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-links a,
.footer-games a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-games a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 20px;
}

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

.footer-bottom p {
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--light-text);
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .about-image {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-text);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .testimonial-item {
        min-width: 250px;
    }

    .event-item {
        flex-direction: column;
    }

    .event-date {
        width: 100%;
        padding: 10px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-logo,
    .footer-links,
    .footer-games,
    .footer-newsletter {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        width: 100%;
    }
}
