:root {
    --primary-color: #ff4b2b;
    --secondary-color: #ff416c;
    --text-color: #ffffff;
    --background-dark: #1a1a1a;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--background-dark), #000000);
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('fire-bg.jpg') center/cover no-repeat;
    opacity: 0.2;
    z-index: -1;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.slogan {
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.tournament-info {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

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

.info-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 75, 43, 0.1);
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.download-section {
    text-align: center;
    padding: 40px 20px;
}

.download-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    padding: 20px 60px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 75, 43, 0.3);
}

.button-icon {
    font-size: 1.8rem;
}

/* Rules Section Styles */
.rules-section {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rule-item {
    background: rgba(255, 75, 43, 0.1);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--primary-color);
}

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

/* Screenshots Section Styles */
.screenshots-section {
    margin: 40px 0;
    padding: 20px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.screenshot-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16/9;
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 75, 43, 0.3);
}

.screenshot-overlay {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.screenshot-item:hover img {
    transform: scale(1.1);
}

.screenshot-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--text-color);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-text {
    transform: translateY(0);
}

.screenshot-text h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.screenshot-text p {
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-text {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5));
    }
    
    .screenshot-item:hover {
        transform: translateY(-5px);
    }
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .slogan {
        font-size: 1.5rem;
    }
    
    .download-button {
        padding: 15px 40px;
        font-size: 1.2rem;
    }
    
    .info-grid, .rules-grid, .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-item img {
        height: 180px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), #000000);
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-logo h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.footer-description {
    color: #999;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.contact-info p {
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 75, 43, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.social-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 75, 43, 0.3);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.copyright {
    color: #666;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Add hover effect to all buttons */
button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 75, 43, 0.3);
}
