/* Global Styles */
:root {
    --primary-color: #8a2be2;
    --secondary-color: #ff6b6b;
    --accent-color: #ffb347;
    --text-color: #333;
    --light-text: #f8f9fa;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

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

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

section {
    padding: 5rem 0;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

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

p {
    margin-bottom: 1.5rem;
}

ul {
    list-style: none;
}

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

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

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

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

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

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

.btn-small {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* Header */
header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 15px;
}

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

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 1.5rem;
}

.menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.menu li a:hover {
    background-color: rgba(138, 43, 226, 0.1);
    color: var(--primary-color);
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
#hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

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

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(138, 43, 226, 0.1);
}

.feature-icon.secure {
    background-color: rgba(138, 43, 226, 0.1);
}

.feature-icon.variety {
    background-color: rgba(255, 107, 107, 0.1);
}

.feature-icon.rewards {
    background-color: rgba(255, 179, 71, 0.1);
}

.feature-icon.support {
    background-color: rgba(46, 213, 115, 0.1);
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

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

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

.game-image {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.game-image.game1 {
    background-color: #8a2be2;
}

.game-image.game2 {
    background-color: #ff6b6b;
}

.game-image.game3 {
    background-color: #ffb347;
}

.game-image.game4 {
    background-color: #2ed573;
}

.game-info {
    padding: 1.5rem;
}

/* Gaming Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.partner-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
}

.partner-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.partner-card ul {
    list-style: none;
}

.partner-card li {
    margin-bottom: 0.8rem;
}

.partner-card a {
    position: relative;
    display: inline-block;
    padding: 5px 0;
    font-weight: 500;
}

.partner-card a::before {
    content: "→";
    display: inline-block;
    margin-right: 5px;
    color: var(--accent-color);
    transition: var(--transition);
}

.partner-card a:hover::before {
    transform: translateX(5px);
}

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

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 0 auto;
    text-align: center;
    max-width: 600px;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author {
    font-weight: 600;
    color: var(--accent-color);
}

/* Join Section */
#join {
    background-color: var(--dark-bg);
    color: var(--light-text);
    text-align: center;
}

.join-content {
    max-width: 600px;
    margin: 0 auto;
}

.signup-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.signup-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    color: var(--light-text);
    font-size: 1rem;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.terms {
    font-size: 0.8rem;
    opacity: 0.7;
}

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

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

.footer-logo p {
    margin-top: 1rem;
    opacity: 0.8;
}

.footer-links h4, .footer-contact h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

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

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

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

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

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

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover .social-icon {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--card-bg);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        text-align: center;
        transition: var(--transition);
        opacity: 0;
    }
    
    .menu.active {
        top: 90px;
        opacity: 1;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .feature-card, .game-card, .partner-card {
        padding: 1.5rem;
    }
}
