/* Base Styles and Reset */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #2e4057;
    --accent-color: #f7c59f;
    --text-color: #2b2d42;
    --light-color: #efefef;
    --dark-color: #1a1a2e;
    --gradient-bg: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a2e 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

h1 {
    font-size: 2.5rem;
}

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

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Header Styles */
header {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--secondary-color);
}

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

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 600;
    color: var(--secondary-color);
    padding: 0.5rem;
    position: relative;
}

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

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

nav a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Hero Section */
#hero {
    background: var(--gradient-bg);
    color: white;
    padding: 6rem 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #e05a2b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

/* Games Section */
.game-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

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

.game-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.game-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.game-card p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.game-card a {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.game-card a:hover {
    background-color: var(--primary-color);
    text-decoration: none;
}

/* News Section */
.news-section {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

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

.news-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.news-card h3 {
    color: var(--secondary-color);
}

.news-card a {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: white;
}

.about-section .container {
    max-width: 900px;
}

.about-section h2 {
    margin-bottom: 2rem;
}

.about-section p {
    font-size: 1.1rem;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.submit-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: #e05a2b;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

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

.footer-links h3,
.footer-partners h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-partners ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-partners a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-partners a:hover {
    opacity: 1;
    color: var(--accent-color);
    text-decoration: none;
}

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

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background-color: var(--light-color);
        box-shadow: var(--shadow);
        padding-bottom: 1rem;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav li {
        width: 100%;
        text-align: center;
    }
    
    nav a {
        display: block;
        padding: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    #hero {
        padding: 4rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
