.elegant-typing-line {
    font-family: 'Inter', 'system-ui', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: 0.02em;
    text-align: center;
    position: relative;
    display: block;
    margin: 0 auto;
    width: fit-content;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.elegant-typing-line.typing-active {
    opacity: 1;
    transform: translateY(0);
    border-right: 2px solid rgba(96, 165, 250, 0.8);
    animation: elegant-cursor-blink 1.2s infinite;
}
.elegant-typing-line.typing-complete {
    border-right: none;
    opacity: 1;
    transform: translateY(0);
}
.elegant-typing-line.typing-complete::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
    animation: elegant-underline 2s ease-out;
}
@keyframes elegant-cursor-blink {
    0%, 50% { border-color: rgba(96, 165, 250, 0.8); }
    51%, 100% { border-color: transparent; }
}
@keyframes elegant-underline {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}
.fade-in-elegant {
    animation: fadeInElegant 1s ease-out forwards;
}
@keyframes fadeInElegant {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.progress-animate {
    animation: progressFill 3s ease-in-out forwards;
}
@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}
.elegant-glow {
    box-shadow: 
        0 0 20px rgba(96, 165, 250, 0.1),
        0 0 40px rgba(139, 92, 246, 0.05);
}
.btn-professional {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: 1px solid rgba(96, 165, 250, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}
.btn-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}
.btn-professional:hover::before {
    left: 100%;
}
.btn-professional:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 25px rgba(59, 130, 246, 0.2),
        0 5px 15px rgba(139, 92, 246, 0.1);
}
.card-professional {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border: 1px solid rgba(96, 165, 250, 0.1);
    backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card-professional:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(96, 165, 250, 0.1);
}
.text-gradient-professional {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #60a5fa);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.event-card-premium {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.event-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.8s ease;
}
.event-card-premium:hover::before {
    left: 100%;
}
.event-card-premium .animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}
.typing {
    position: relative;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1f2937;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #2563eb, #7c3aed);
}
html {
    scroll-behavior: smooth;
}
.nav-link {
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
}
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 1px;
}
.event-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}
.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15);
}
.event-card:hover .event-icon {
    transform: scale(1.1) rotate(5deg);
}
#loadingScreen {
    background: linear-gradient(135deg, #0f172a 0%, #000000 50%, #1e293b 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}
#eventModal {
    animation: modal-fade-in 0.3s ease-out;
}
#eventModal > div {
    animation: modal-scale-in 0.3s ease-out;
}
@keyframes modal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes modal-scale-in {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.btn-hover {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
.btn-hover:hover::before {
    left: 100%;
}
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        font-size: 14px;
        line-height: 1.5;
    }
    .container {
        max-width: 100%;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: auto;
        margin-right: auto;
    }
    .text-5xl {
        font-size: 2rem !important;
        line-height: 2.25rem !important;
    }
    .text-4xl {
        font-size: 1.75rem !important;
        line-height: 2rem !important;
    }
    .text-3xl {
        font-size: 1.5rem !important;
        line-height: 1.75rem !important;
    }
    .text-2xl {
        font-size: 1.25rem !important;
        line-height: 1.5rem !important;
    }
    .text-xl {
        font-size: 1.125rem !important;
        line-height: 1.375rem !important;
    }
    .text-6xl {
        font-size: 2.5rem !important;
        line-height: 2.75rem !important;
    }
    .text-7xl {
        font-size: 3rem !important;
        line-height: 3.25rem !important;
    }
    .hero-section {
        min-height: 100vh !important;
        padding: 6rem 0 2rem 0 !important;
        padding-top: calc(env(safe-area-inset-top) + 6rem) !important;
    }
    .typing-line, .elegant-typing-line {
        font-size: 1rem !important;
        line-height: 1.6;
        letter-spacing: 0.06em;
        margin-bottom: 1.5rem;
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
        max-width: 100%;
    }
    .typing-line.flame-text {
        background-size: 100% 250%;
        background-position: 0% 15%;
        box-shadow: 
            0 0 15px rgba(255, 69, 0, 0.3),
            0 0 30px rgba(255, 140, 0, 0.2),
            0 0 45px rgba(255, 215, 0, 0.1),
            inset 0 0 15px rgba(255, 255, 255, 0.08);
    }
    .typing-line.flame-text::before {
        filter: blur(8px);
        top: -10px;
        left: -15px;
        right: -15px;
        bottom: -10px;
    }
    .typing-line.flame-text::after {
        filter: blur(0.5px);
    }
    #typingContainer {
        max-width: 95%;
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .grid {
        gap: 1rem !important;
    }
    .grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .grid-cols-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .card-professional, .event-card, .event-card-premium {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
        width: 100%;
        box-sizing: border-box;
        transform: none !important;
        overflow: hidden;
    }
    .event-card:hover, .card-professional:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }
    .btn-professional {
        width: 100% !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        margin-bottom: 1rem;
        text-align: center;
        box-sizing: border-box;
    }
    #eventModal {
        padding: 1rem !important;
    }
    #eventModal > div {
        max-width: 95% !important;
        max-height: 85vh !important;
        margin: 0 auto;
        overflow-y: auto;
    }
    nav {
        padding: 0.75rem 1rem !important;
        min-height: 4rem !important;
    }
    .nav-link {
        font-size: 1rem !important;
        padding: 0.5rem 0 !important;
    }
    #mobileMenu {
        padding: 1rem !important;
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(10px);
        border-radius: 0.5rem;
        margin-top: 1rem;
    }
    #home {
        padding-top: 5rem !important;
        scroll-margin-top: 5rem !important;
    }
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    .h-16 {
        height: 3rem !important;
    }
    .w-16 {
        width: 3rem !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1rem !important;
    }
    .transport-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        gap: 1.5rem !important;
    }
    .mb-16 {
        margin-bottom: 2rem !important;
    }
    .mb-12 {
        margin-bottom: 1.5rem !important;
    }
    .mb-8 {
        margin-bottom: 1rem !important;
    }
    .mb-6 {
        margin-bottom: 0.75rem !important;
    }
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .py-16 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .py-12 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .px-8 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .p-8 {
        padding: 1.5rem !important;
    }
    .p-6 {
        padding: 1rem !important;
    }
    .flex-col {
        flex-direction: column !important;
    }
    .space-x-8 > :not([hidden]) ~ :not([hidden]) {
        margin-left: 0 !important;
        margin-top: 1rem !important;
    }
    .space-x-4 > :not([hidden]) ~ :not([hidden]) {
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
    }
    @keyframes ultra-realistic-flame-flow {
        0%, 100% {
            background-position: 0% 15%;
            transform: scaleY(1);
        }
        50% {
            background-position: 0% 5%;
            transform: scaleY(1.01);
        }
    }
    .gpu-accelerated {
        will-change: auto !important;
    }
    .text-center {
        text-align: center !important;
    }
    .text-left {
        text-align: left !important;
    }
    .max-w-3xl, .max-w-4xl, .max-w-5xl, .max-w-6xl {
        max-width: 100% !important;
    }
    .text-6xl {
        font-size: 2rem !important;
    }
    input, textarea, select {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important; 
    }
    footer {
        padding: 2rem 1rem !important;
        text-align: center !important;
    }
    #loadingScreen {
        padding: 2rem !important;
    }
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    * {
        box-sizing: border-box !important;
    }
}
@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .text-5xl {
        font-size: 1.75rem !important;
        line-height: 2rem !important;
    }
    .text-4xl {
        font-size: 1.5rem !important;
        line-height: 1.75rem !important;
    }
    section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .card-professional, .event-card {
        padding: 1rem !important;
    }
    .btn-professional {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
    }
    .hero-section {
        padding-top: calc(env(safe-area-inset-top) + 7rem) !important;
    }
    nav {
        padding: 0.5rem 0.75rem !important;
    }
}
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 60vh !important;
        padding: 1.5rem 0 !important;
    }
    section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}
button:focus,
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
.gear-animation {
    animation: spin 3s linear infinite;
    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.5));
}
.loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.loading-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: loading-bounce 1.4s infinite ease-in-out both;
}
.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes loading-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
.parallax-element {
    transform: translateZ(0);
    backface-visibility: hidden;
}
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: white;
}
.gradient-bg-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}
.gradient-bg-secondary {
    background: linear-gradient(135deg, #374151 0%, #111827 100%);
}
.backdrop-blur-fallback {
    background: rgba(0, 0, 0, 0.8);
}
@supports (backdrop-filter: blur(10px)) {
    .backdrop-blur-fallback {
        backdrop-filter: blur(10px);
        background: rgba(0, 0, 0, 0.6);
    }
}
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}
@media print {
    .no-print {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
@media (prefers-contrast: high) {
    .event-card {
        border-width: 2px;
    }
    .nav-link:hover {
        text-decoration: underline;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.box-shadow-glow {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}
.transition-all-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
    .animate-float {
        animation: none !important;
    }
    .group:hover .group-hover\:scale-110 {
        transform: scale(1.05) !important;
    }
    button, .btn-professional, a[role="button"] {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    p, .text-gray-300, .text-gray-400 {
        line-height: 1.6 !important;
    }
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    html {
        scroll-padding-top: 5rem !important;
    }
    section {
        scroll-margin-top: 5rem !important;
    }
    .fixed {
        position: fixed !important;
    }
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important;
        transform: translateZ(0) !important;
    }
}
@media (max-width: 320px) {
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    .text-3xl {
        font-size: 1.25rem !important;
        line-height: 1.5rem !important;
    }
    .text-2xl {
        font-size: 1.125rem !important;
        line-height: 1.375rem !important;
    }
    .card-professional, .event-card {
        padding: 0.75rem !important;
    }
}
@media (max-width: 768px) {
    #eventModal .card-professional {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
        border-radius: 1rem;
    }
    #eventModal h3 {
        font-size: 1.25rem;
        line-height: 1.5;
    }
    #eventModal h4 {
        font-size: 1rem;
        line-height: 1.25;
    }
    #eventModal .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    #eventModal ul li {
        font-size: 0.875rem;
        line-height: 1.375;
    }
    #eventModal .text-sm {
        font-size: 0.8rem;
        line-height: 1.25;
    }
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 640px) {
    .btn-professional {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        font-weight: 600;
    }
    #eventModal button, #eventModal a {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }
}
@media (hover: none) and (pointer: coarse) {
    .event-card, .group {
        transition: none;
    }
    .event-card:active, .group:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    button:active, a:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}
@media (max-width: 480px) {
    #modalContent .space-y-6 > * + * {
        margin-top: 1rem;
    }
    #modalContent .space-y-4 > * + * {
        margin-top: 0.75rem;
    }
    #modalContent .space-y-8 > * + * {
        margin-top: 1.5rem;
    }
    #eventModal .p-4 {
        padding: 0.75rem;
    }
    #eventModal .p-6 {
        padding: 1rem;
    }
}

