/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', 'Inter', sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #1C1C1C;
    overflow-x: hidden;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 100px;
    }
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

/* Button as link styles */
.btn-primary[href], .btn-secondary[href] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1C1C1C;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-secondary:hover {
    background: #FFFFFF;
    color: #1C1C1C;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-width: 180px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-desktop .nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-desktop .nav-link:hover,
.nav-desktop .nav-link.active {
    color: #FFD700;
}

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

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

/* Desktop navigation styles are now above */

.burger-menu {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Скрываем бургер на десктопе */
@media (min-width: 768px) {
    .burger-menu {
        display: none !important;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #1C1C1C;
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #333;
}

.close-menu {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav {
    padding: 2rem;
}

.mobile-nav-link {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    padding: 1rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #FFD700;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(28, 28, 28, 0.8) 0%, rgba(42, 42, 42, 0.8) 100%), url('images/background-hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FFD700" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23FFD700" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23FFD700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #CCCCCC;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #1C1C1C;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-block h3 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.about-block p {
    color: #CCCCCC;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
}

/* Event Ideas Section */
.event-ideas {
    padding: 80px 0;
    background: #2A2A2A;
}

.event-ideas h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

.ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.idea-card {
    background: #1C1C1C;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.idea-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.idea-card img {
    width: 100%;
    height: auto;
    display: block;
}

.idea-card h3 {
    padding: 1.5rem 1.5rem 1rem;
    color: #FFD700;
}

.idea-card button {
    margin: 0 1.5rem 1.5rem;
}

/* Games Section */
.games {
    padding: 80px 0;
    background: #1C1C1C;
}

.games h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

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

.game-card {
    background: #2A2A2A;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
}

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

.game-card img {
    width: 100%;
    height: auto;
    display: block;
}

.game-card h3 {
    padding: 1.5rem 1.5rem 1rem;
    color: #FFD700;
}

.game-card button {
    margin: 0 1.5rem 1.5rem;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: #2A2A2A;
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

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

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #1C1C1C;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    background: #2A2A2A;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FFD700;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #CCCCCC;
    line-height: 1.4;
}

/* Disclaimer Section */
.disclaimer {
    padding: 60px 0;
    background: #2A2A2A;
}

.disclaimer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer h3 {
    color: #FFD700;
    margin-bottom: 1.5rem;
}

.disclaimer p {
    color: #CCCCCC;
    margin-bottom: 1rem;
}

.disclaimer a {
    color: #FFD700;
    text-decoration: none;
}

.disclaimer a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1C1C1C;
    padding: 60px 0 20px;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-info {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-section h4 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #CCCCCC;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

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

.footer-nav a:hover {
    color: #FFD700;
}

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

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

.age-restriction {
    background: #FFD700;
    color: #1C1C1C;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    z-index: 1000;
    border-top: 1px solid #333;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cookie-content p {
    color: #CCCCCC;
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 767px) {
    .nav-desktop {
        display: none;
    }
    
    .header .btn-primary {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .ideas-grid,
    .games-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 15px 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 160px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about, .event-ideas, .games, .portfolio, .contact {
    animation: fadeInUp 0.8s ease-out;
}

/* Hover effects */
.idea-card, .game-card, .portfolio-item {
    transition: all 0.3s ease;
}

.idea-card:hover, .game-card:hover, .portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

/* Focus states for accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

/* Loading states */
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Events Page Styles */


.events-overview {
    padding: 80px 0;
    background: #1C1C1C;
}

.events-overview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.event-card {
    background: #2A2A2A;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.event-card.large {
    grid-column: 1 / -1;
}

.event-image img {
    width: 100%;
    height: auto;
    display: block;
}

.event-content {
    padding: 2rem;
}

.event-content h3 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.event-content p {
    color: #CCCCCC;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-features {
    list-style: none;
    margin-bottom: 2rem;
}

.event-features li {
    color: #CCCCCC;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.event-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

.event-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-card.large {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .event-card.large .event-image {
        order: 2;
    }
    
    .event-card.large .event-content {
        order: 1;
    }
}

@media (min-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Planning Process */
.planning-process {
    padding: 80px 0;
    background: #2A2A2A;
}

.planning-process h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: #1C1C1C;
    border-radius: 12px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1C1C1C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.process-step p {
    color: #CCCCCC;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: #1C1C1C;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #2A2A2A;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

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

.pricing-card.featured {
    border-color: #FFD700;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.pricing-card p {
    color: #CCCCCC;
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    color: #CCCCCC;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: #2A2A2A;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

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

.faq-item {
    background: #1C1C1C;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #2A2A2A;
}

.faq-question h3 {
    color: #FFFFFF;
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #2A2A2A;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #CCCCCC;
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1C1C1C33 0%, #2A2A2A88 100%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #FFD700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: #CCCCCC;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Games Page Styles */

.games-overview {
    padding: 80px 0;
    background: #1C1C1C;
}

.games-overview h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

.games-detailed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.game-detailed-card {
    background: #2A2A2A;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-detailed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-image img {
    width: 100%;
    height: auto;
    display: block;
}

.game-content {
    padding: 2rem;
}

.game-content h3 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.game-content p {
    color: #CCCCCC;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #1C1C1C;
    border-radius: 8px;
}

.game-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    color: #999;
    font-weight: 500;
}

.detail-value {
    color: #FFD700;
    font-weight: 600;
}

.game-features h4 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.game-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.game-features li {
    color: #CCCCCC;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.game-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

.game-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .game-details {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .games-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Game Rules */
.game-rules {
    padding: 80px 0;
    background: #2A2A2A;
}

.game-rules h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

.rules-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    background: #1C1C1C;
    border: 2px solid #333;
    color: #CCCCCC;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 600;
}

.tab-button:hover {
    border-color: #FFD700;
    color: #FFD700;
}

.tab-button.active {
    background: #FFD700;
    color: #1C1C1C;
    border-color: #FFD700;
}

.tab-content {
    background: #1C1C1C;
    border-radius: 12px;
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: #FFD700;
    margin-bottom: 2rem;
    text-align: center;
}

.rules-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.rule-section h4 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.rule-section p {
    color: #CCCCCC;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.rule-section ul,
.rule-section ol {
    color: #CCCCCC;
    padding-left: 1.5rem;
}

.rule-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .rules-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Equipment */
.equipment {
    padding: 80px 0;
    background: #1C1C1C;
}

.equipment h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

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

.equipment-item {
    background: #2A2A2A;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.equipment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.equipment-item h3 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.equipment-item p {
    color: #CCCCCC;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #1C1C1C33 0%, #2A2A2A88 100%);
}

.contact-info {
    padding: 80px 0;
    background: #1C1C1C;
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

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

.contact-card {
    background: #2A2A2A;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #CCCCCC;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-note {
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #2A2A2A;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #FFD700;
}

.form-description {
    text-align: center;
    color: #CCCCCC;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    background: #1C1C1C;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #333;
}

.form-section h3 {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    background: #2A2A2A;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .checkbox-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #CCCCCC;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: #FFD700;
    border-color: #FFD700;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1C1C1C;
    font-weight: bold;
    font-size: 14px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #CCCCCC;
    line-height: 1.4;
}

.form-checkbox a {
    color: #FFD700;
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Contact FAQ */
.contact-faq {
    padding: 80px 0;
    background: #1C1C1C;
}

.contact-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

/* Privacy Policy Page Styles */
.privacy-content {
    padding: 120px 0 80px;
    background: #1C1C1C;
}

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

.content-wrapper h1 {
    color: #FFD700;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.last-updated {
    text-align: center;
    color: #999;
    margin-bottom: 3rem;
    font-style: italic;
}

.content-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #2A2A2A;
    border-radius: 12px;
    border: 1px solid #333;
}

.content-section h2 {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 0.5rem;
}

.content-section h3 {
    color: #FFD700;
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.content-section p {
    color: #CCCCCC;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-section ul {
    color: #CCCCCC;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-details,
.authority-details {
    background: #1C1C1C;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-details p,
.authority-details p {
    margin-bottom: 0.5rem;
}

.contact-details strong,
.authority-details strong {
    color: #FFD700;
}

.authority-details a {
    color: #FFD700;
    text-decoration: none;
}

.authority-details a:hover {
    text-decoration: underline;
}

/* Terms Page Styles */
.terms-content {
    padding: 120px 0 80px;
    background: #1C1C1C;
}

/* Theme Page Styles */
.theme-hero {
    background: linear-gradient(135deg, rgba(28, 28, 28, 0.8) 0%, rgba(42, 42, 42, 0.8) 100%), url('images/background-hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.theme-details {
    padding: 80px 0;
    background: #1C1C1C;
}

.theme-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.theme-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.theme-text h2 {
    color: #FFD700;
    margin-bottom: 1.5rem;
}

.theme-text h3 {
    color: #FFD700;
    margin: 2rem 0 1rem;
}

.theme-text p {
    color: #CCCCCC;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.theme-text ul {
    color: #CCCCCC;
    padding-left: 1.5rem;
}

.theme-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .theme-content {
        grid-template-columns: 1fr 1fr;
    }
}

.services-included {
    padding: 80px 0;
    background: #2A2A2A;
}

.services-included h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

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

.service-item {
    background: #1C1C1C;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-item h3 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.service-item p {
    color: #CCCCCC;
    line-height: 1.6;
}

.theme-pricing {
    padding: 80px 0;
    background: #1C1C1C;
}

.theme-pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #FFD700;
}

/* Print styles */
@media print {
    .header, .footer, .cookie-consent {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* Popup Modal Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.popup-overlay.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ensure proper hiding when not shown */
.popup-overlay:not(.show) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Additional hiding rules */
.popup-overlay.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Debug styles */
.popup-overlay.debug {
    border: 2px solid red;
    background: rgba(255, 0, 0, 0.1);
}

.popup-modal {
    background: #1C1C1C;
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-modal {
    transform: scale(1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.popup-title {
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    color: #999;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #FFD700;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.popup-form .form-row:last-of-type {
    margin-bottom: 1rem;
}

.popup-form textarea {
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #2A2A2A;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    resize: vertical;
    min-height: 80px;
}

.popup-form textarea:focus {
    outline: none;
    border-color: #FFD700;
}

.popup-form textarea::placeholder {
    color: #999;
}

.popup-form select {
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #2A2A2A;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.popup-form select:focus {
    outline: none;
    border-color: #FFD700;
}

.popup-form select option {
    background: #2A2A2A;
    color: #FFFFFF;
}

.popup-form input,
.popup-form input[type="date"] {
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #2A2A2A;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.popup-form input:focus,
.popup-form input[type="date"]:focus,
.popup-form select:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: #FFD700;
}

.popup-form input.error,
.popup-form select.error,
.popup-form textarea.error {
    border-color: #ff4444;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.popup-form input::placeholder {
    color: #999;
}

.popup-form button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1C1C1C;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.popup-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.popup-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.popup-success {
    text-align: center;
    padding: 2rem;
}

.popup-success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.popup-success-message {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.popup-success-description {
    color: #999;
    font-size: 1rem;
}

/* Responsive popup */
@media (max-width: 768px) {
    .popup-modal {
        width: 95%;
        max-width: none;
        margin: 20px;
        padding: 1.5rem;
        max-height: 85vh;
    }
    
    .popup-title {
        font-size: 1.3rem;
    }
    
    .popup-form .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .popup-form input,
    .popup-form select,
    .popup-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Success animation */
@keyframes popupSuccess {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-success {
    animation: popupSuccess 0.5s ease;
}
