/* Base styles and variables */
:root {
    --primary-color: #FF6928; /* Orange color similar to rpcfast.com */
    --secondary-color: #1a1a1a;
    --accent-color: #2c2c2c;
    --light-color: #f5f5f5;
    --dark-color: #000000;
    --text-color: #333333;
    --text-light: #ffffff;
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

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

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo h1 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 28px;
    color: var(--primary-color);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    margin-left: auto; /* Push to the right */
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: var(--text-light);
    padding: 180px 0 100px;
    text-align: center;
    margin-top: 0;
}

.hero h1 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-family: var(--font-primary);
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature p {
    font-size: 16px;
    opacity: 0.8;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

section p {
    font-family: var(--font-primary);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

/* About Section */
.about {
    background-color: #ffffff;
    margin-top: 80px;
}

/* Why Choose Us */
.why-choose {
    background-color: #f9f9f9;
}

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

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

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

.benefit h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.benefit p {
    text-align: center;
    font-size: 16px;
}

/* Game Description */
.game-description {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(44, 44, 44, 0.1)), url('images/game-fon.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    text-align: center;
    padding: 150px 0; /* Increased height */
    min-height: 500px; /* Set minimum height */
    display: flex;
    align-items: center;
}

.game-description .container {
    margin: auto;
}

.game-description h2 {
    color: var(--text-light);
    font-size: 42px; /* Slightly larger heading */
}

.game-description p {
    max-width: 700px;
    margin: 0 auto 40px; /* Increased bottom margin */
    font-size: 20px; /* Slightly larger text */
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    background-color: #ffffff;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-info p {
    margin: 10px 0;
    font-size: 18px;
}

/* Feedback Form */
.feedback-form {
    max-width: 600px;
    margin: 40px auto 30px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feedback-form h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

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

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.feedback-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.disclaimer {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.disclaimer h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disclaimer p {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

.partners {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.partners img {
    height: 50px;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partners img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}

.footer-links {
    text-align: center;
    margin: 30px 0;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links ul li {
    margin: 0 15px;
}

.footer-links ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-primary);
    transition: color 0.3s ease;
}

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

.contact-details {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    opacity: 0.8;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    /* Hamburger Menu */
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 0;
        clip-path: circle(0px at 90% -10%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 0.5s ease-out;
        pointer-events: none;
    }
    
    nav ul.open {
        clip-path: circle(1500px at 90% -10%);
        -webkit-clip-path: circle(1500px at 90% -10%);
        pointer-events: all;
    }
    
    nav ul li {
        margin: 20px 0;
    }
    
    nav ul li a {
        font-size: 20px;
        padding: 10px 20px;
    }
    
    .partners {
        gap: 15px;
    }
    
    .partners img {
        height: 40px;
    }
    
    .about {
        margin-top: 80px;
    }
    
    .policy-content {
        padding-top: 100px;
    }
    
    .feedback-form {
        padding: 20px;
    }
}

/* Game Page Specific Styles */
.game-container {
    padding: 120px 0 40px;
    text-align: center;
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 30px 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 20px;
    text-align: left;
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 30px;
}

.policy-content h2 {
    text-align: left;
    margin: 25px 0 15px;
    font-size: 24px;
}

.policy-content p {
    text-align: left;
    margin-bottom: 15px;
}

/* Activity Page Specific Styles */
.activity-container {
    padding: 120px 0 40px;
    text-align: center;
}

.activity-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 30px 0;
}

/* Activity Description Section */
.activity-description {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(44, 44, 44, 0.1)), url('images/game-fon.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    text-align: center;
    padding: 150px 0; /* Increased height */
    min-height: 500px; /* Set minimum height */
    display: flex;
    align-items: center;
}

.activity-description .container {
    margin: auto;
}

.activity-description h2 {
    color: var(--text-light);
    font-size: 42px; /* Slightly larger heading */
}

.activity-description p {
    max-width: 700px;
    margin: 0 auto 40px; /* Increased bottom margin */
    font-size: 20px; /* Slightly larger text */
    opacity: 0.9;
}

/* Cookie Consent Window */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(26, 26, 26, 0.95);
    color: var(--text-light);
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s ease;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 20px;
}

.close-cookie {
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close-cookie:hover {
    opacity: 1;
}

.cookie-content {
    padding: 15px 20px 20px 20px;
    background-color: rgba(30, 30, 30, 0.9);
}

.cookie-content p {
    margin: 0 0 20px 0;
    font-size: 14px;
    text-align: left;
    line-height: 1.5;
    color: #e0e0e0;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 10px;
}

.cookie-buttons .cookie-btn {
    padding: 14px 28px;
    font-size: 16px;
    margin: 0;
    border-radius: 30px;
    min-width: 150px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-primary);
    border: 2px solid;
    background: none;
    outline: none;
    box-sizing: border-box;
}

.cookie-accept {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 105, 40, 0.4);
}

.cookie-accept:hover {
    background-color: #ff5a15;
    border-color: #ff5a15;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 105, 40, 0.5);
}

.cookie-reject {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.cookie-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Cookie Consent */
@media (max-width: 768px) {
    .cookie-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 0;
    }
    
    .cookie-header {
        padding: 12px 15px 8px 15px;
    }
    
    .cookie-content {
        padding: 12px 15px 15px 15px;
    }
    
    .cookie-content p {
        font-size: 14px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .cookie-buttons .cookie-btn {
        width: 100%;
        text-align: center;
        min-width: auto;
        padding: 12px 20px;
    }
}

/* Activity Description Section */
.activity-description {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(44, 44, 44, 0.1)), url('images/game-fon.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    text-align: center;
    padding: 150px 0; /* Increased height */
    min-height: 500px; /* Set minimum height */
    display: flex;
    align-items: center;
}

.activity-description .container {
    margin: auto;
}

.activity-description h2 {
    color: var(--text-light);
    font-size: 42px; /* Slightly larger heading */
}

.activity-description p {
    max-width: 700px;
    margin: 0 auto 40px; /* Increased bottom margin */
    font-size: 20px; /* Slightly larger text */
    opacity: 0.9;
}
