/* Knight's Life - Hauptstylesheet */
:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #1a1f4b;
    --accent-blue: #2d3561;
    --gold-primary: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --text-white: #ffffff;
    --text-gray: #b8bcc8;
    --success-green: #28a745;
    --danger-red: #dc3545;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--accent-blue) 100%);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-primary);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--gold-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-banner.webp') center/cover no-repeat;
    filter: brightness(0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--gold-primary);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Win Ticker */
.win-ticker {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-dark));
    padding: 15px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.win-ticker-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-dark);
}

.win-amount {
    font-size: 1.5rem;
    color: var(--primary-dark);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    margin: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

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

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--primary-dark);
}

/* Pulsing Button */
.btn-pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    50% { 
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* Table of Contents */
.toc {
    background: rgba(26, 31, 75, 0.8);
    border: 1px solid var(--gold-primary);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.toc-title {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    text-align: center;
}

.toc-list {
    list-style: none;
    columns: 2;
    column-gap: 40px;
}

.toc-list li {
    margin-bottom: 10px;
    break-inside: avoid;
}

.toc-list a {
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.toc-list a::before {
    content: '⚔️';
}

.toc-list a:hover {
    color: var(--gold-primary);
}

/* Info Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(26, 31, 75, 0.6);
    border-radius: 10px;
    overflow: hidden;
}

.info-table th,
.info-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--accent-blue);
}

.info-table th {
    background: var(--gold-primary);
    color: var(--primary-dark);
    font-weight: bold;
}

.info-table tr:hover {
    background: rgba(45, 53, 97, 0.5);
}

/* Symbol Table */
.symbol-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.symbol-table th,
.symbol-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid var(--gold-primary);
}

.symbol-table th {
    background: var(--gold-primary);
    color: var(--primary-dark);
}

.symbol-table img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Pros & Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.pros-box,
.cons-box {
    background: rgba(26, 31, 75, 0.8);
    border-radius: 15px;
    padding: 30px;
}

.pros-box {
    border: 2px solid var(--success-green);
}

.cons-box {
    border: 2px solid var(--danger-red);
}

.pros-box h3 {
    color: var(--success-green);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.cons-box h3 {
    color: var(--danger-red);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.pros-box ul,
.cons-box ul {
    list-style: none;
}

.pros-box li::before {
    content: '✅ ';
}

.cons-box li::before {
    content: '❌ ';
}

.pros-box li,
.cons-box li {
    margin-bottom: 10px;
    color: var(--text-gray);
}

/* FAQ */
.faq-item {
    background: rgba(26, 31, 75, 0.8);
    border: 1px solid var(--accent-blue);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--gold-primary);
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(45, 53, 97, 0.5);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-gray);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

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

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--gold-primary);
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Steps List */
.steps-list {
    counter-reset: step;
    list-style: none;
}

.steps-list li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    min-height: 50px;
}

.steps-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--gold-primary);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: rgba(10, 14, 39, 0.95);
    border-top: 2px solid var(--gold-primary);
    padding: 60px 20px 30px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-contact p {
    margin-bottom: 10px;
    color: var(--text-gray);
}

.footer-contact a {
    color: var(--gold-primary);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--accent-blue);
    padding-top: 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
}

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

.copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero {
        margin-top: 120px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .toc-list {
        columns: 1;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    color: var(--gold-primary);
    font-weight: bold;
}

/* Play Page Specific */
.play-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.play-title {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 30px;
}

.play-message {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 40px;
}

/* Service Pages */
.service-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.service-content h2 {
    color: var(--gold-primary);
    margin: 30px 0 15px;
}

.service-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
}
