:root {
    --primary-color: #4CAF50;
    --text-color: #333;
    --bg-color: #fff;
    --header-bg: #fff;
    --footer-bg: #f5f5f5;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --link-color: #4CAF50;
    --link-hover: #45a049;
}

[data-theme="dark"] {
    --primary-color: #66BB6A;
    --text-color: #fff;
    --bg-color: #1a1a1a;
    --header-bg: #2d2d2d;
    --footer-bg: #2d2d2d;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --link-color: #66BB6A;
    --link-hover: #81C784;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 4px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

/* Language Switcher */
.language-dropdown {
    position: relative;
}

.language-select {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: var(--text-color);
}

.flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--header-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    display: none;
    min-width: 150px;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.language-dropdown:hover .language-options {
    display: block;
}

.language-options button {
    width: 100%;
    padding: 0.5rem;
    border: none;
    background: none;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.language-options button:hover {
    background-color: var(--bg-color);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: color 0.3s;
}

.theme-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Privacy Content Styles */
.privacy-content {
    padding: 2rem 0;
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.game-logo {
    width: 150px;
    height: auto;
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.privacy-header h1 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.privacy-section {
    background-color: var(--header-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.privacy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-subsection {
    margin-bottom: 2rem;
}

.privacy-subsection h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-subsection p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.privacy-note {
    background-color: var(--bg-color);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 4px 4px 0;
}

.privacy-note ul {
    list-style-position: inside;
    margin-top: 0.5rem;
}

.privacy-note li {
    margin-bottom: 0.5rem;
}

.update-date {
    font-style: italic;
    color: var(--text-color);
    opacity: 0.8;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--link-hover);
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-color);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 0;
    }
    .logo {
        margin-right: auto;
    }
    .mobile-header-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0;
        margin: 0;
        padding: 0;
        margin-right: 0.5rem;
    }
    .mobile-menu-btn {
        display: block;
        font-size: 2rem;
        margin: 0;
        padding: 0;
        align-self: center;
        margin-right: 0.5rem;
    }
    .mobile-header-actions .language-select,
    .mobile-header-actions .theme-toggle {
        margin: 0;
        padding: 0.5rem 0.5rem;
    }
    .mobile-header-actions .language-options {
        position: absolute;
        top: 110%;
        right: 0;
        background: var(--header-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        box-shadow: 0 4px 12px var(--shadow-color);
        min-width: 150px;
        padding: 0.5rem;
        display: none;
        z-index: 3000;
    }
    .mobile-header-actions .language-options button {
        width: 100%;
        padding: 0.5rem;
        border: none;
        background: none;
        color: var(--text-color);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: background-color 0.3s;
        border-radius: 6px;
    }
    .mobile-header-actions .language-options button:hover {
        background-color: var(--bg-color);
    }
    .mobile-nav {
        display: none;
        position: fixed;
        top: 56px;
        right: 0;
        width: 70vw;
        max-width: 220px;
        height: auto;
        min-height: 0;
        background: var(--header-bg);
        box-shadow: -2px 0 16px var(--shadow-color);
        border-radius: 0 0 0 0;
        padding: 0.7rem 0.5rem 0.7rem 1rem;
        z-index: 2000;
        transition: transform 0.3s ease;
        transform: translateX(100%);
    }
    .mobile-nav.active {
        display: block;
        transform: translateX(0);
    }
    .mobile-nav ul {
        flex-direction: column;
        gap: 0.7rem;
        margin: 0;
        padding: 0;
    }
    .mobile-nav li {
        width: 100%;
    }
    .mobile-nav a {
        font-size: 1.1rem;
        padding: 0.7rem 0.5rem;
        width: 100%;
        border-radius: 8px;
        background: none;
        border: none;
        color: var(--text-color);
        text-align: left;
        cursor: pointer;
        transition: background 0.2s;
        display: flex;
        align-items: center;
        gap: 0.7rem;
    }
    .mobile-nav a:hover {
        background: var(--bg-color);
    }
    .mobile-nav .language-options {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: none;
        min-width: unset;
        padding: 0;
        margin-top: 0.5rem;
    }
    .mobile-nav .language-options button {
        font-size: 1.1rem;
        padding: 0.7rem 1rem;
        border-radius: 6px;
        background: var(--bg-color);
        margin-bottom: 0.3rem;
        color: var(--text-color);
        width: 100%;
        text-align: left;
    }
    .mobile-nav .language-options button:hover {
        background: var(--primary-color);
        color: #fff;
    }
    .privacy-header h1 {
        font-size: 1.5rem;
    }
    .privacy-section {
        padding: 1.5rem;
    }
    .privacy-section h2 {
        font-size: 1.3rem;
    }
    .privacy-subsection h3 {
        font-size: 1.1rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 10px;
    background: var(--header-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    z-index: 2000;
    min-width: 200px;
    padding: 1rem 0.5rem;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav li {
    width: 100%;
}

.mobile-nav a, .mobile-nav button.theme-toggle {
    color: var(--text-color);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-nav a:hover, .mobile-nav button.theme-toggle:hover {
    background: var(--bg-color);
}

.mobile-nav.active {
    display: block;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-nav {
        display: none;
    }
    .mobile-nav.active {
        display: block;
    }
}

.mobile-only {
    display: none;
}
@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .desktop-nav {
        margin-left: auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .desktop-nav ul {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 1rem;
    }
} 