/**
 * Hyperion Theme Styles
 * 
 * @package Hyperion
 * @version 1.0.0
 * @author  Syoska - Syoska Media
 * @link    https://syoska-media.de
 */

/* ========================================
   CSS VARIABLES
======================================== */
:root {
    --sf-gold: #fbbf24;
    --sf-red: #b91c1c;
    --sf-dark: #020202;
    --sf-panel: rgba(15, 15, 15, 0.95);
    --font-sport: 'Teko', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* ========================================
   BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--sf-dark);
    color: #a3a3a3;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   TYPOGRAPHY
======================================== */
.font-sport {
    font-family: var(--font-sport);
    text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sport);
    text-transform: uppercase;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ========================================
   UI ELEMENTS
======================================== */
.skew-box {
    transform: skewX(-15deg);
}

.unskew {
    transform: skewX(15deg);
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    border-color: var(--sf-gold);
    background: linear-gradient(to bottom, #1a1a1a, #050505);
}

/* 3D Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    will-change: transform;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-5deg) translateZ(10px);
}

/* Badge Pop */
.badge-pop:hover {
    animation: badgePop 0.3s ease;
}

/* ========================================
   TEXT EFFECTS
======================================== */
.text-glow-gold {
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.5), 0 0 30px rgba(251, 191, 36, 0.2);
}

.text-glow-red {
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.8), 0 0 20px rgba(220, 38, 38, 0.4), 0 0 40px rgba(220, 38, 38, 0.2);
}

/* ========================================
   ANIMATIONS
======================================== */

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(6deg); }
    50% { transform: translateY(-20px) rotate(8deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(220,38,38,0.2); }
    50% { box-shadow: 0 0 40px rgba(220,38,38,0.5); }
}

.pulse-glow {
    animation: pulse-glow 3s infinite;
}

/* Glow Pulse */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(251, 191, 36, 0.3); }
    50% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.8), 0 0 30px rgba(251, 191, 36, 0.4); }
}

.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Shine Effect */
@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shine-effect {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 200% 100%;
    animation: shine 3s infinite linear;
}

/* Shimmer */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Crown Float */
@keyframes float-crown {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

.animate-crown {
    animation: float-crown 3s ease-in-out infinite;
}

/* Particle Rise */
@keyframes particle-rise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-20px) scale(0); opacity: 0; }
}

.particle {
    position: absolute;
    background: #fbbf24;
    border-radius: 50%;
    pointer-events: none;
    animation: particle-rise 2s infinite;
}

/* Stripes Animation */
@keyframes move-stripes {
    0% { background-position: 0 0; }
    100% { background-position: 56px 0; }
}

.animate-stripes {
    animation: move-stripes 1s linear infinite;
}

/* Fade Up Reveal */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal Animation - Elemente sind standardmäßig sichtbar für No-JS */
.reveal {
    opacity: 1;
}

/* Nur wenn JS läuft, werden Elemente initial versteckt */
.js-enabled .reveal {
    opacity: 0;
}

.js-enabled .reveal.active,
.reveal.active {
    opacity: 1;
    animation: fadeUp 0.8s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.1s !important; }
.reveal-delay-2 { animation-delay: 0.2s !important; }
.reveal-delay-3 { animation-delay: 0.3s !important; }
.reveal-delay-4 { animation-delay: 0.4s !important; }

/* Icon Bounce */
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.icon-bounce:hover {
    animation: iconBounce 0.6s ease infinite;
}

/* Badge Pop */
@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ========================================
   PARALLAX
======================================== */
.parallax {
    will-change: transform;
}

/* ========================================
   CUSTOM GRADIENTS
======================================== */
.bg-gradient-radial {
    background: radial-gradient(circle, var(--tw-gradient-stops));
}

/* Phone Glow Effect - Hero Section */
/* Glow wird jetzt direkt im HTML mit Tailwind-Klassen gemacht */

/* ========================================
   PARTNER MARQUEE - ENDLESS LOOP
======================================== */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
}

/* Endless Loop - Links nach Rechts */
@keyframes marquee-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}

.marquee-left {
    animation: marquee-scroll-left 40s linear infinite;
}

/* Endless Loop - Rechts nach Links */
@keyframes marquee-scroll-right {
    0% {
        transform: translateX(-25%);
    }
    100% {
        transform: translateX(0);
    }
}

.marquee-right {
    animation: marquee-scroll-right 35s linear infinite;
}

/* Endless Loop - Langsam */
.marquee-left-slow {
    animation: marquee-scroll-left 55s linear infinite;
}

/* Pause on Hover */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* ========================================
   GAME FEEL / MICRO-INTERACTIONS
======================================== */
.click-burst {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(251,191,36,1) 0%, rgba(251,191,36,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    animation: burst 0.4s ease-out forwards;
    box-shadow: 0 0 10px rgba(251,191,36,0.5);
}

@keyframes burst {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* ========================================
   WORDPRESS SPECIFIC
======================================== */

/* Navigation Menu Overrides */
.menu-item a {
    display: block;
}

/* Pagination */
.nav-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.nav-links a,
.nav-links span {
    padding: 0.5rem 1rem;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    border-color: var(--sf-gold);
    color: var(--sf-gold);
}

.nav-links .current {
    background: var(--sf-gold);
    color: #000;
    border-color: var(--sf-gold);
}

/* WordPress Core Elements */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 1.5rem;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.comment-author {
    color: var(--sf-gold);
    font-weight: bold;
}

.comment-content {
    margin-top: 0.5rem;
    color: #a3a3a3;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--sf-gold);
}

button,
input[type="submit"] {
    background: var(--sf-gold);
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sport);
    font-size: 1.25rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Generic WP Buttons Only */
.wp-block-button__link:hover,
input[type="submit"]:hover {
    background: #fff;
    color: #000;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ========================================
   MOBILE MENU
======================================== */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 500px;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .skew-box {
        transform: none;
    }
    
    .unskew {
        transform: none;
    }
}

/* ========================================
   ADMIN BAR FIX
======================================== */
.admin-bar nav.fixed {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar nav.fixed {
        top: 46px;
    }
}

/* ========================================
   ELEMENTOR EDITOR / PREVIEW FIXES
   (Navbar soll beim Bauen nicht über dem Canvas liegen)
======================================== */
html.elementor-editor-active nav.fixed,
body.elementor-editor-active nav.fixed,
html.elementor-preview nav.fixed,
body.elementor-preview nav.fixed,
html.elementor-editor-preview nav.fixed,
body.elementor-editor-preview nav.fixed {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 1 !important;
    backdrop-filter: none !important;
}

html.elementor-editor-active main,
body.elementor-editor-active main,
html.elementor-preview main,
body.elementor-preview main {
    padding-top: 0 !important;
}

