/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #E82626;
}

.nav-link.active {
    color: #E82626;
    font-weight: 600;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    border-color: #E82626;
}

.flag-icon {
    width: 30px;
    height: 20px;
    display: block;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: 'Pacifico', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    color: #E82626;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

.btn-primary {
    background-color: #E82626;
    color: white;
}

.btn-primary:hover {
    background-color: #c41e1e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #E82626;
    color: white;
}

.btn-secondary:hover {
    background-color: #c41e1e;
    transform: translateY(-2px);
}

.hero-image {
    text-align: center;
}

.game-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

/* Game Section */
.game-section {
    padding: 80px 0;
    background: white;
}

.game-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-title {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: #E82626;
    margin-bottom: 30px;
}

.game-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
}

.game-specs {
    background: #E82626;
    padding: 30px;
    border-radius: 15px;
    color: white;
}

.specs-title {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 25px;
    color: white;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    flex-shrink: 0;
}

.spec-content {
    flex: 1;
}

.spec-label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2px;
}

.spec-value {
    font-size: 1.2rem;
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.faq-question {
    font-family: 'Pacifico', cursive;
    font-size: 1.3rem;
    color: #E82626;
    margin-bottom: 15px;
    font-weight: 400;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

/* Contact Content */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}


.contact-info h3 {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: #E82626;
    margin-bottom: 20px;
    font-weight: 400;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}

.contact-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #E82626;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    color: #E82626;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

/* Quantity Input */
.quantity-input {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
}

.quantity-btn {
    background: #E82626;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background: #c41e1e;
}

.quantity-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.quantity-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.quantity-input input {
    width: 80px;
    text-align: center;
    border: 2px solid #E82626;
    border-left: none;
    border-right: none;
    height: 40px;
    font-size: 1.1rem;
    font-weight: bold;
    background: white;
}

.quantity-total {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #E82626;
}

.shipping-note {
    display: block;
    font-size: 0.9rem;
    color: #28a745;
    font-weight: normal;
    margin-top: 5px;
}

/* House Number Input */
.house-number-input {
    display: flex;
    gap: 10px;
}

.house-number-input input:first-child {
    flex: 2;
}

.house-number-input input:last-child {
    flex: 1;
}

/* Address Display */
.address-display {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}

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

#full-address {
    font-size: 1rem;
    line-height: 1.4;
}

.btn-link {
    background: none;
    border: none;
    color: #E82626;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Form Message Styles */
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    border-left: 4px solid;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

/* Button Loading State */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    min-width: 350px;
    max-width: 500px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.toast-notification.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.toast-notification.success {
    border-left: 5px solid #28a745;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff9 100%);
}

.toast-notification.error {
    border-left: 5px solid #dc3545;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toast-notification.success .toast-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.toast-notification.error .toast-icon {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.toast-message {
    flex: 1;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

.toast-close {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
    transform: scale(1.1);
}

/* Toast overlay backdrop */
.toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.toast-overlay.show {
    opacity: 1;
}

@media (max-width: 480px) {
    .toast-notification {
        min-width: 280px;
        max-width: 90vw;
        padding: 18px 20px;
    }
    
    .toast-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .toast-message {
        font-size: 15px;
    }
}

.btn-link:hover {
    color: #c41e1e;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

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

/* Footer */
.footer {
    background: #ffffff;
    color: #333;
    padding: 30px 0;
    text-align: center;
}

.footer-link {
    color: #E82626;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #c41e1e;
}

/* Responsive Design for FAQ and Contact */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }
    
    .game-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav-list {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .game-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    .game-specs {
        padding: 20px;
    }
    
    .spec-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #E82626, #ff4757);
    color: white;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
    line-height: 1.7;
}

.modal-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

.game-step {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #E82626;
}

.game-step h3 {
    color: #E82626;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.game-step p {
    margin-bottom: 0;
    color: #555;
}

.game-final-note {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
    font-style: italic;
    color: #856404;
}

.game-rules-btn {
    margin-top: 15px;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .game-step {
        padding: 15px;
    }
    
    .game-step h3 {
        font-size: 1.2rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.legal-content h1 {
    color: #E82626;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f1f1;
}

.legal-content section {
    margin-bottom: 30px;
}

.legal-content h2 {
    color: #E82626;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #333;
}

.legal-content ul {
    margin-bottom: 15px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #333;
}

.legal-content strong {
    color: #E82626;
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 25px;
        margin: 0 10px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
}
