/* TEDxDEU Landing Page Styles */
/* ========================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



:root {
    /* TEDx Brand Colors */
    --ted-red: #E62B1E;
    --ted-red-dark: #C41E3A;
    --ted-black: #000000;
    --ted-white: #FFFFFF;
    --ted-gray-light: #F5F5F5;
    --ted-gray-medium: #CCCCCC;
    --ted-gray-dark: #333333;

    /* Additional Theme Colors */
    --accent-blue: #1E88E5;
    --accent-purple: #8E24AA;
    --accent-orange: #FF8F00;

    /* Typography */
    --font-primary: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: 'Helvetica Neue', Arial, sans-serif;
    --font-matrix: 'Orbitron', 'Share Tech Mono', 'Courier New', monospace;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --border-radius: 25px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--ted-gray-dark);
    background-color: var(--ted-white);
    overflow-x: hidden;
    /* Test different cursor approaches */
    cursor: url('./assets/images/cursor_octopus_32x32.png'), auto;
    cursor: url('assets/images/cursor_octopus_32x32.png'), auto;
    cursor: url('/assets/images/cursor_octopus_32x32.png'), auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
    cursor: url('./assets/images/cursor_octopus2.ico'), pointer;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    cursor: url('./assets/images/cursor_octopus2.ico'), pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.btn: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:before {
    left: 100%;
}

.btn-primary {
    background: var(--ted-white);
    color: var(--ted-black);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--ted-red);
    color: var(--ted-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 43, 30, 0.5);
}

.btn-primary:disabled {
    background: var(--ted-gray-medium);
    color: var(--ted-gray-dark);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    border-radius: 30px;
}

.btn-secondary {
    background: transparent;
    color: var(--ted-red);
    border: 2px solid var(--ted-red);
    border-radius: 30px;
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--ted-red);
    color: var(--ted-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 43, 30, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1002;
    transition: var(--transition);
    border-bottom: 1px solid var(--ted-red);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--ted-white);
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
    outline: none !important; /* Focus kutucuğunu kaldır */
    box-shadow: none !important; /* Gölge kutucuğunu kaldır */
    border: none !important; /* Border kutucuğunu kaldır */
}

.nav-link:focus,
.nav-link:focus-visible,
.nav-link:active {
    outline: none !important; /* Focus kutucuğunu kaldır */
    box-shadow: none !important; /* Gölge kutucuğunu kaldır */
    border: none !important; /* Border kutucuğunu kaldır */
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ted-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--ted-red);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link.active {
    color: var(--ted-red);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: url('./assets/images/cursor_octopus2.ico'), pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--ted-white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: #000000;
    background-size:
        3000px 3000px, 3000px 3000px,
        100% 100%;
    background-position:
        center center, center center,
        0 0;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: var(--ted-white);
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
    position: relative;
    display: inline-block;
}

.mascot-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    animation: oceanFloat 4s ease-in-out infinite;
    cursor: url('./assets/images/cursor_octopus2.ico'), pointer;
    transition: transform 0.2s ease;
}

.mascot-logo:hover {
    transform: scale(1.05);
}

.mascot-logo:active {
    transform: scale(0.95);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-title:not(.hidden-title) {
    animation: fadeInUp 1s ease 0.4s both;
}

.hidden-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s both;
    text-align: center;
}

.hidden-title.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: none !important;
}

.hidden-title #titleText {
    font-family: var(--font-matrix);
    color: #fff;
    background: #000;
    padding: 8px 30px;
    border-radius: 0;
    letter-spacing: 2px;
    font-weight: normal;
    font-size: 1em;
    transition: all 0.3s ease;
    display: inline-block;
    width: auto;
    min-width: 320px;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}

.hidden-title.decoding #titleText {
    font-family: var(--font-matrix);
    color: #fff;
    background: #000;
    text-shadow: none;
    letter-spacing: 2px;
    animation: none;
}.hidden-title.revealed #titleText {
    font-family: var(--font-matrix);
    color: #fff;
    background: #000;
    text-shadow: none;
    letter-spacing: 2px;
    font-weight: normal;
}

@keyframes matrixGlitch {
    0% {
        text-shadow:
            2px 0 #ff0040,
            -2px 0 #8a2be2,
            0 0 5px #00ff41,
            0 0 10px #ff0040,
            0 0 15px #8a2be2;
        transform: translate(0);
    }
    20% {
        text-shadow:
            -2px 0 #ff0040,
            2px 0 #8a2be2,
            0 0 8px #00ff41,
            0 0 12px #ff0040,
            0 0 18px #8a2be2;
        transform: translate(-1px, 1px);
    }
    40% {
        text-shadow:
            0 -2px #ff0040,
            0 2px #8a2be2,
            0 0 10px #00ff41,
            0 0 15px #ff0040,
            0 0 20px #8a2be2;
        transform: translate(1px, -1px);
    }
    60% {
        text-shadow:
            2px 2px #ff0040,
            -2px -2px #8a2be2,
            0 0 6px #00ff41,
            0 0 11px #ff0040,
            0 0 16px #8a2be2;
        transform: translate(-1px, -1px);
    }
    80% {
        text-shadow:
            -1px 1px #ff0040,
            1px -1px #8a2be2,
            0 0 7px #00ff41,
            0 0 13px #ff0040,
            0 0 19px #8a2be2;
        transform: translate(1px, 1px);
    }
    100% {
        text-shadow:
            2px 0 #ff0040,
            -2px 0 #8a2be2,
            0 0 5px #00ff41,
            0 0 10px #ff0040,
            0 0 15px #8a2be2;
        transform: translate(0);
    }
}

.event-theme {
    color: var(--ted-red);
    display: inline-block;
}

.event-theme-white {
    color: var(--ted-white);
    display: inline-block;
}

.theme-separator {
    margin: 0 1rem;
    color: var(--ted-white);
    opacity: 0.7;
}

.event-theme-en {
    color: var(--ted-white);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 3rem;
    color: var(--ted-red);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.8s both;
    min-height: 150px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--ted-white);
    height: 40px;
}

.detail-item i {
    color: var(--ted-red);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.detail-item span {
    font-family: var(--font-matrix);
    width: 350px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

/* Bubble Effects */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    z-index: -1;
}

.bubble-1 {
    width: 20px;
    height: 20px;
    left: 30%;
    animation: bubbleRise1 6s ease-in-out infinite;
    animation-delay: 0s;
}

.bubble-2 {
    width: 15px;
    height: 15px;
    left: 70%;
    animation: bubbleRise2 7s ease-in-out infinite;
    animation-delay: 1.5s;
}

.bubble-3 {
    width: 25px;
    height: 25px;
    left: 50%;
    animation: bubbleRise3 8s ease-in-out infinite;
    animation-delay: 3s;
}

.bubble-4 {
    width: 12px;
    height: 12px;
    left: 25%;
    animation: bubbleRise1 5.5s ease-in-out infinite;
    animation-delay: 2s;
}

.bubble-5 {
    width: 18px;
    height: 18px;
    left: 75%;
    animation: bubbleRise2 6.5s ease-in-out infinite;
    animation-delay: 4s;
}

.bubble-6 {
    width: 22px;
    height: 22px;
    left: 40%;
    animation: bubbleRise3 7.5s ease-in-out infinite;
    animation-delay: 0.5s;
}



/* Background elements removed - clean design *//* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--ted-black);
    margin-bottom: 1rem;
    position: relative;
}

.tedx-red {
    color: var(--ted-red);
}

.deu-black {
    color: var(--ted-black);
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--ted-red);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--ted-gray-light);
}

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

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--ted-white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ted-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--ted-gray-dark);
    font-weight: 500;
}

/* Event Details Section */
.event-details {
    background: var(--ted-white);
}

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

.event-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--ted-gray-light);
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.event-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ted-red), var(--accent-blue));
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--ted-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: var(--ted-white);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ted-black);
}

.card-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ted-gray-dark);
}

/* Speakers Section */
.speakers {
    background: var(--ted-black);
    color: var(--ted-white);
}

.speakers .section-title {
    color: var(--ted-white);
}

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

.speakers-announcement {
    max-width: 600px;
    margin: 0 auto;
}

.announcement-icon {
    width: 100px;
    height: 100px;
    background: var(--ted-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    font-size: 2.5rem;
    color: var(--ted-white);
}

.speakers-announcement h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--ted-white);
}

.speakers-announcement p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.social-follow {
    margin-top: 2rem;
}

.social-follow p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--ted-red);
    color: var(--ted-white);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--ted-red-dark);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: var(--ted-gray-light);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--ted-white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--ted-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ted-white);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ted-black);
}

.contact-details p,
.contact-details a {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ted-gray-dark);
}

.contact-details a:hover {
    color: var(--ted-red);
}

/* Special alignment for location item with multi-line content */
.contact-location {
    align-items: flex-start;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    text-decoration: none;
    color: var(--ted-gray-dark);
    transition: var(--transition-fast);
    border-radius: 8px;
}

.social-contact-link:hover {
    color: var(--ted-red);
    transform: translateX(5px);
}

.social-contact-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-contact-link span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .social-links {
        gap: 0.6rem;
    }

    .social-contact-link {
        padding: 0.4rem 0;
    }
}

/* Footer */
.footer {
    background: var(--ted-black);
    color: var(--ted-white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    min-height: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    height: 60px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-text {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.footer-text p {
    margin: 0;
    opacity: 0.8;
    line-height: 1.4;
}

.footer-slogan {
    font-style: italic;
    color: var(--ted-red);
    font-weight: 500;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 60px;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    background: var(--ted-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--ted-white);
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--ted-red-dark);
    transform: translateY(-2px);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(60deg);
    }
    66% {
        transform: translateY(-25px) rotate(120deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px) rotate(-10deg);
    }
    25% {
        transform: translateY(-30px) rotate(20deg);
    }
    50% {
        transform: translateY(-10px) rotate(-30deg);
    }
    75% {
        transform: translateY(-40px) rotate(10deg);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(45deg);
    }
    50% {
        transform: translateY(-35px) rotate(135deg);
    }
}

@keyframes oceanFloat {
    0%, 100% {
        transform: translateY(0px) rotate(-1deg);
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(-0.5deg);
    }
    75% {
        transform: translateY(-12px) rotate(1.5deg);
    }
}

@keyframes mascotPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 15px 30px rgba(230, 43, 30, 0.4));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    }
}

.mascot-clicked {
    animation: mascotPulse 0.3s ease !important;
}

@keyframes decoding {
    0% { content: "H!d3 & S33k"; }
    10% { content: "H!d3 & S33k"; }
    20% { content: "H1d3 & S33k"; }
    30% { content: "H1de & S33k"; }
    40% { content: "H1de & S3ek"; }
    50% { content: "Hide & S3ek"; }
    60% { content: "Hide & S3ek"; }
    70% { content: "Hide & Se3k"; }
    80% { content: "Hide & Seek"; }
    90% { content: "Hide & Seek"; }
    100% { content: "Hide & Seek"; }
}

.decoding {
    animation: decoding 1.5s ease-in-out;
}

@keyframes sparkleOut {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0) translate(100px, -100px);
        opacity: 0;
    }
}

@keyframes bubbleRise1 {
    0% {
        transform: translateY(150px) scale(0);
        opacity: 0;
        z-index: -1;
    }
    5% {
        z-index: -1;
    }
    10% {
        opacity: 0.7;
        transform: scale(0.5);
        z-index: -1;
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50px) scale(0.8);
        z-index: -1;
    }
    100% {
        transform: translateY(-200px) scale(1.2);
        opacity: 0;
        z-index: -1;
    }
}

@keyframes bubbleRise2 {
    0% {
        transform: translateY(120px) scale(0);
        opacity: 0;
        z-index: -1;
    }
    10% {
        z-index: -1;
    }
    15% {
        opacity: 0.6;
        transform: scale(0.3);
        z-index: -1;
    }
    60% {
        opacity: 0.7;
        transform: translateY(-30px) scale(0.6);
        z-index: -1;
    }
    100% {
        transform: translateY(-180px) scale(1);
        opacity: 0;
        z-index: -1;
    }
}

@keyframes bubbleRise3 {
    0% {
        transform: translateY(100px) scale(0);
        opacity: 0;
        z-index: -1;
    }
    15% {
        z-index: -1;
    }
    20% {
        opacity: 0.5;
        transform: scale(0.4);
        z-index: -1;
    }
    70% {
        opacity: 0.6;
        transform: translateY(-40px) scale(0.7);
        z-index: -1;
    }
    100% {
        transform: translateY(-170px) scale(0.9);
        opacity: 0;
        z-index: -1;
    }
}



/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Menu close button - Hidden on desktop by default */
.menu-close-btn {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        left: 0;
        top: -100vh;
        flex-direction: column;
        background: #000000;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: 120px 2rem 3rem;
        gap: 2rem;
        z-index: 999;
        border-left: 4px solid var(--ted-red);
    }

    .nav-menu.active {
        top: 0;
        transform: translateY(0);
    }

    .nav-menu .nav-link {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--ted-white);
        text-decoration: none;
        padding: 20px 0;
        margin: 8px 0;
        transition: all 0.3s ease;
        position: relative;
        background: transparent;
        border: none;
        border-bottom: 2px solid transparent;
        transform: translateX(-100px);
        opacity: 0;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .nav-menu.active .nav-link {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-menu .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu .nav-link:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu .nav-link:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu .nav-link:nth-child(5) { transition-delay: 0.5s; }

    .nav-menu .nav-link:hover {
        color: var(--ted-red);
        border-bottom-color: var(--ted-red);
        transform: translateX(0);
    }

    .nav-menu .nav-link.active {
        color: var(--ted-red);
        border-bottom-color: var(--ted-red);
    }

    .nav-menu .nav-link:after {
        display: none;
    }

    /* Menu close button - Show on mobile */
    .menu-close-btn {
        background: transparent;
        border: none;
        border-bottom: 2px solid var(--ted-red);
        border-radius: 0;
        padding: 20px 0;
        margin: 30px 0 10px;
        color: var(--ted-red);
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        transform: translateY(30px);
        opacity: 0;
        transition-delay: 0.6s;
    }

    .nav-menu.active .menu-close-btn {
        transform: translateY(0);
        opacity: 1;
    }

    .menu-close-btn:hover {
        color: var(--ted-white);
        border-bottom-color: var(--ted-white);
        transform: translateY(0);
    }

    .menu-close-btn i {
        font-size: 1.2rem;
    }

    /* Mobile menu blur overlay */
    .menu-blur-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .menu-blur-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background: var(--ted-red);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background: var(--ted-red);
    }

    /* Hero Section */
    .hero-details {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    /* Event Grid */
    .event-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-location {
        align-items: center;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .theme-separator {
        display: block;
        margin: 0.5rem 0;
    }

    .hidden-title {
        min-height: 50px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
        text-align: center !important;
    }

    .hidden-title #titleText {
        width: 220px;
        max-width: calc(100vw - 40px);
        font-size: 1.1em;
        padding: 8px 20px;
        white-space: nowrap;
        overflow: visible;
        position: relative;
        display: inline-block !important;
        font-family: var(--font-matrix) !important;
        text-align: center;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .hero-content {
        min-height: 60vh;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 0;
    }

    .hero-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        justify-content: center;
    }

    .hero-details {
        height: 140px;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-evenly !important;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

    .detail-item {
        height: 35px;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100%;
        max-width: 310px;
        margin: 0 auto;
        gap: 0.8rem;
        overflow: hidden;
    }

    .detail-item span {
        font-family: var(--font-matrix) !important;
        width: 250px;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.9rem;
        display: inline-block;
    }

    .hero-buttons-section {
        background: #000000;
        padding: 2rem 0;
        position: relative;
        z-index: 5;
        flex-shrink: 0;
    }

    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        width: 100%;
    }

    .mascot-logo {
        height: 80px;
    }

    .about-stats {
        flex-direction: column;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .hidden-title #titleText {
        width: auto;
        max-width: calc(100vw - 30px);
        font-size: 1em;
        padding: 8px 16px;
        overflow: visible;
        margin: 0 auto;
        text-align: center;
    }

    .detail-item span {
        width: 180px;
        font-size: 0.8em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
    }

    .event-card {
        padding: 2rem 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar {
        display: none;
    }

    .hero {
        min-height: 400px;
        padding: 2rem 0;
    }

    section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --ted-gray-light: #E0E0E0;
        --ted-gray-medium: #808080;
    }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
.nav-link:focus {
    outline: 2px solid var(--ted-red);
    outline-offset: 2px;
}

/* Smooth Scrolling for Webkit */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}