/* ========================================
   Piggy Riches Casino - Hauptstylesheet
   Farben: Rot-Gelb mit rosa Schweinen
   ======================================== */

:root {
    --primary-red: #C41E3A;
    --primary-gold: #FFD700;
    --dark-red: #8B0000;
    --light-gold: #FFF8DC;
    --pink: #FFB6C1;
    --dark-pink: #FF69B4;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-cream: #FFFEF0;
    --shadow: rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   HEADER
   ======================================== */

.header {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 50%, var(--dark-red) 100%);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow);
    border-bottom: 3px solid var(--primary-gold);
}

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

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

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--primary-gold);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px var(--shadow);
}

.logo-text span {
    color: var(--pink);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    background: var(--primary-gold);
    color: var(--dark-red);
    transform: translateY(-2px);
}

.nav a.active {
    background: var(--primary-gold);
    color: var(--dark-red);
}

/* ========================================
   HERO BANNER
   ======================================== */

.hero {
    margin-top: 80px;
    min-height: 600px;
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 50%, var(--dark-red) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-banner.jpg') center/cover;
    opacity: 0.3;
}

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

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-gold);
    text-shadow: 3px 3px 6px var(--shadow);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #FFA500 100%);
    color: var(--dark-red);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}

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

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--dark-red);
    transform: translateY(-3px);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

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

/* ========================================
   FLOATING PIGS ANIMATION
   ======================================== */

.floating-pig {
    position: fixed;
    width: 80px;
    height: 80px;
    z-index: 999;
    pointer-events: none;
    animation: float 15s infinite ease-in-out;
}

.floating-pig:nth-child(1) {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.floating-pig:nth-child(2) {
    top: 60%;
    right: 5%;
    animation-delay: 5s;
}

.floating-pig:nth-child(3) {
    top: 40%;
    left: 90%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(30px) rotate(-5deg);
    }
}

/* ========================================
   LIVE WIN TICKER
   ======================================== */

.win-ticker {
    background: linear-gradient(90deg, var(--dark-red), var(--primary-red), var(--dark-red));
    padding: 15px 0;
    overflow: hidden;
    border-top: 2px solid var(--primary-gold);
    border-bottom: 2px solid var(--primary-gold);
}

.ticker-content {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.ticker-item span {
    color: var(--pink);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   MAIN CONTENT
   ======================================== */

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

.section {
    margin-bottom: 60px;
}

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

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

/* ========================================
   TABLE OF CONTENTS
   ======================================== */

.toc {
    background: linear-gradient(135deg, var(--light-gold) 0%, #fff 100%);
    border: 3px solid var(--primary-gold);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.toc h3 {
    color: var(--dark-red);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

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

.toc li {
    margin-bottom: 10px;
}

.toc a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.toc a::before {
    content: '🐷';
}

.toc a:hover {
    color: var(--dark-red);
    transform: translateX(5px);
}

/* ========================================
   INFO BOXES
   ======================================== */

.info-box {
    background: linear-gradient(135deg, #fff 0%, var(--light-gold) 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-gold);
}

.info-box h2 {
    color: var(--dark-red);
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ========================================
   TABLES
   ======================================== */

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.data-table th {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
    color: var(--primary-gold);
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.data-table tr:hover {
    background: var(--light-gold);
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   SYMBOLS GRID
   ======================================== */

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

.symbol-card {
    background: linear-gradient(135deg, #fff 0%, var(--light-gold) 100%);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 3px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.symbol-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.symbol-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid var(--primary-gold);
}

.symbol-card h4 {
    color: var(--dark-red);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.symbol-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ========================================
   CASINO LIST
   ======================================== */

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

.casino-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.casino-card-header {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
    padding: 20px;
    color: var(--text-light);
}

.casino-card-body {
    padding: 25px;
}

.casino-card-body ul {
    list-style: none;
    margin-bottom: 20px;
}

.casino-card-body li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.casino-card-body li::before {
    content: '✓';
    color: var(--primary-red);
    font-weight: bold;
}

/* ========================================
   STEPS
   ======================================== */

.steps {
    counter-reset: step;
    margin: 40px 0;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #fff 0%, var(--light-gold) 100%);
    border-radius: 20px;
    border: 2px solid var(--primary-gold);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-red);
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--dark-red);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-content p {
    color: #555;
    line-height: 1.7;
}

/* ========================================
   FAQ
   ======================================== */

.faq {
    margin: 40px 0;
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-gold);
}

.faq-question {
    padding: 25px;
    background: linear-gradient(135deg, var(--light-gold) 0%, #fff 100%);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--dark-red);
    font-size: 1.1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-red);
}

.faq-answer {
    padding: 25px;
    display: none;
    line-height: 1.8;
}

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

.faq-item.active .faq-question::after {
    content: '-';
}

/* ========================================
   FEATURES GRID
   ======================================== */

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

.feature-card {
    background: linear-gradient(135deg, #fff 0%, var(--light-gold) 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    color: var(--dark-red);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-section h2 {
    color: var(--primary-gold);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--text-light);
    padding: 60px 0 30px;
    border-top: 4px solid var(--primary-gold);
}

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

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

.footer-section h4 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-section a::before {
    content: '→';
    color: var(--primary-red);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #888;
    margin-bottom: 15px;
}

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

.responsible-links a {
    color: var(--pink);
    text-decoration: none;
    font-weight: 600;
}

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

.age-restriction {
    display: inline-block;
    background: var(--primary-red);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 20px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .hero {
        margin-top: 120px;
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .toc ul {
        columns: 1;
    }
    
    .step {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .floating-pig {
        display: none;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

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

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-gold { color: var(--primary-gold); }
.text-red { color: var(--primary-red); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }
