/* ==========================================================================
   RISING HELVETICA - MAIN STYLESHEET (2026 EDITION)
   ========================================================================== */

/* =========================================
   01. CSS VARIABLES & THEME (Permanent Dark)
========================================= */
:root {
    /* Core Colors */
    --swiss-red: #D52B1E;
    --swiss-red-dark: #A01F16;
    
    /* Permanenter Dark Mode */
    --bg-base: #050505;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(15, 15, 15, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --nav-bg: rgba(10, 10, 10, 0.5);
    
    /* Utilities */
    --blur-strength: 24px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Brands */
    --discord-blurple: #5865F2;
    --tiktok-black: #000000;
    --insta-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    
    /* Layout */
    --container-padding: clamp(1.5rem, 5vw, 4rem);
}

/* =========================================
   02. RESET & BASE STYLES
========================================= */
* {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-base);
    overflow-x: hidden;
}

/* =========================================
   03. BACKGROUND & FLAG ANIMATIONS
========================================= */
.bg-flag-layer {
    position: fixed;
    top: -10vh; 
    left: -10vw;
    width: 120vw; 
    height: 120vh;
    z-index: -1;
    background: radial-gradient(circle at 40% 40%, var(--swiss-red) 0%, var(--swiss-red-dark) 100%);
    animation: flagWave 15s infinite ease-in-out alternate;
    /* Kein Blur mehr, Deckkraft auf 50% für eine abgedunkelte, klare Flagge */
    opacity: 0.5; 
}

.flag-cross {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(200px, 40vw, 400px);
    height: clamp(200px, 40vw, 400px);
    background: #ffffff;
    clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

.flag-sheen {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.15) 25%, transparent 30%, transparent 60%, rgba(0,0,0,0.15) 65%, transparent 70%);
    background-size: 200% 200%;
    animation: windSheen 7s infinite linear;
}

@keyframes flagWave {
    0% { transform: scale(1.05) translate(0, 0) skewX(-2deg) skewY(-1deg); }
    100% { transform: scale(1.1) translate(15px, 15px) skewX(2deg) skewY(1deg); }
}

@keyframes windSheen {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =========================================
   04. BUTTONS & UI ELEMENTS
========================================= */
.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px; 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 1px; 
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    transition: var(--transition-bounce);
    border: none; 
    cursor: pointer;
}

.btn-primary {
    background-color: var(--swiss-red); 
    color: white;
    box-shadow: 0 10px 20px -5px rgba(213, 43, 30, 0.4);
    text-shadow: none;
}

.btn-primary:hover {
    background-color: var(--swiss-red-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(213, 43, 30, 0.6);
}

.btn-glass {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: none;
}

.btn-glass:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-5px) scale(1.02);
}

.btn-discord {
    background-color: var(--discord-blurple);
    color: white; 
    width: 100%; 
    max-width: 350px;
    gap: 10px; 
    border-radius: 12px;
}

.btn-discord:hover { 
    background-color: #4752C4; 
    transform: translateY(-3px); 
}

/* =========================================
   05. NAVIGATION BAR
========================================= */
nav {
    position: fixed;
    top: 0; 
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    padding: 1rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.logo {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    z-index: 2001;
    color: var(--text-main);
}

.swiss-cross {
    width: 18px; 
    height: 18px;
    background-color: var(--swiss-red);
    margin-right: 12px;
    clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
}

.nav-links {
    display: flex; 
    gap: 2.5rem; 
    list-style: none;
}

.nav-links a {
    text-decoration: none; 
    color: var(--text-main);
    font-weight: 600; 
    font-size: 0.85rem;
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: ''; 
    position: absolute;
    width: 0; 
    height: 2px;
    bottom: -4px; 
    left: 0;
    background-color: var(--swiss-red);
    transition: width 0.3s ease;
}

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

.nav-actions { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    z-index: 2001; 
}

.menu-toggle {
    background: none; 
    border: none;
    color: var(--text-main); 
    font-size: 1.2rem;
    cursor: pointer; 
    padding: 0.5rem;
    transition: var(--transition-bounce);
    display: none;
}

/* =========================================
   06. HERO SECTION
========================================= */
.hero {
    min-height: 100vh;
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
    padding: 100px var(--container-padding);
    color: #000000;
    text-shadow: 0 2px 15px rgba(255,255,255,0.7);
}

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

.hero h1 {
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: #000000;
    filter: drop-shadow(0 4px 15px rgba(255,255,255,0.6));
}

.hero .subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 900; 
    text-transform: uppercase;
    letter-spacing: 4px; 
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin: 0 auto 3rem auto;
    font-weight: 600;
}

.hero-btns {
    display: flex; 
    gap: 1.5rem; 
    justify-content: center; 
    flex-wrap: wrap;
}

/* =========================================
   07. LAYOUT & GLASS WRAPPER (SECTIONS)
========================================= */
.glass-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.5);
}

section {
    padding: clamp(80px, 12vh, 150px) var(--container-padding);
    max-width: 1400px; 
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: clamp(3rem, 8vh, 5rem);
    color: var(--text-main);
}

/* =========================================
   08. CARDS & GRID SYSTEM
========================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    text-align: left;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--swiss-red);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-icon {
    width: 60px; 
    height: 60px;
    background: rgba(213, 43, 30, 0.1);
    border-radius: 15px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.8rem; 
    color: var(--swiss-red);
}

.glass-card h3 {
    font-size: 1.4rem; 
    font-weight: 700; 
    margin-bottom: 1rem;
}

.glass-card p { 
    color: var(--text-muted); 
    font-size: 1rem; 
}

/* =========================================
   09. ENGAGEMENT & STATS
========================================= */
.engagement-content { 
    text-align: center; 
}

.lead-text {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    max-width: 800px; 
    margin: 0 auto 4rem;
    color: var(--text-muted);
}

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

.stat-item { 
    text-align: center; 
    padding: 2rem; 
}

.stat-item h4 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900; 
    color: var(--swiss-red);
    line-height: 1; 
    margin-bottom: 0.5rem;
}

.stat-item p { 
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 1px; 
    font-size: 0.9rem;
}

/* =========================================
   10. CONTACT & SOCIAL MEDIA
========================================= */
.contact-container { 
    max-width: 800px; 
    margin: 0 auto; 
}

.contact-box { 
    padding: clamp(2rem, 5vw, 4rem); 
    text-align: center; 
}

.badge-card {
    display: inline-flex; 
    align-items: center; 
    gap: 1rem;
    background: rgba(213, 43, 30, 0.05);
    border: 1px solid rgba(213, 43, 30, 0.2);
    padding: 0.8rem 1.5rem; 
    border-radius: 50px;
    margin-bottom: 2rem;
}

.badge-icon { color: var(--swiss-red); }
.badge-role { font-weight: 600; font-size: 0.9rem; color: var(--swiss-red); }

.contact-box h3 { 
    font-size: 2rem; 
    font-weight: 800; 
    margin-bottom: 1rem; 
}

.contact-desc { 
    color: var(--text-muted); 
    margin-bottom: 2.5rem; 
}

.social-media-selection { 
    margin-top: 4rem; 
    padding-top: 3rem; 
    border-top: 1px solid var(--glass-border); 
}

.social-section-title { 
    margin-bottom: 1.5rem; 
    font-size: 0.9rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: var(--text-muted); 
}

.social-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 1.5rem; 
}

.social-circle {
    width: 60px; 
    height: 60px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: white; 
    font-size: 1.5rem;
    transition: var(--transition-bounce);
}

.social-circle.instagram { background: var(--insta-gradient); }
.social-circle.tiktok { background: var(--tiktok-black); }

.social-circle:hover { 
    transform: translateY(-8px) scale(1.1); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); 
}

/* =========================================
   11. FOOTER
========================================= */
footer {
    padding: 4rem var(--container-padding) 2rem;
    text-align: center; 
    border-top: 1px solid var(--glass-border);
}

.footer-logo { 
    font-size: 1.5rem; 
    font-weight: 900; 
    letter-spacing: 3px; 
    margin-bottom: 2rem; 
}

.footer-social { 
    display: flex; 
    justify-content: center; 
    gap: 2rem; 
    margin-bottom: 2rem; 
}

.footer-social a { 
    color: var(--text-main); 
    font-size: 1.5rem; 
    transition: var(--transition-smooth); 
}

.footer-social a:hover { 
    color: var(--swiss-red); 
    transform: translateY(-3px); 
}

.footer-slogan { 
    color: var(--text-muted); 
    margin-bottom: 1rem; 
}

.footer-copyright { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    opacity: 0.6; 
}

/* =========================================
   12. TERMS OF SERVICE (ToS) PAGES
========================================= */
.page-header {
    padding: 150px var(--container-padding) 50px;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 0 var(--container-padding) 100px;
    max-width: 1000px;
    margin: 0 auto;
}

.tos-block {
    margin-bottom: 3rem;
}

.tos-block h3 {
    font-size: 1.8rem;
    color: var(--swiss-red);
    margin-bottom: 1rem;
    font-weight: 800;
}

.tos-block p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* =========================================
   13. SCROLL REVEAL ANIMATIONS (AOS)
========================================= */
[data-aos] {
    opacity: 0;
    filter: blur(15px);
    transform: translateY(40px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-aos].active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

/* =========================================
   14. MOBILE RESPONSIVENESS (MEDIA QUERIES)
========================================= */
@media (max-width: 768px) {
    .menu-toggle { 
        display: block; 
    }
    
    .nav-links {
        position: fixed;
        top: 0; 
        left: 0; 
        width: 100vw; 
        height: 100vh;
        background: var(--bg-base);
        flex-direction: column; 
        justify-content: center;
        gap: 3rem; 
        z-index: -1;
        opacity: 0; 
        pointer-events: none;
        transform: translateY(-20px);
        transition: var(--transition-smooth);
    }

    .nav-links.active {
        opacity: 1; 
        pointer-events: all;
        transform: translateY(0);
    }
    
    .nav-links a { 
        font-size: 2rem; 
        font-weight: 900; 
    }
    
    .hero-btns { 
        flex-direction: column; 
        width: 100%; 
    }
    
    .btn { 
        width: 100%; 
    }
    
    .grid { 
        grid-template-columns: 1fr; 
    }
    
    .glass-card { 
        padding: 2rem 1.5rem; 
    }
}