/* ============================================
   AYMS TTT REGELWERK - STYLESHEET
   ============================================
   Farben und Variablen findest du ganz oben.
   Einfach anpassen nach Belieben!
   ============================================ */

:root {
    /* === HAUPTFARBEN === */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    
    /* === AKZENTFARBEN === */
    --accent-red: #ff2d55;
    --accent-blue: #00d4ff;
    --accent-green: #00ff88;
    --accent-yellow: #ffcc00;
    --accent-purple: #9d4edd;
    
    /* === TEXTFARBEN === */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    
    /* === EFFEKTE === */
    --border-glow: rgba(0, 212, 255, 0.3);
    --gradient-red: linear-gradient(135deg, #ff2d55, #ff6b6b);
    --gradient-blue: linear-gradient(135deg, #00d4ff, #0099ff);
    --gradient-green: linear-gradient(135deg, #00ff88, #00cc6a);
}

/* ============================================
   RESET & GRUNDLAGEN
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   ANIMIERTER HINTERGRUND
   ============================================ */

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    top: -200px;
    right: -200px;
    background: var(--accent-red);
    animation: floatGlow 20s ease-in-out infinite;
}

.bg-glow-2 {
    bottom: -200px;
    left: -200px;
    background: var(--accent-blue);
    animation: floatGlow 25s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    padding: 0 2rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.logo span {
    font-size: 0.7rem;
    display: block;
    letter-spacing: 6px;
    background: var(--text-secondary);
    -webkit-background-clip: text;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

/* === JOIN BUTTON === */
.join-btn {
    background: linear-gradient(135deg, var(--accent-green), #00cc6a) !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 8px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, #00ff88, #00e676) !important;
}

.join-btn::after {
    display: none !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-blue);
    letter-spacing: 3px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* === HERO JOIN BUTTON === */
.hero-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-green), #00cc6a);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-join-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.6);
}

.hero-join-btn svg {
    width: 24px;
    height: 24px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--text-muted);
}

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

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

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

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

main {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    margin-bottom: 5rem;
    scroll-margin-top: 100px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.section-icon.red { 
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.2), rgba(255, 45, 85, 0.05)); 
    border: 1px solid rgba(255, 45, 85, 0.3); 
}

.section-icon.blue { 
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.05)); 
    border: 1px solid rgba(0, 212, 255, 0.3); 
}

.section-icon.green { 
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05)); 
    border: 1px solid rgba(0, 255, 136, 0.3); 
}

.section-icon.yellow { 
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), rgba(255, 204, 0, 0.05)); 
    border: 1px solid rgba(255, 204, 0, 0.3); 
}

.section-icon.purple { 
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(157, 78, 221, 0.05)); 
    border: 1px solid rgba(157, 78, 221, 0.3); 
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title span {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

/* ============================================
   RULES LIST
   ============================================ */

.rules-list {
    list-style: none;
}

.rules-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

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

.rules-list li:hover {
    color: var(--text-primary);
    padding-left: 0.5rem;
}

.rule-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.rule-number.red { 
    color: var(--accent-red); 
    background: rgba(255, 45, 85, 0.1); 
}

.rule-number.green { 
    color: var(--accent-green); 
    background: rgba(0, 255, 136, 0.1); 
}

.rule-number.yellow { 
    color: var(--accent-yellow); 
    background: rgba(255, 204, 0, 0.1); 
}

/* ============================================
   ROLE CARDS
   ============================================ */

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

.role-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.role-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.role-card:hover::after {
    opacity: 1;
}

.role-card.innocent {
    border-color: rgba(0, 255, 136, 0.2);
}

.role-card.innocent:hover {
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.15);
}

.role-card.traitor {
    border-color: rgba(255, 45, 85, 0.2);
}

.role-card.traitor:hover {
    box-shadow: 0 0 40px rgba(255, 45, 85, 0.15);
}

.role-card.detective {
    border-color: rgba(0, 212, 255, 0.2);
}

.role-card.detective:hover {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
}

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

.role-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.role-card.innocent .role-icon {
    background: linear-gradient(135deg, var(--accent-green), #00cc6a);
}

.role-card.traitor .role-icon {
    background: linear-gradient(135deg, var(--accent-red), #cc0033);
}

.role-card.detective .role-icon {
    background: linear-gradient(135deg, var(--accent-blue), #0077cc);
}

.role-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.role-card.innocent .role-name { color: var(--accent-green); }
.role-card.traitor .role-name { color: var(--accent-red); }
.role-card.detective .role-name { color: var(--accent-blue); }

.role-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   KOS SECTION
   ============================================ */

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

.kos-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-red);
    transition: all 0.3s ease;
}

.kos-card:hover {
    transform: translateX(5px);
    background: rgba(255, 45, 85, 0.05);
}

.kos-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.kos-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   PUNISHMENT TABLE
   ============================================ */

.punishment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.punishment-table th,
.punishment-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.punishment-table th {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(0, 212, 255, 0.05);
}

.punishment-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.punishment-table td {
    color: var(--text-secondary);
}

.punishment-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.punishment-badge.slay {
    background: rgba(255, 204, 0, 0.15);
    color: var(--accent-yellow);
}

.punishment-badge.kick {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.punishment-badge.ban {
    background: rgba(255, 45, 85, 0.15);
    color: var(--accent-red);
}

/* ============================================
   NOTICE BOX
   ============================================ */

.notice {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.1), rgba(157, 78, 221, 0.1));
    border: 1px solid rgba(255, 45, 85, 0.3);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.notice h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.notice p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.notice.info {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.1));
    border-color: rgba(0, 212, 255, 0.3);
}

.notice.info h3 {
    color: var(--accent-blue);
}

/* ============================================
   FEATURE BADGES
   ============================================ */

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.55s both;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.feature-badge.green {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--accent-green);
}

.feature-badge.purple {
    background: rgba(157, 78, 221, 0.1);
    border-color: rgba(157, 78, 221, 0.3);
    color: var(--accent-purple);
}

/* ============================================
   GRENADES GRID
   ============================================ */

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

.grenade-item {
    background: rgba(255, 45, 85, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-red);
}

.grenade-item strong {
    color: var(--accent-red);
}

.grenade-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   TERMS GRID
   ============================================ */

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

.term-item h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.term-item p {
    color: var(--text-secondary);
}

.term-item h4.blue { color: var(--accent-blue); }
.term-item h4.red { color: var(--accent-red); }
.term-item h4.green { color: var(--accent-green); }
.term-item h4.yellow { color: var(--accent-yellow); }
.term-item h4.purple { color: var(--accent-purple); }

/* ============================================
   NO-KOS CARD
   ============================================ */

.no-kos-card {
    margin-top: 2rem;
    border-left: 4px solid var(--accent-yellow);
}

.no-kos-card h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

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

footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-secondary);
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-green);
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.3);
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-join-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .feature-badges {
        flex-direction: column;
        align-items: center;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
    }

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

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

    .punishment-table {
        font-size: 0.85rem;
    }

    .punishment-table th,
    .punishment-table td {
        padding: 0.75rem;
    }

    .notice {
        flex-direction: column;
        text-align: center;
    }

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

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