/*
Theme Name: Rising Ambitions
Theme URI: https://risingambitions.de
Author: Rising Ambitions Team
Author URI: https://risingambitions.de
Description: Ein episches Fantasy-Theme für die Rising Ambitions FFXIV Community - Together We Rise. Ambition Is Our Legacy.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rising-ambitions
Tags: one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready

Rising Ambitions WordPress Theme, Copyright 2026
Rising Ambitions is distributed under the terms of the GNU GPL
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

:root {
    /* Farben aus dem Banner */
    --primary-gold: #D4AF37;
    --dark-gold: #B8941F;
    --light-gold: #FFD700;
    --deep-blue: #0A0F1C;
    --navy-blue: #1A2332;
    --cosmic-blue: #2D3E5F;
    --star-white: #E8F0FF;
    --crystal-blue: #4A9FD8;
    --phoenix-glow: #FFA726;
    
    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

body {
    font-family: var(--font-body);
    color: var(--star-white);
    background: var(--deep-blue);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

a {
    color: var(--crystal-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--light-gold);
}

/* ==========================================================================
   Starfield Background Animation
   ========================================================================== */

.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: var(--opacity, 0.8); }
}

/* ==========================================================================
   Navigation / Sidebar
   ========================================================================== */

.sidebar-nav {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.nav-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot:hover,
.nav-dot.active {
    background: var(--primary-gold);
    box-shadow: 0 0 20px var(--primary-gold);
    transform: scale(1.3);
}

.nav-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    white-space: nowrap;
    background: rgba(26, 35, 50, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid var(--primary-gold);
}

.nav-dot:hover::after {
    opacity: 1;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: rgba(26, 35, 50, 0.95);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.phoenix-logo {
    width: clamp(200px, 30vw, 400px);
    height: auto;
    margin-bottom: var(--spacing-lg);
    animation: phoenixGlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.6));
}

@keyframes phoenixGlow {
    0%, 100% {
        filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.8));
    }
}

.hero-title {
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--star-white);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: rgba(26, 35, 50, 0.5);
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 200px;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    background: rgba(26, 35, 50, 0.8);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

.value-text {
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

/* ==========================================================================
   CTA Button
   ========================================================================== */

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--deep-blue);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.cta-button:hover::before {
    left: 100%;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-section {
    min-height: 100vh;
    padding: var(--spacing-xl) var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: var(--spacing-md) auto;
    position: relative;
}

.section-divider::before {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-gold);
    font-size: 1.5rem;
    background: var(--deep-blue);
    padding: 0 0.5rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.about-card {
    background: rgba(26, 35, 50, 0.6);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.about-card:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.about-card h3 {
    color: var(--light-gold);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

/* ==========================================================================
   Activities Grid
   ========================================================================== */

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

.activity-card {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.8), rgba(45, 62, 95, 0.4));
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.activity-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.3);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-gold);
}

.activity-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

/* ==========================================================================
   Team Section
   ========================================================================== */

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

.team-member {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(26, 35, 50, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.team-member:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    border: 3px solid var(--primary-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.team-role {
    color: var(--crystal-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Join Section
   ========================================================================== */

.join-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.join-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.benefit-item {
    padding: var(--spacing-md);
    background: rgba(26, 35, 50, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-sm);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: rgba(10, 15, 28, 0.95);
    padding: var(--spacing-lg) var(--spacing-md);
    border-top: 1px solid var(--primary-gold);
    text-align: center;
}

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

.footer-logo {
    width: 100px;
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 35, 50, 0.8);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    color: var(--primary-gold);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--deep-blue);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-3px);
}

.copyright {
    margin-top: var(--spacing-md);
    color: rgba(232, 240, 255, 0.6);
    font-size: 0.875rem;
}

/* ==========================================================================
   Animations & Effects
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax {
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .sidebar-nav {
        display: none;
    }
    
    .sidebar-nav.mobile-open {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        background: rgba(10, 15, 28, 0.98);
        height: 100vh;
        width: 250px;
        padding: var(--spacing-lg);
        border-left: 2px solid var(--primary-gold);
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-values {
        flex-direction: column;
    }
    
    .value-item {
        width: 100%;
    }
    
    .activities-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .phoenix-logo {
        width: 150px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--primary-gold);
}

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
