/* Wolf Gold 4 Pack - Clean Minimal Design */

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

/* Clean Color Scheme - Based on competitor */
:root {
    --background: #e8ecef;
    --container-bg: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --accent-gold: #ffc107;
    --accent-orange: #fd7e14;
    --border-light: #e9ecef;
    --border-medium: #dee2e6;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

/* Container - Compact Width */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: var(--container-bg);
    min-height: 100vh;
    box-shadow: 0 0 30px var(--shadow-medium);
}

/* Compact Hero Section */
.hero-compact {
    text-align: center;
    padding: 20px 0 15px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.hero-compact h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
    line-height: 1.3;
}

.hero-compact p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Game Embed Container - Clean Style */
.game-embed-container {
    width: 100%;
    margin: 0 0 25px 0;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    overflow: hidden;
    background: var(--container-bg);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.game-top-bar {
    background: var(--accent-gold);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1px solid var(--border-medium);
}

.game-fullscreen-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.game-fullscreen-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.game-fullscreen-button:active {
    transform: scale(0.95);
}

.game-fullscreen-button svg {
    width: 18px;
    height: 18px;
}

.game-content-area {
    padding: 20px;
}

.game-preview-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.game-preview-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 300px;
    border-radius: 6px;
    margin: 0 auto 15px auto;
    display: block;
    border: 1px solid var(--border-light);
    object-fit: contain;
}

.game-title-text {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 15px;
}

.game-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
}

.game-button {
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-transform: none;
}

.game-button svg {
    width: 1em;
    height: 1em;
    margin-right: 8px;
}

/* Play for Real Button */
.game-button-real,
a.game-button-real {
    background: var(--accent-orange);
    color: white !important;
    border-color: var(--accent-orange);
    text-decoration: none !important;
}

.game-button-real:hover,
a.game-button-real:hover {
    background: #e67e22;
    border-color: #e67e22;
    transform: translateY(-1px);
}

/* Launch Demo Button */
.game-button-demo {
    background: transparent;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.game-button-demo:hover {
    background: var(--accent-orange);
    color: white;
}

/* Iframe */
#game-iframe {
    width: 100%;
    min-height: 500px;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
    border-radius: 6px;
}

/* Content Headings */
h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-gold);
}

h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 25px 0 12px;
    font-weight: 600;
}

/* Paragraphs */
p {
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Tables - Clean Design */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    background: var(--container-bg);
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}

table td, table th {
    border: 1px solid var(--border-light);
    padding: 2px 6px;
    text-align: left;
    vertical-align: top;
    line-height: 1.2;
}

table tr:nth-child(even) {
    background-color: #f8f9fa;
}

table th {
    background: var(--accent-gold);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

table td {
    color: var(--text-primary);
    font-size: 0.85rem;
}

table td strong {
    color: var(--accent-orange);
    font-weight: 600;
}

/* Introduction Section */
.introduction-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--accent-gold);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 3px 12px var(--shadow-light);
    position: relative;
}

.introduction-section::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    border-radius: 8px;
    z-index: -1;
    opacity: 0.1;
}

.introduction-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
    font-weight: 400;
    text-align: justify;
}

/* Content Images - Optimized for 900px Container */
.content-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px auto;
    display: block;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.content-image-small {
    max-width: 500px;
}

.content-image-float {
    float: right;
    max-width: 350px;
    margin: 0 0 20px 25px;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-style: italic;
}

.section-with-image {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin: 30px 0;
}

.section-text {
    flex: 1;
}

.section-image {
    flex: 0 0 350px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-compact {
        padding: 20px 0 15px 0;
    }
    
    .hero-compact h1 {
        font-size: 1.8rem;
    }
    
    .game-content-area {
        padding: 15px;
    }
    
    .game-action-buttons {
        max-width: 100%;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    table td, table th {
        padding: 1px 4px;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Image responsiveness */
    .section-with-image {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-image {
        flex: none;
    }
    
    .content-image-float {
        float: none;
        margin: 20px auto;
        max-width: 100%;
    }
    
    .content-image {
        max-width: 100%;
    }
    
    /* Introduction section mobile styles */
    .introduction-section {
        padding: 15px 20px;
        margin: 20px 0;
    }
    
    .introduction-section p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
    }
    
    /* FAQ section mobile styles */
    .faq-section {
        padding: 20px;
        margin: 30px 0;
    }
    
    .faq-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 15px 18px;
        line-height: 1.3;
    }
    
    .faq-answer {
        font-size: 0.95rem;
        padding: 15px 18px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-compact h1 {
        font-size: 1.6rem;
    }
    
    .hero-compact p {
        font-size: 1rem;
    }
    
    .game-action-buttons {
        flex-direction: column;
    }
}

/* Language Switcher Styles */
.language-switcher {
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-switcher-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.lang-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.lang-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.lang-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.lang-link:hover {
    background: var(--container-bg);
    border-color: var(--border-light);
    color: var(--text-primary);
}

.lang-link.active {
    background: var(--accent-gold);
    color: var(--text-primary);
    font-weight: 600;
}

/* FAQ Section Styles */
.faq-section {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 20px var(--shadow-light);
    position: relative;
}

.faq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    border-radius: 12px 12px 0 0;
}

.faq-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.faq-title::after {
    content: "❓";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    opacity: 0.7;
}

.faq-item {
    background: #f8f9fa;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 2px 8px var(--shadow-light);
    transform: translateY(-1px);
}

.faq-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-question {
    background: var(--container-bg);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    line-height: 1.4;
}

.faq-question::before {
    content: "Q:";
    color: var(--accent-orange);
    font-weight: 700;
    margin-right: 8px;
    font-size: 1rem;
}

.faq-answer {
    background: #f8f9fa;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding: 18px 20px;
    position: relative;
}

.faq-answer::before {
    content: "A:";
    color: var(--accent-gold);
    font-weight: 700;
    margin-right: 8px;
    font-size: 1rem;
}

.faq-answer strong {
    color: var(--accent-orange);
    font-weight: 600;
}

/* Footer Language Switcher */
.footer-language-switcher {
    background: #f8f9fa;
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-language-switcher .language-switcher-container {
    flex-direction: column;
    gap: 10px;
}

/* Responsive Language Switcher */
@media (max-width: 768px) {
    .language-switcher-container {
        font-size: 0.85rem;
    }
    
    .lang-options {
        justify-content: center;
    }
    
    .lang-link {
        padding: 3px 6px;
        font-size: 0.8rem;
    }
}

/* Image Modal Styles */
.content-image {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    margin: auto;
    display: block;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    user-select: none;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal-close {
        top: -35px;
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
    
    .modal-nav {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-caption {
        font-size: 0.95rem;
        padding: 8px 15px;
    }
}