:root {
    --bg-color: #050505;
    --accent-color: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    transition: --accent-color 1s ease, --accent-glow 1s ease;
}

/* Aurora Animated Background */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
    background: radial-gradient(circle at center, #0f0f1d 0%, #050505 100%);
}

.aurora-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    mix-blend-mode: screen;
}

.aurora-1 {
    background: radial-gradient(ellipse at 30% 50%, var(--accent-color) 0%, transparent 60%);
    animation: auroraMove1 12s ease-in-out infinite;
}

.aurora-2 {
    background: radial-gradient(ellipse at 70% 30%, #d946ef 0%, transparent 60%);
    animation: auroraMove2 15s ease-in-out infinite;
    animation-delay: -5s;
}

.aurora-3 {
    background: radial-gradient(ellipse at 50% 70%, #06b6d4 0%, transparent 60%);
    animation: auroraMove3 18s ease-in-out infinite;
    animation-delay: -10s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    /* Hide default cursor */
}

a,
button,
input,
label,
select,
textarea {
    cursor: none !important;
}

/* Custom Cursor */
#custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--text-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

#cursor-trailer {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Cursor Hover States */
#custom-cursor.hovered {
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

#cursor-trailer.hovered {
    width: 60px;
    height: 60px;
    border-color: transparent;
    background-color: rgba(255, 255, 255, 0.05);
}

#custom-cursor.active {
    width: 6px;
    height: 6px;
}

#cursor-trailer.active {
    width: 30px;
    height: 30px;
    border-color: var(--text-primary);
    background-color: var(--accent-color);
    opacity: 0.5;
}

/* Language Controls */
.lang-tr .en {
    display: none;
}

.lang-en .tr {
    display: none;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.lang-switch button {
    background: none;
    border: none;
    color: inherit;
    cursor: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
}

.lang-switch button.active {
    color: var(--accent-color);
}

.lang-switch .separator {
    opacity: 0.3;
}

.about-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: none;
    transition: all 0.3s ease;
}

.about-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Nav Right Group */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    color: var(--text-primary);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: rotate(15deg);
}

.theme-toggle i,
.theme-toggle svg {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Dark mode: show moon, hide sun */
.dark-mode .theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg);
}

.dark-mode .theme-icon-light {
    opacity: 0;
    transform: rotate(90deg);
}

/* Light mode: show sun, hide moon */
.light-mode .theme-icon-dark {
    opacity: 0;
    transform: rotate(-90deg);
}

.light-mode .theme-icon-light {
    opacity: 1;
    transform: rotate(0deg);
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: transparent;
}

.bg-glow {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(120px);
    opacity: 0.6;
    transition: background 1s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2.5rem 3.5rem;
    text-align: center;
    max-width: 700px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.logo-wrapper {
    margin-bottom: 1.25rem;
    animation: float 6s ease-in-out infinite;
    transform: translateZ(50px);
}

.logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 0 20px var(--accent-glow));
    transition: filter 1s ease;
}

.title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    transform: translateZ(30px);
}

.highlight {
    background: var(--accent-color);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all 1s ease;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    transform: translateZ(20px);
    min-height: 3rem;
    /* Prevent layout shift */
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    transform: translateZ(40px);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    min-width: 70px;
}

.countdown-item span {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.countdown-item label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* Progress */
.progress-container {
    max-width: 320px;
    margin: 0 auto 1.5rem;
    transform: translateZ(25px);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    width: 85%;
    background: linear-gradient(90deg, var(--accent-color), #d946ef);
    border-radius: 10px;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: progressPulse 3s infinite;
    transition: background 1s ease, box-shadow 1s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    transform: translateZ(45px);
}

/* Action Cards */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.action-card {
    position: relative;
    text-decoration: none;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--glass-border), transparent 40%, transparent 60%, var(--glass-border));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-color), #d946ef, var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.action-card:hover::before {
    opacity: 1;
}

.action-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    filter: blur(30px);
}

.action-card:hover .action-card-glow {
    opacity: 0.5;
}

.action-card-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
    min-width: 220px;
}

.action-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(217, 70, 239, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.action-card-icon i,
.action-card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-color);
    transition: all 0.4s ease;
}

.action-card:hover .action-card-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(217, 70, 239, 0.2));
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.action-card:hover .action-card-icon i,
.action-card:hover .action-card-icon svg {
    color: var(--text-primary);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.action-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.action-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
}

.action-card-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.action-card:hover .action-card-desc {
    color: rgba(255, 255, 255, 0.5);
}

.action-card-arrow {
    display: flex;
    align-items: center;
    margin-left: auto;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.action-card-arrow i,
.action-card-arrow svg {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
}

.action-card:hover .action-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.action-card:hover {
    transform: translateY(-4px);
}

.action-card:active {
    transform: translateY(-1px);
}

.social-icon {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color);
    transform: scale(1.2) translateY(-3px);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
    transform: translateZ(10px);
}

/* Announcement Ticker */
.ticker-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.85) 100%);
    border-top: 1px solid var(--glass-border);
    z-index: 90;
    overflow: hidden;
    padding: 0.6rem 0;
    backdrop-filter: blur(10px);
}

.ticker-content {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
    width: max-content;
}

.ticker-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.ticker-sep {
    color: var(--accent-color);
    font-size: 0.6rem;
    opacity: 0.6;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    padding: 3rem;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: none;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-body {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateZ(50px) translateY(0);
    }

    50% {
        transform: translateZ(50px) translateY(-15px);
    }
}

@keyframes progressPulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.4);
    }
}

@keyframes auroraMove1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10%, -10%) scale(1.1);
    }

    66% {
        transform: translate(-5%, 10%) scale(0.95);
    }
}

@keyframes auroraMove2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-15%, 8%) scale(1.05);
    }

    66% {
        transform: translate(10%, -12%) scale(1.1);
    }
}

@keyframes auroraMove3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(8%, 15%) scale(1.1);
    }

    66% {
        transform: translate(-10%, -5%) scale(0.95);
    }
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Glitch Effect */
.highlight.glitching {
    animation: glitch 0.2s linear;
}

@keyframes glitch {

    0%,
    100% {
        text-shadow: none;
    }

    10% {
        text-shadow: 3px 0 #ff00ff, -3px 0 #00ffff;
        filter: brightness(1.5);
    }

    20% {
        text-shadow: -2px 0 #ff00ff, 2px 0 #00ffff;
    }

    30% {
        opacity: 0.8;
        text-shadow: none;
    }

    40% {
        text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff;
        opacity: 1;
    }

    50% {
        text-shadow: -1px 0 #ff00ff, 1px 0 #00ffff;
    }
}

/* Typing Cursor */
.typing-cursor {
    color: var(--accent-color);
    font-weight: 300;
    animation: cursorBlink 0.8s infinite;
    margin-left: 2px;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Easter Egg Hint */
.easter-egg-hint {
    margin-top: 1rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: color 0.5s ease;
}

.easter-egg-hint:hover {
    color: rgba(255, 255, 255, 0.35);
}

/* Game Overlay */
.game-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}

.game-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.game-container {
    text-align: center;
    padding: 1.5rem 2rem;
}

.game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.game-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    margin: 0;
}

.game-score {
    color: var(--accent-color);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.game-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.game-close:hover {
    color: var(--text-primary);
}

#game-canvas {
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: block;
    margin: 0 auto;
}

.game-controls {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== LIGHT MODE ===== */
.light-mode {
    --bg-color: #f5f5f7;
    --text-primary: #1a1a2e;
    --text-secondary: #52525b;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.08);
}

.light-mode .aurora-bg {
    background: radial-gradient(circle at center, #e8e8f0 0%, #f5f5f7 100%);
}

.light-mode .bg-glow {
    opacity: 0.3;
}

.light-mode .aurora-layer {
    opacity: 0.12;
}

.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.light-mode .footer {
    color: rgba(0, 0, 0, 0.3);
    border-top-color: rgba(0, 0, 0, 0.06);
}

.light-mode .action-card-inner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.light-mode .ticker-bar {
    background: linear-gradient(180deg, transparent 0%, rgba(245, 245, 247, 0.8) 30%, rgba(245, 245, 247, 0.95) 100%);
    border-top-color: rgba(0, 0, 0, 0.06);
}

.light-mode .modal-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.light-mode .modal-content.glass-card {
    background: rgba(255, 255, 255, 0.85);
}

.light-mode .progress-bar {
    background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 640px) {
    .top-nav {
        padding: 1.5rem;
    }

    .glass-card {
        padding: 3rem 1.5rem;
        margin: 1rem;
    }

    .title {
        font-size: 2rem;
    }

    .countdown {
        gap: 0.75rem;
    }

    .countdown-item span {
        font-size: 1.75rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .action-card-inner {
        min-width: 260px;
    }
}

/* Custom Cursor Styles */
#custom-cursor {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

#custom-cursor.hovered {
    width: 12px;
    height: 12px;
    background-color: #8b5cf6;
    box-shadow: 0 0 10px #8b5cf6;
}

#custom-cursor.active {
    width: 6px;
    height: 6px;
}

#cursor-trailer {
    width: 40px;
    height: 40px;
    border: 1px solid #8b5cf6;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

#cursor-trailer.hovered {
    width: 60px;
    height: 60px;
    border-color: transparent;
    background-color: rgba(255, 255, 255, 0.05);
}

#cursor-trailer.active {
    width: 30px;
    height: 30px;
    border-color: white;
    background-color: #8b5cf6;
    opacity: 0.5;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(80px);
    opacity: 0.5;
    transition: background 1s ease;
}

body {
    cursor: none !important;
}

a,
button,
input,
select,
textarea,
.interactive {
    cursor: none !important;
}

dialog,
dialog * {
    cursor: default !important;
}