/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Farbpalette - Hochwertig und harmonisch */
    --primary-orange: #FF8C42;
    --primary-green: #4CAF50;
    --primary-blue: #5DADE2;
    --accent-purple: #9B59B6;
    --accent-gold: #F39C12;

    --light-bg: #FFFFFF;
    --secondary-bg: #F8F9FA;
    --tertiary-bg: #E9ECEF;
    --premium-bg: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);

    --text-dark: #2C3E50;
    --text-gray: #6C757D;
    --text-light: #95A5A6;
    --text-premium: #34495E;

    --orange-light: #FFF5EE;
    --green-light: #F0F9F0;
    --blue-light: #F0F8FF;
    --orange-medium: #FFE5D4;
    --green-medium: #D4EDDA;

    --border-color: #E8E8E8;
    --border-premium: #D4D4D4;

    /* Premium Schatten - weicher und eleganter */
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.15);

    --body-gradient-start: #FAFAFA;
    --body-gradient-end: #FFFFFF;

    --hero-overlay: rgba(255, 255, 255, 0.92);

    /* Premium Abstände */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Verspielte Akzente */
    --accent-gradient: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    --premium-gradient: linear-gradient(135deg, #FFE5D4 0%, #D6EAF8 100%);
}

/* Dark Mode - Premium Edition */
[data-theme="dark"] {
    --light-bg: #0f0f0f;
    --secondary-bg: #1a1a1a;
    --tertiary-bg: #252525;
    --premium-bg: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);

    --text-dark: #E8E8E8;
    --text-gray: #B0B0B0;
    --text-light: #808080;
    --text-premium: #D0D0D0;

    --orange-light: rgba(255, 140, 66, 0.08);
    --green-light: rgba(76, 175, 80, 0.08);
    --blue-light: rgba(93, 173, 226, 0.08);
    --orange-medium: rgba(255, 140, 66, 0.15);
    --green-medium: rgba(76, 175, 80, 0.15);

    --border-color: #2a2a2a;
    --border-premium: #333333;

    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.7);
    --shadow-strong: 0 12px 32px rgba(0, 0, 0, 0.8);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.9);

    --body-gradient-start: #0a0a0a;
    --body-gradient-end: #151515;

    --hero-overlay: rgba(0, 0, 0, 0.80);

    --premium-gradient: linear-gradient(135deg, rgba(255, 140, 66, 0.15) 0%, rgba(93, 173, 226, 0.15) 100%);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--body-gradient-start) 0%, var(--body-gradient-end) 100%);
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* All white backgrounds use CSS variable */
.hero, .intro, .game-modes, .features-section, .cta-section,
.mode-card, .feature-item, .wiki-header, .wiki-content,
.category-section, .team-header, .team-card, .team-footer,
.comfarm-header, .comfarm-intro, .farm-card, .spawner-card,
.comfarm-gallery, .rule-card, .access-method,
.info-box, .server-ip-large, footer, .empty-state {
    background: var(--light-bg) !important;
}

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

/* Navigation */
.navbar {
    background: var(--light-bg);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-orange);
    position: relative;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

.nav-menu a:hover {
    background: var(--orange-light);
    color: var(--primary-orange);
}

.nav-menu a.active {
    background: var(--primary-orange);
    color: white;
}

.discord-link {
    background: linear-gradient(135deg, #5865F2, #4752C4) !important;
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
}

.discord-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

/* Body Lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Hero Section with Banner Image */
.hero {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.15), rgba(93, 173, 226, 0.15)),
                url('https://via.placeholder.com/1920x400/FF8C42/FFFFFF?text=BuilderCity+Server+Banner') center/cover;
    padding: 5rem 0;
    text-align: center;
    border-bottom: 3px solid var(--primary-orange);
    margin-bottom: 3rem;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-weight: 500;
}

.ip-box {
    background: white;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-orange);
    border: 3px solid var(--primary-orange);
    display: inline-block;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.ip-box:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* Spawn Image Section */
.spawn-showcase {
    margin: 3rem 0;
    text-align: center;
}

.spawn-image {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    margin: 2rem auto;
    display: block;
    object-fit: cover;
    border: 3px solid var(--primary-green);
}

/* Sections */
section {
    padding: 3rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.intro {
    background: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.intro p {
    font-size: 1.15rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    color: var(--text-gray);
}

/* Game Modes */
.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mode-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: url('rueb3.png') center/contain no-repeat;
    opacity: 0.3;
}

.mode-card.survival::before {
    background-image: url('rueb1.png');
}

.mode-card.citybuild::before {
    background-image: url('rueb2.png');
}

.mode-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.mode-card.survival {
    border-top: 5px solid var(--primary-orange);
}

.mode-card.survival:hover {
    border-color: var(--primary-orange);
    background: var(--orange-light);
}

.mode-card.citybuild {
    border-top: 5px solid var(--primary-green);
}

.mode-card.citybuild:hover {
    border-color: var(--primary-green);
    background: var(--green-light);
}

.mode-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.mode-card h3::before {
    content: "🎮 ";
}

.version-badge {
    background: var(--primary-blue);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mode-description {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.features {
    list-style: none;
    margin: 1.5rem 0;
}

.features li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.3rem;
}

.challenge {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: var(--blue-light);
    border-left: 4px solid var(--primary-blue);
    font-weight: 600;
    border-radius: 8px;
    color: var(--text-dark);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-orange);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.feature-item::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: url('rueb4.png') center/contain no-repeat;
    opacity: 0.25;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-item:nth-child(2n) {
    border-left-color: var(--primary-green);
}

.feature-item:nth-child(3n) {
    border-left-color: var(--primary-blue);
}

.feature-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.3rem;
}

.feature-item h3::before {
    content: "⭐ ";
}

/* Info Boxes (wie GrieferGames Wiki) */
.info-box {
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 5px solid;
}

.info-box.info {
    background: var(--blue-light);
    border-left-color: var(--primary-blue);
}

.info-box.warning {
    background: var(--orange-light);
    border-left-color: var(--primary-orange);
}

.info-box.success {
    background: var(--green-light);
    border-left-color: var(--primary-green);
}

.info-box strong {
    color: var(--text-dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--orange-light), var(--blue-light));
    padding: 4rem 0;
    text-align: center;
    margin: 3rem 0;
    border-radius: 15px;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), #FF6B35);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 3px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
}

.btn-info {
    background: var(--primary-blue);
    color: white;
}

.btn-danger {
    background: #E74C3C;
    color: white;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s;
}

.btn-small:hover {
    background: var(--primary-green);
}

.server-ip-large {
    background: white;
    padding: 1.5rem 3rem;
    border-radius: 12px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
    border: 4px solid var(--primary-orange);
    box-shadow: var(--shadow);
}

.community-note {
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Wiki Styles (nach GrieferGames-Vorbild) */
.wiki-container {
    min-height: 70vh;
    padding: 2rem 0;
}

.wiki-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.wiki-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.wiki-header h1::before {
    content: "📚 ";
}

.wiki-content {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-orange);
}

.wiki-actions,
.wiki-navigation {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.wiki-categories {
    margin-top: 2rem;
}

.category-section {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.category-section h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-orange);
    font-weight: 600;
}

.category-section h3::before {
    content: "📁 ";
}

.count {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 400;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.article-item {
    background: var(--secondary-bg);
    border-radius: 12px;
    padding: 1.8rem;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-orange);
}

.article-item a {
    text-decoration: none;
    color: var(--text-dark);
}

.article-item h4 {
    color: var(--primary-orange);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.article-item h4::before {
    content: "📄 ";
}

.article-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background: var(--secondary-bg);
    border-radius: 8px;
}

.wiki-article {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.category-badge {
    background: var(--primary-orange);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

.article-content {
    line-height: 1.9;
    font-size: 1.08rem;
    margin: 2rem 0;
    color: var(--text-dark);
}

.article-content h3 {
    color: var(--primary-orange);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Forms */
.wiki-form,
.team-form {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Logs */
.logs-list {
    margin-top: 2rem;
}

.log-entry {
    background: var(--secondary-bg);
    padding: 1.8rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary-blue);
    box-shadow: var(--shadow);
}

.log-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.log-user {
    font-weight: 600;
    color: var(--primary-orange);
    font-size: 1.05rem;
}

.log-user::before {
    content: "👤 ";
}

.log-action {
    background: var(--primary-blue);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.log-time {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.log-time::before {
    content: "🕒 ";
}

.log-content details {
    margin-top: 1rem;
}

.log-content summary {
    cursor: pointer;
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.log-content summary:hover {
    background: var(--blue-light);
}

.content-preview {
    margin-top: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    border: 2px solid var(--border-color);
}

/* Team Styles */
.team-container {
    min-height: 70vh;
    padding: 2rem 0;
}

.team-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
}

.team-header::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 35px;
    height: 35px;
    background: url('rueb2.png') center/contain no-repeat;
    opacity: 0.4;
}

.team-header::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: url('rueb4.png') center/contain no-repeat;
    opacity: 0.4;
}

.team-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.team-header h1::before {
    content: "👥 ";
}

.team-grid {
    margin-top: 2rem;
}

.role-section {
    margin-bottom: 3rem;
}

.role-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-green);
    font-weight: 600;
}

.role-title::before {
    content: "⭐ ";
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
    position: relative;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    background: url('rueb3.png') center/contain no-repeat;
    opacity: 0.2;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-orange);
}

.member-avatar {
    margin-bottom: 1.5rem;
}

.member-avatar img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 5px solid var(--primary-orange);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.team-card:hover .member-avatar img {
    border-color: var(--primary-green);
    transform: scale(1.1);
}

.member-info h3 {
    color: var(--text-dark);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-minecraft {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.member-description {
    margin: 1.2rem 0;
    line-height: 1.7;
    color: var(--text-dark);
}

.member-discord {
    color: #5865F2;
    font-size: 0.95rem;
    margin-top: 1rem;
    font-weight: 500;
}

.member-discord::before {
    content: "💬 ";
}

.member-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.team-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.team-footer .info-text {
    margin-top: 1.5rem;
    color: var(--text-gray);
}

/* Footer */
footer {
    background: white;
    border-top: 3px solid var(--primary-orange);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

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

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

.server-ip {
    background: var(--orange-light);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 700;
    border: 2px solid var(--primary-orange);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    color: var(--text-gray);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.empty-state p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Breadcrumbs (wie GrieferGames) */
.breadcrumbs {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--secondary-bg);
    border-radius: 8px;
}

.breadcrumbs a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-gray);
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .mode-grid,
    .features-grid,
    .articles-list,
    .members-grid {
        grid-template-columns: 1fr;
    }

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

    .server-ip-large {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .spawn-image {
        height: 250px;
    }
}

/* Com-Farm Styles */
.comfarm-container {
    min-height: 70vh;
    padding: 2rem 0;
}

.comfarm-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.comfarm-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.comfarm-header h1::before {
    content: "🌾 ";
}

.comfarm-intro {
    background: white;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-green);
}

.comfarm-intro h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.farms-overview {
    margin: 3rem 0;
}

.farms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.farm-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid var(--border-color);
    position: relative;
}

.farm-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: url('rueb4.png') center/contain no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.farm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.farm-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.farm-image.item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-bg), var(--light-bg));
    padding: 2rem;
}

.farm-image.item-image img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.farm-card:hover .farm-image img {
    transform: scale(1.1);
}

.farm-content {
    padding: 2rem;
}

.farm-content h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.farm-description {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 1.2rem;
}

.farm-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.farm-features li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.farm-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.farm-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.farm-status.active {
    background: var(--green-light);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.farm-status.maintenance {
    background: var(--orange-light);
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

/* Spawner Farmen */
.spawner-farms {
    margin: 3rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--secondary-bg), var(--light-bg));
}

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

.spawner-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.spawner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
    opacity: 0;
    transition: opacity 0.3s;
}

.spawner-card:hover::before {
    opacity: 1;
}

.spawner-card::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: url('rueb2.png') center/contain no-repeat;
    opacity: 0.1;
}

.spawner-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.spawner-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.spawner-card h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.spawner-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 2.5rem;
}

.spawner-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--green-light);
    color: var(--primary-green);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--primary-green);
}

.spawner-badge.special {
    background: var(--orange-light);
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

/* Galerie */
.comfarm-gallery {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    background: var(--secondary-bg);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-orange);
}

.gallery-item p {
    padding: 1rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 500;
}

/* Regeln */
.comfarm-rules {
    margin: 3rem 0;
}

.rules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rule-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-blue);
    position: relative;
}

.rule-card::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: url('rueb1.png') center/contain no-repeat;
    opacity: 0.15;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.rule-card:nth-child(2n) {
    border-top-color: var(--primary-orange);
}

.rule-card:nth-child(3n) {
    border-top-color: var(--primary-green);
}

.rule-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.rule-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.rule-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Zugang/Anfahrt */
.comfarm-access {
    margin: 3rem 0;
}

.access-box {
    background: linear-gradient(135deg, var(--green-light), var(--blue-light));
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.access-box h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.access-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.access-method {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.access-method h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.access-method p {
    color: var(--text-gray);
    margin: 0.5rem 0;
    line-height: 1.6;
}

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

.warp-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 2px solid var(--border-color);
    position: relative;
}

.warp-card::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: url('rueb3.png') center/contain no-repeat;
    opacity: 0.15;
}

.warp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.warp-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.warp-card p {
    color: var(--text-gray);
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.command {
    display: block;
    background: var(--secondary-bg);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 1rem 0;
    border: 2px solid var(--border-color);
}

/* Com-Farm CTA */
.comfarm-cta {
    background: linear-gradient(135deg, var(--orange-light), var(--green-light));
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.comfarm-cta h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.comfarm-cta p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Animationen */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mode-card,
.feature-item,
.article-item,
.team-card,
.farm-card,
.gallery-item,
.rule-card,
.spawner-card {
    animation: fadeIn 0.5s ease-out;
}

/* Dark Mode Toggle */
.theme-toggle {
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.theme-toggle:hover {
    background: var(--tertiary-bg);
    transform: scale(1.05);
}

.theme-toggle .icon {
    transition: transform 0.3s ease;
}

.theme-toggle:hover .icon {
    transform: rotate(20deg);
}

/* Fixed Dark Mode Toggle Button */
.theme-toggle-fixed {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    box-shadow: var(--shadow-hover);
    z-index: 9999;
    color: var(--text-dark);
}

.theme-toggle-fixed:hover {
    background: var(--tertiary-bg);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.theme-toggle-fixed .icon {
    transition: transform 0.3s ease;
}

.theme-toggle-fixed:hover .icon {
    transform: rotate(180deg);
}

/* ============================================
   PREMIUM HOMEPAGE STYLES
   Hochwertig, Elegant, Verspielt, Detailverliebt
   ============================================ */

/* Hero Section - Premium Edition */
.hero {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.08), rgba(93, 173, 226, 0.08)),
                url('https://via.placeholder.com/1920x800/FAFAFA/FFFFFF?text=BuilderCity') center/cover;
    padding: 0;
    margin: 0;
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 140, 66, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(93, 173, 226, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-overlay);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--orange-light);
    color: var(--primary-orange);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    border: 2px solid var(--orange-medium);
    box-shadow: var(--shadow-soft);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
    line-height: 1.1;
}

.hero-welcome {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero-brand {
    display: block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 0.2rem 0;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: var(--text-premium);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    font-style: italic;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
    margin: var(--spacing-md) auto;
    border-radius: 3px;
}

.ip-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ip-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.ip-box {
    background: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange);
    border: 3px solid var(--primary-orange);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ip-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.ip-box:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.ip-box:hover::before {
    left: 100%;
}

.ip-status {
    color: var(--primary-green);
    font-size: 1rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.hero-scroll-indicator {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 1.5rem;
}

/* Section Intro - Premium Style */
.section-intro {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-md);
}

.section-intro.centered {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--premium-gradient);
    color: var(--primary-orange);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    border: 2px solid var(--border-premium);
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 700px;
    margin: var(--spacing-sm) auto 0;
}

/* Spawn Showcase - Elegant */
.spawn-showcase {
    padding: var(--spacing-xl) 0;
    background: var(--light-bg);
}

.spawn-image-wrapper {
    position: relative;
    max-width: 1100px;
    margin: var(--spacing-lg) auto 0;
}

.spawn-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.spawn-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.image-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary-orange);
    border-radius: 12px;
    opacity: 0.3;
}

.image-decoration.top-left {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
}

.image-decoration.bottom-right {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
}

/* Intro Grid - Mit Stats */
.intro {
    background: var(--premium-bg);
    padding: var(--spacing-xl) 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.intro-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-premium);
    margin-bottom: var(--spacing-sm);
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.stat-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-orange);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

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

/* Gamemode Detail Sections - Premium */
.gamemode-detail {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.gamemode-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 140, 66, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.survival-detail {
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--light-bg) 100%);
}

.cb1-detail {
    background: var(--light-bg);
}

.cb2-detail {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--blue-light) 100%);
}

.cb3-detail {
    background: var(--light-bg);
}

.cbred-detail {
    background: linear-gradient(135deg, var(--orange-light) 0%, rgba(231, 76, 60, 0.05) 100%);
}

.gamemode-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.gamemode-content.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.gamemode-header {
    margin-bottom: var(--spacing-md);
}

.mode-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.survival-badge {
    background: linear-gradient(135deg, var(--primary-orange), #FF6B35);
    color: white;
}

.cb-badge {
    background: linear-gradient(135deg, var(--primary-green), #45A049);
    color: white;
}

.cb-badge.special {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
}

.cb-badge.redstone {
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: white;
}

.gamemode-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.version-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--secondary-bg);
    color: var(--text-gray);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-premium);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

/* Highlight Box - Das Besondere */
.highlight-box {
    background: white;
    border-radius: 16px;
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-left: 5px solid var(--primary-orange);
    box-shadow: var(--shadow);
    display: flex;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.highlight-box.special {
    border-left-color: var(--primary-blue);
    background: linear-gradient(135deg, white, var(--blue-light));
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.highlight-box.special .highlight-content h4 {
    color: var(--primary-blue);
}

.highlight-content p {
    color: var(--text-premium);
    line-height: 1.7;
    font-size: 1rem;
}

/* Features Elegant */
.features-elegant {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.feature-elegant {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    padding: var(--spacing-sm);
    background: var(--secondary-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-elegant:hover {
    background: white;
    transform: translateX(8px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature-elegant h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

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

/* Image Frame - Elegant */
.gamemode-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-frame:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: var(--shadow-hover);
}

.image-frame.special {
    border: 3px solid var(--primary-blue);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

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

/* Frame Corners - Verspielte Details */
.frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-orange);
    opacity: 0;
    transition: all 0.3s ease;
}

.image-frame:hover .frame-corner {
    opacity: 0.6;
}

.frame-corner.tl {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.frame-corner.tr {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
}

.frame-corner.bl {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
}

.frame-corner.br {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

/* Features Premium Grid */
.features-premium {
    padding: var(--spacing-xl) 0;
    background: var(--secondary-bg);
}

.features-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-premium {
    background: white;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-premium:hover::before {
    transform: scaleX(1);
}

.feature-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-orange);
}

.feature-premium-icon {
    width: 80px;
    height: 80px;
    background: var(--premium-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-premium:hover .feature-premium-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-premium h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.feature-premium p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

/* CTA Premium */
.cta-premium {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--blue-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-premium::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(93, 173, 226, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-decoration {
    width: 100px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 0 auto var(--spacing-md);
    border-radius: 3px;
}

.cta-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: white;
    color: var(--primary-orange);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    border: 2px solid var(--primary-orange);
    box-shadow: var(--shadow-soft);
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.cta-content > p {
    font-size: 1.2rem;
    color: var(--text-premium);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.btn-primary-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-orange), #FF6B35);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-premium:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.btn-icon {
    font-size: 1.3rem;
}

.server-ip-premium {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    background: white;
    border-radius: 16px;
    border: 3px solid var(--primary-orange);
    box-shadow: var(--shadow-medium);
}

.ip-label-small {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.ip-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    font-family: 'Courier New', monospace;
}

.community-note {
    margin-top: var(--spacing-lg);
    font-size: 0.95rem;
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.7;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design - Premium */
@media (max-width: 1024px) {
    .gamemode-content,
    .gamemode-content.reverse {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .features-premium-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary-premium,
    .server-ip-premium {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   SCROLL ANIMATIONS & ATMOSPHÄRE
   Fesselndes Scroll-Erlebnis
   ============================================ */

/* Scroll Reveal Animationen */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Rüben-Dekorationen - Dezent und verspielt */
.ruebe-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
    transition: all 0.5s ease;
}

.ruebe-decoration.float {
    animation: floatRuebe 6s ease-in-out infinite;
}

.ruebe-decoration.rotate {
    animation: rotateRuebe 12s linear infinite;
}

@keyframes floatRuebe {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes rotateRuebe {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Parallax Hintergrund-Effekte */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(255, 140, 66, 0.05) 0%, 
                transparent 50%);
    transition: background 0.3s ease;
}

/* Gradient Overlays beim Scrollen */
.section-gradient-overlay {
    position: relative;
    overflow: hidden;
}

.section-gradient-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% {
        opacity: 0.02;
        transform: scale(1);
    }
    50% {
        opacity: 0.05;
        transform: scale(1.1);
    }
}

/* Interaktive Hover-Bereiche */
.interactive-area {
    position: relative;
    transition: all 0.3s ease;
}

.interactive-area::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--accent-gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.interactive-area:hover::after {
    opacity: 0.3;
}

/* Stagger Animation für Listen */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerIn 0.5s ease-out forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow-Effekte */
.glow-on-hover {
    position: relative;
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    filter: drop-shadow(0 0 20px rgba(255, 140, 66, 0.3));
}

/* Shimmer-Effekt für besondere Elemente */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Gradient Text Animation */
.gradient-text-animated {
    background: linear-gradient(
        90deg,
        var(--primary-orange),
        var(--primary-green),
        var(--primary-blue),
        var(--primary-orange)
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Breathing Animation für Call-to-Actions */
.breathing {
    animation: breathing 4s ease-in-out infinite;
}

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

/* Particle Effect Hintergrund */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Smooth Section Transitions */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--light-bg), transparent);
    opacity: 0.5;
    pointer-events: none;
}

section:first-of-type::before {
    display: none;
}

/* Loading Skeleton Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--secondary-bg) 0px,
        var(--tertiary-bg) 40px,
        var(--secondary-bg) 80px
    );
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* Micro-Interactions */
.micro-bounce {
    transition: transform 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.micro-bounce:active {
    transform: scale(0.95);
}

/* Navbar Scroll Shadow */
.navbar.scrolled {
    box-shadow: var(--shadow-medium);
}

/* Progress Bar beim Scrollen */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Wiki Search Styles */
.wiki-search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.wiki-search-wrapper {
    position: relative;
}

.wiki-search-input {
    width: 100%;
    padding: 1.2rem 3.5rem 1.2rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: white;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.wiki-search-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-medium), 0 0 0 4px rgba(255, 140, 66, 0.1);
    transform: translateY(-2px);
}

.wiki-search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1.3rem;
    pointer-events: none;
}

.wiki-search-results {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.wiki-search-results.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.search-result-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--orange-light);
    padding-left: 2rem;
}

.search-result-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.search-result-excerpt {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.search-result-category {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: var(--primary-orange);
    color: white;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.no-results {
    padding: 2rem;
    text-align: center;
    color: var(--text-gray);
}

/* Enhanced Rüben Integration */
.section-with-rueben {
    position: relative;
}

.section-with-rueben .ruebe-top-left {
    top: 2rem;
    left: 2rem;
}

.section-with-rueben .ruebe-top-right {
    top: 2rem;
    right: 2rem;
}

.section-with-rueben .ruebe-bottom-left {
    bottom: 2rem;
    left: 2rem;
}

.section-with-rueben .ruebe-bottom-right {
    bottom: 2rem;
    right: 2rem;
}

/* Mobile Anpassungen für Animationen */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .ruebe-decoration {
        width: 30px;
        height: 30px;
    }

    .particles {
        display: none;
    }

    /* Mobile Navigation */
    .navbar {
        padding: 0.8rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--light-bg);
        box-shadow: var(--shadow-strong);
        transition: left 0.3s ease;
        padding: 1rem 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0 !important;
    }

    .nav-menu a:hover::after,
    .nav-menu a.active::after {
        display: none;
    }

    .discord-link {
        border-radius: 0 !important;
    }

    /* Mobile Typography */
    body {
        font-size: 0.95rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Mobile Spacing */
    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Mobile Hero */
    .hero {
        min-height: 60vh;
        padding: 2rem 0;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .ip-box {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
    }

    .ip-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    /* Mobile Gamemode Sections */
    .gamemode-content,
    .gamemode-content.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gamemode-text,
    .gamemode-image {
        order: unset;
    }

    .gamemode-content.reverse .gamemode-image {
        order: -1;
    }

    .highlight-box {
        flex-direction: column;
        padding: 1.5rem;
    }

    .highlight-icon {
        font-size: 2rem;
    }

    /* Mobile Features */
    .features-premium-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-premium {
        padding: 1.5rem;
    }

    .feature-premium-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    /* Mobile Stats */
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Mobile CTA */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn-primary-premium,
    .server-ip-premium {
        width: 100%;
        justify-content: center;
    }

    /* Mobile Spawn Showcase */
    .spawn-image-wrapper {
        margin: 2rem 1rem;
    }

    .spawn-image {
        max-height: 300px;
    }

    .image-decoration {
        width: 60px;
        height: 60px;
    }

    /* Mobile Wiki */
    .wiki-search-input {
        font-size: 1rem;
        padding: 1rem 3rem 1rem 1rem;
    }

    .wiki-categories {
        gap: 2rem;
    }

    .category-section h3 {
        font-size: 1.5rem;
    }

    .article-item {
        padding: 1.2rem;
    }

    .article-item h4 {
        font-size: 1.1rem;
    }

    .article-item p {
        font-size: 0.9rem;
    }

    /* Mobile Wiki Content */
    .wiki-content {
        padding: 1.5rem;
    }

    .wiki-form .form-group label {
        font-size: 0.95rem;
    }

    .wiki-form input,
    .wiki-form textarea,
    .wiki-form select {
        font-size: 1rem;
    }

    /* Mobile Team */
    .team-grid {
        gap: 2rem;
    }

    .members-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .member-avatar {
        width: 80px;
        height: 80px;
    }

    .role-title {
        font-size: 1.8rem;
    }

    /* Mobile ComFarm */
    .farms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .farm-card {
        padding: 1.5rem;
    }

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

    .spawner-card {
        padding: 1.2rem;
    }

    .spawner-icon {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rules-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .warp-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Mobile Forms */
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .form-actions .btn {
        width: 100%;
    }

    /* Mobile Buttons */
    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }

    /* Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section ul {
        padding: 0;
    }

    /* Mobile Rüben Positionen */
    .section-with-rueben .ruebe-top-left,
    .section-with-rueben .ruebe-bottom-left {
        left: 0.5rem;
    }

    .section-with-rueben .ruebe-top-right,
    .section-with-rueben .ruebe-bottom-right {
        right: 0.5rem;
    }

    .section-with-rueben .ruebe-top-left,
    .section-with-rueben .ruebe-top-right {
        top: 0.5rem;
    }

    .section-with-rueben .ruebe-bottom-left,
    .section-with-rueben .ruebe-bottom-right {
        bottom: 0.5rem;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet Navigation */
    .nav-menu {
        gap: 1.5rem;
    }

    /* Tablet Container */
    .container {
        padding: 0 2rem;
    }

    /* Tablet Gamemode Sections */
    .gamemode-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .gamemode-content.reverse .gamemode-image {
        order: -1;
    }

    /* Tablet Features */
    .features-premium-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Tablet Stats */
    .intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* Tablet Team */
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Tablet ComFarm */
    .farms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .spawner-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

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

    .rules-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    /* Tablet Wiki */
    .wiki-categories {
        gap: 3rem;
    }

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

    /* Tablet CTA */
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* Small Mobile Devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .ip-box {
        font-size: 1.1rem;
        padding: 0.7rem 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .spawner-grid {
        grid-template-columns: 1fr;
    }

    .feature-premium-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

/* Landscape Mode für Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 90vh;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .spawner-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* Touch-Optimierung */
@media (hover: none) and (pointer: coarse) {
    /* Größere Touch-Targets */
    .btn {
        min-height: 48px;
        padding: 1rem 2rem;
    }

    .nav-menu a {
        min-height: 48px;
        padding: 1.2rem;
    }

    .article-item {
        min-height: 80px;
    }

    .team-card,
    .farm-card,
    .spawner-card,
    .rule-card,
    .warp-card {
        min-height: 60px;
    }

    /* Remove Hover Effects auf Touch-Geräten */
    .feature-premium:hover,
    .team-card:hover,
    .farm-card:hover,
    .stat-card:hover {
        transform: none;
    }

    /* Bessere Touch-Feedback */
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .article-item:active,
    .team-card:active,
    .farm-card:active {
        opacity: 0.95;
    }
}
