/* Base Styles */
:root {
    --primary-color: #5e2bff;
    --primary-dark: #4a1fcc;
    --secondary-color: #ff5e2b;
    --accent-color: #2bff5e;
    --text-color: #333;
    --text-light: #777;
    --bg-color: #f8f9fa;
    --bg-dark: #212529;
    --white: #ffffff;
    --light-gray: #e9ecef;
    --mid-gray: #dee2e6;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

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

a:hover {
    color: var(--primary-dark);
}

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

ul, ol {
    list-style-position: inside;
}

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

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

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

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

nav a:hover, nav a.active {
    color: var(--primary-color);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

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

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

.hero .btn:hover {
    background-color: var(--light-gray);
}

/* Featured Posts Section */
.featured-posts {
    padding: 80px 0;
}

.featured-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.featured-posts h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

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

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.post-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 8px;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

/* Stats Section */
.stats {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 80px 0;
}

.stats h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.stats h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    transform: translateX(-50%);
}

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

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.stat-item svg {
    fill: var(--accent-color);
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

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

.cta .btn:hover {
    background-color: var(--light-gray);
}

/* Glossary Section */
.glossary {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.glossary h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.glossary h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

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

.glossary-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.glossary-item:hover {
    transform: translateY(-5px);
}

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

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-info img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 20px;
    opacity: 0.8;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

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

.social-icons svg {
    fill: var(--white);
    width: 18px;
    height: 18px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

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

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact svg {
    fill: var(--primary-color);
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

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

.footer-bottom p {
    opacity: 0.6;
}

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

.footer-policies a {
    color: var(--white);
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-policies a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

.cookie-content {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-accept {
    background-color: var(--accent-color);
    color: var(--bg-dark);
}

.btn-customize {
    background-color: transparent;
    border: 1px solid var(--white);
}

.btn-reject {
    background-color: transparent;
    border: 1px solid var(--white);
}

.cookie-content a {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Page Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.blog-date svg {
    margin-right: 8px;
}

.blog-content h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-content .btn {
    align-self: flex-start;
}

/* About Page Styles */
.about-section {
    padding: 80px 0;
}

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

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.team-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.team-section h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    padding: 20px 20px 5px;
    font-size: 1.3rem;
}

.team-member p {
    padding: 0 20px 15px;
    color: var(--text-light);
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
}

.team-member .social-icons {
    padding: 0 20px 20px;
}

.team-member .social-icons a {
    background-color: var(--primary-color);
}

.values-section {
    padding: 80px 0;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.values-section h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

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

.value-item {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item svg {
    fill: var(--primary-color);
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.info-item svg {
    fill: var(--primary-color);
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.social-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--mid-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    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(94, 43, 255, 0.2);
}

.map-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Thank You Modal */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content svg {
    margin: 0 auto 20px;
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 25px;
}

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

/* Blog Post Styles */
.post-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
}

.post-meta > div {
    display: flex;
    align-items: center;
}

.post-meta svg {
    margin-right: 8px;
    fill: var(--white);
}

.post-content {
    padding: 60px 0;
}

.featured-image {
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.featured-image img {
    width: 100%;
    height: auto;
}

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

.content p, .content ul, .content ol {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.content h4 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
}

.content ul, .content ol {
    margin-left: 20px;
}

.content li {
    margin-bottom: 10px;
}

.content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 30px;
    background-color: var(--light-gray);
    margin: 30px 0;
    font-style: italic;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.content pre {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 30px 0;
}

.content code {
    font-family: 'Courier New', Courier, monospace;
}

.post-tags {
    margin: 40px 0;
}

.post-tags span {
    font-weight: 600;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    background-color: var(--light-gray);
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.share-post {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.share-post span {
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

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

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

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

.social-share svg {
    fill: var(--text-color);
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.social-share a:hover svg {
    fill: var(--white);
}

.related-posts {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.related-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

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

.related-post {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    padding: 15px 15px 10px;
    font-size: 1.1rem;
}

.related-post .read-more {
    padding: 0 15px 15px;
    display: block;
}

/* Player Profile Styles */
.player-profile {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
}

.player-stats {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    float: right;
    width: 250px;
    margin-left: 20px;
    box-shadow: var(--box-shadow);
}

.player-stats p {
    margin-bottom: 10px;
}

.player-stats ul {
    margin-top: 5px;
    margin-left: 20px;
}

.tournament-item {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
}

.tournament-details {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 15px 0;
}

.tournament-details p {
    margin-bottom: 8px;
}

.honorable-mentions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.player-mention {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.player-mention h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .player-stats {
        float: none;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .featured-posts h2, .stats h2, .glossary h2, .team-section h2, .values-section h2 {
        font-size: 2rem;
    }
    
    .contact-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-policies {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .featured-posts h2, .stats h2, .glossary h2, .team-section h2, .values-section h2 {
        font-size: 1.8rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .content h2 {
        font-size: 1.6rem;
    }
    
    .content h3 {
        font-size: 1.4rem;
    }
}
