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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #0056b3;
    transition: all 0.3s ease;
}

a:hover {
    color: #003d82;
}

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

section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #222;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #00a0e9);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #0056b3, #00a0e9);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #003d82, #0081ba);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.25);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: #0056b3;
    color: white;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

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

.logo img {
    max-height: 60px;
}

nav .main-menu {
    display: flex;
    list-style: none;
}

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

nav .main-menu a {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
}

nav .main-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #0056b3;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav .main-menu a:hover {
    color: #0056b3;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230056b3"/></svg>') center/cover;
    color: white;
    padding: 120px 0;
    text-align: center;
}

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

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Featured Section */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.featured-image {
    height: 200px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.featured-content {
    padding: 20px;
}

.featured-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.featured-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #0056b3;
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.read-more:after {
    content: '→';
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover:after {
    transform: translateX(5px);
}

/* Tournaments Section */
.tournaments {
    background-color: #f9f9f9;
}

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

.tournament-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    padding: 15px;
}

.tournament-date {
    background: linear-gradient(135deg, #0056b3, #00a0e9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    min-width: 60px;
}

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

.tournament-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.tournament-details {
    flex: 1;
}

.tournament-details h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.tournament-details .location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.tournament-details .prize {
    font-size: 0.9rem;
    color: #0056b3;
    font-weight: 500;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

/* Teams Section */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 50%;
}

.team-card h3 {
    margin-bottom: 5px;
}

.team-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Gaming Section */
.gaming {
    background-color: #f0f5ff;
}

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

.game-article {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.game-article h3 {
    color: #0056b3;
    margin-bottom: 15px;
}

.game-article p {
    margin-bottom: 20px;
    color: #555;
}

.game-links {
    list-style: none;
    margin-top: 15px;
}

.game-links li {
    margin-bottom: 10px;
}

.game-links a {
    display: inline-block;
    color: #0056b3;
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
    transition: all 0.3s ease;
    width: fit-content;
}

.game-links a:hover {
    color: #003d82;
    border-bottom-color: #003d82;
}

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

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

.footer-about .footer-logo {
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h3,
.footer-games h3,
.footer-social h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3:after,
.footer-games h3:after,
.footer-social h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #0056b3;
    margin-top: 10px;
}

.footer-links ul,
.footer-games ul {
    list-style: none;
}

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

.footer-links a,
.footer-games a {
    color: #bbb;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-links a:hover,
.footer-games a:hover {
    color: white;
    padding-left: 5px;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: bold;
}

.social-icon:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

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

.footer-legal a {
    color: #bbb;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    nav.active .main-menu {
        right: 0;
    }
    
    nav .main-menu li {
        margin: 0 0 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .featured-grid,
    .tournament-grid,
    .teams-grid,
    .gaming-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
