/* ==========================================
   Wedat2 - Modern MMORPG Web Sitesi
   Doğu Temalı Tasarım
   ========================================== */

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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --tertiary-bg: #2a2a2a;
    --gold: #d4af37;
    --gold-light: #e8c547;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #3a3a3a;
    --red-accent: #8b1a1a;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* ==================== BANNER ==================== */
.banner {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--red-accent) 100%);
    border-bottom: 3px solid var(--gold);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-logo h1 {
    font-size: 2rem;
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.banner-logo p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.banner-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--gold);
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==================== MAIN LAYOUT ==================== */
.main-layout {
    display: flex;
    min-height: calc(100vh - 200px);
    max-width: 1400px;
    margin: 0 auto;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    width: 250px;
    background-color: var(--secondary-bg);
    border-right: 2px solid var(--gold);
    padding: 2rem 0;
    overflow-y: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}

.sidebar-item:hover {
    background-color: var(--tertiary-bg);
    color: var(--gold);
}

.sidebar-item.active {
    background-color: var(--tertiary-bg);
    color: var(--gold);
    border-left-color: var(--gold);
}

.sidebar-item .icon {
    font-size: 1.3rem;
}

.sidebar-item .label {
    flex: 1;
    text-align: left;
}

.sidebar-stats {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: bold;
}

/* ==================== CONTENT AREA ==================== */
.content {
    flex: 1;
    padding: 2rem;
    background-color: var(--primary-bg);
    overflow-y: auto;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    max-width: 1000px;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.gold-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    margin-bottom: 2rem;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    margin-bottom: 3rem;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid var(--gold);
    margin-bottom: 2rem;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(139, 26, 26, 0.5) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

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

/* ==================== BUTTONS ==================== */
.game-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.game-button {
    background-color: var(--gold);
    color: var(--primary-bg);
}

.game-button:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.game-button.secondary {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.game-button.secondary:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    margin-bottom: 3rem;
}

.features-section h3 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 2rem;
}

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

.feature-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--gold);
    padding: 1.5rem;
    border-radius: 0.3rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: var(--tertiary-bg);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.feature-card h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    margin-bottom: 3rem;
}

.stats-section h3 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 2rem;
}

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

.stat-box {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    border-radius: 0.3rem;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background-color: var(--tertiary-bg);
    border-color: var(--gold);
}

.stat-number {
    display: block;
    font-size: 2rem;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-name {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== CHARACTERS SECTION ==================== */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.character-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.3rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
}

.character-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(139, 26, 26, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.character-card:hover .character-image img {
    transform: scale(1.05);
}

.character-card h4 {
    color: var(--gold);
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.character-card p {
    color: var(--text-secondary);
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==================== GALLERY SECTION ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.3rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--gold);
}

.gallery-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--tertiary-bg) 0%, var(--secondary-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

.gallery-item p {
    padding: 1rem;
    color: var(--gold);
    text-align: center;
    font-size: 0.95rem;
}

/* ==================== ABOUT CONTENT ==================== */
.about-content {
    line-height: 1.8;
}

.about-content h3 {
    color: var(--gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.feature-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ==================== GUIDE CONTENT ==================== */
.guide-content {
    line-height: 1.8;
}

.guide-content h3 {
    color: var(--gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.guide-content h4 {
    color: var(--gold-light);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.guide-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--secondary-bg);
    border-top: 2px solid var(--gold);
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .banner-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-layout {
        flex-direction: column;
        min-height: auto;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--gold);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .sidebar.open {
        max-height: 500px;
        padding: 2rem 0;
    }

    .content {
        padding: 1rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .hero-image-wrapper {
        height: 250px;
    }

    .hero-overlay h2 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .banner-logo h1 {
        font-size: 1.5rem;
    }

    .features-grid,
    .characters-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .game-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .banner-container {
        padding: 0 0.5rem;
    }

    .banner-logo h1 {
        font-size: 1.2rem;
    }

    .banner-logo p {
        font-size: 0.7rem;
    }

    .content {
        padding: 0.5rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}


/* ==================== DOWNLOAD SECTION ==================== */
.download-section {
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.download-buttons .game-button {
    flex: 1;
    min-width: 150px;
}

.download-section h3 {
    color: var(--gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.requirement-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--gold);
    padding: 1.5rem;
    border-radius: 0.3rem;
}

.requirement-card h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.requirement-card ul {
    list-style: none;
}

.requirement-card li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.requirement-card li:last-child {
    border-bottom: none;
}

.ranking-section {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 0.3rem;
}

.ranking-list {
    list-style: decimal;
    margin-left: 1.5rem;
}

.ranking-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.ranking-list strong {
    color: var(--gold);
}

/* ==================== REGISTER SECTION ==================== */
.register-section {
    line-height: 1.8;
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.register-form,
.login-panel {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 0.3rem;
}

.register-form h3,
.login-panel h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0.3rem;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin-bottom: 0;
    display: inline;
}

.register-form .game-button {
    width: 100%;
    margin-top: 1rem;
}

.login-panel .game-button {
    width: 100%;
    margin-top: 1rem;
}

.forgot-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.forgot-links a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-links a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* ==================== RESPONSIVE DESIGN - REGISTER ==================== */
@media (max-width: 1024px) {
    .register-container {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-buttons .game-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .register-form,
    .login-panel {
        padding: 1.5rem;
    }

    .register-form h3,
    .login-panel h3 {
        font-size: 1.1rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}


/* ==================== RANKING SECTION ==================== */
.ranking-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.ranking-tab {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.ranking-tab:hover {
    color: var(--gold);
}

.ranking-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.ranking-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.ranking-content.active {
    display: block;
}

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

.ranking-content h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.ranking-list {
    list-style: none;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.3rem;
    overflow: hidden;
}

.ranking-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: background-color 0.3s ease;
}

.ranking-list li:last-child {
    border-bottom: none;
}

.ranking-list li:hover {
    background-color: var(--tertiary-bg);
}

.ranking-list li::before {
    content: counter(item);
    counter-increment: item;
    color: var(--gold);
    font-weight: bold;
    margin-right: 1rem;
    min-width: 2rem;
}

.ranking-list .rank-name {
    color: var(--gold);
    font-weight: 600;
    flex: 1;
}

.ranking-list .rank-level {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==================== LOGIN SECTION ==================== */
.login-section {
    line-height: 1.8;
}

.login-form {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 0.3rem;
    max-width: 500px;
    margin: 0 auto;
}

.login-form h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.login-form .game-button {
    width: 100%;
    margin-top: 1rem;
}

.forgot-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.forgot-links a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-links a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* ==================== REGISTER SECTION ==================== */
.register-section {
    line-height: 1.8;
}

.register-form {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 0.3rem;
    max-width: 600px;
    margin: 0 auto;
}

.register-form h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--tertiary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0.3rem;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin-bottom: 0;
    display: inline;
}

.register-form .game-button {
    width: 100%;
    margin-top: 1rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .ranking-tabs {
        flex-wrap: wrap;
    }

    .ranking-tab {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .ranking-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .ranking-list .rank-level {
        align-self: flex-end;
    }

    .register-form,
    .login-form {
        padding: 1.5rem;
    }

    .register-form h3,
    .login-form h3 {
        font-size: 1.1rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .ranking-tab {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
}
