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

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-elevated: #1a1a25;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --accent-gold-dark: #b8860b;
    --text-primary: #f0f0f5;
    --text-muted: #8888a0;
    --soldout-red: #c41e3a;
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #b8860b 100%);
}

html, body {
    height: 100%;
}

body.homepage {
    overflow: hidden;
}

.fp-scroll-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1;
}

.fp-section {
    width: 100%;
    min-height: 100vh;
    padding: 6rem 2rem 2rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fp-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: linear-gradient(to top, #050507 0%, #0f0b0a 18%, #1e1812 40%, #3d3020 65%, #8b7340 85%, #d4af37 100%);
    box-shadow: inset 0 0 140px rgba(212, 175, 55, 0.12);
    transform: translateY(100%) scale(1.03);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.fp-overlay.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.fp-overlay.fade-out {
    z-index: 99999;
    animation: overlayExit 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes overlayExit {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }
    40% {
        transform: translateY(-18%) scale(1.02);
        opacity: 1;
        visibility: visible;
    }
    100% {
        transform: translateY(100%) scale(1.02);
        opacity: 0;
        visibility: hidden;
    }
}

.fp-shimmer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.fp-shimmer::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.08) 45%, rgba(212,175,55,0.2) 50%, rgba(255,255,255,0.06) 55%, transparent 70%);
    transform: translateX(-100%) rotate(-35deg);
    opacity: 0;
}

.fp-shimmer.active::before {
    animation: shimmerSweep 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes shimmerSweep {
    0% {
        transform: translateX(-100%) rotate(-35deg);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: translateX(200%) rotate(-35deg);
        opacity: 0;
    }
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
                radial-gradient(ellipse 90% 70% at 50% 10%, rgba(212,175,55,0.08) 0%, transparent 55%),
                radial-gradient(ellipse 70% 90% at 90% 90%, rgba(255,255,255,0.04) 0%, transparent 50%),
                radial-gradient(ellipse 60% 60% at 10% 80%, rgba(212,175,55,0.06) 0%, transparent 45%),
                var(--bg-dark);
    background-size: 70px 70px, 70px 70px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
}

body:not(.touch-device) * {
    cursor: none !important;
}

body.touch-device {
    cursor: default;
}

body.touch-device .cursor-dot,
body.touch-device .cursor-trail,
body.touch-device .cursor-glow {
    display: none;
}

.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    margin-left: -250px;
    margin-top: -250px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(212,175,55,0.05) 30%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

body.admin-body {
    cursor: none;
}

body.admin-body .cursor-dot,
body.admin-body .cursor-trail,
body.admin-body .cursor-glow,
body.admin-body .cursor-trail span {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cursor-dot {
    display: block;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(255,255,255,1), 0 0 40px rgba(255,255,255,0.8), 0 0 60px rgba(255,255,255,0.4);
}

.cursor-trail {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 10000;
}

.cursor-trail span {
    position: fixed;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.scroll-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.scroll-flash.active {
    opacity: 1;
    animation: flashFade 0.6s ease-out forwards;
}

@keyframes flashFade {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.scroll-sweep {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    overflow: hidden;
}

.scroll-sweep::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 30%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 70%, transparent 100%);
    transition: opacity 0.3s;
}

.scroll-sweep.active::before {
    animation: sweepRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes sweepRight {
    0% { left: -100%; opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10,10,15,0.95) 0%, transparent 100%);
}

.main-nav-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.main-nav-inner .nav-link:first-child {
    min-width: 110px;
    text-align: right;
}

.main-nav-inner .nav-link:last-child {
    min-width: 110px;
    text-align: left;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.3s;
}

.nav-link:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.nav-brand {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 4px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand:hover {
    -webkit-text-fill-color: transparent;
    filter: brightness(1.15);
}

.nav-link.active {
    color: var(--accent-gold);
}

.nav-brand.active {
    filter: brightness(1.1);
}

main {
    position: relative;
    z-index: 1;
}

.section {
    min-height: 100vh;
    padding: 6rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.anasayfa-bolum1 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.ticket-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    perspective: 1200px;
}

.ticket-wrapper {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: ticketEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.ticket-wrapper:nth-child(1) { animation-delay: 0.1s; }
.ticket-wrapper:nth-child(2) { animation-delay: 0.25s; }
.ticket-wrapper:nth-child(3) { animation-delay: 0.4s; }

@keyframes ticketEntrance {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ticket-wrapper.soldout {
    opacity: 0.85;
}

.ticket-card {
    width: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(28,28,38,0.98) 0%, rgba(14,14,20,0.99) 100%);
    border: 1px solid rgba(212,175,55,0.2);
    box-shadow: 0 30px 80px -25px rgba(0,0,0,0.7),
                0 0 0 1px rgba(255,255,255,0.04) inset,
                0 1px 0 rgba(212,175,55,0.1) inset;
    transition: border-color 0.5s, box-shadow 0.5s;
    animation: ticketFloat 5s ease-in-out infinite;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.ticket-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, var(--accent-gold) 20%, var(--accent-gold-light) 50%, var(--accent-gold) 80%, transparent 95%);
    opacity: 0.85;
    z-index: 2;
    transition: opacity 0.4s, box-shadow 0.4s;
}

.ticket-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 35%, rgba(255,255,255,0.04) 42%, rgba(212,175,55,0.15) 50%, rgba(255,255,255,0.05) 58%, transparent 65%);
    transform: translateX(-100%) rotate(25deg);
    opacity: 0;
    pointer-events: none;
    transition: none;
}

.ticket-wrapper:nth-child(1) .ticket-card { animation-delay: 0s; }
.ticket-wrapper:nth-child(2) .ticket-card { animation-delay: 0.2s; }
.ticket-wrapper:nth-child(3) .ticket-card { animation-delay: 0.4s; }

.ticket-wrapper:not(.soldout):hover .ticket-card {
    border-color: rgba(212,175,55,0.45);
    box-shadow: 0 50px 100px -30px rgba(0,0,0,0.75),
                0 0 80px rgba(212,175,55,0.25),
                0 0 0 1px rgba(212,175,55,0.25),
                0 1px 0 rgba(212,175,55,0.2) inset;
    animation: none;
}

.ticket-wrapper:not(.soldout):hover .ticket-accent {
    opacity: 1;
    box-shadow: 0 0 20px rgba(212,175,55,0.6);
}

.ticket-wrapper:not(.soldout):hover .ticket-card::after {
    opacity: 1;
    animation: cardShimmer 0.7s ease-out forwards;
}

.ticket-wrapper.soldout:hover .ticket-card {
    transform: translateY(-4px);
}

@keyframes ticketFloat {
    0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
    50% { transform: translateY(-6px) rotateX(0) rotateY(0); }
}

@keyframes cardShimmer {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}

.ticket-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.ticket-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ticket-wrapper:not(.soldout):hover .ticket-image img {
    transform: scale(1.08);
}

.ticket-image-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0,0,0,0.9) 0%, transparent 60%),
                linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    pointer-events: none;
}

.ticket-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s;
}

.ticket-wrapper.soldout .ticket-overlay {
    display: none;
}

.ticket-action {
    background: linear-gradient(135deg, #e8c547 0%, #d4af37 50%, #c9a227 100%);
    color: #0a0a0f;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 4px;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 25px rgba(212,175,55,0.35),
                0 1px 0 rgba(255,255,255,0.2) inset;
    animation: ticketBtnPulse 3s ease-in-out infinite;
}

.ticket-wrapper:not(.soldout):hover .ticket-action {
    transform: scale(1.08);
    box-shadow: 0 12px 45px rgba(212,175,55,0.5),
                0 0 25px rgba(212,175,55,0.3),
                0 1px 0 rgba(255,255,255,0.3) inset;
    animation: none;
}

@keyframes ticketBtnPulse {
    0%, 100% { box-shadow: 0 4px 25px rgba(212,175,55,0.35), 0 1px 0 rgba(255,255,255,0.2) inset; }
    50% { box-shadow: 0 6px 32px rgba(212,175,55,0.5), 0 1px 0 rgba(255,255,255,0.25) inset; }
}

.ticket-info {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid rgba(212,175,55,0.12);
}

.ticket-number {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent-gold);
    opacity: 0.7;
}

.ticket-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ticket-wrapper:not(.soldout):hover .ticket-title {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.soldout-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
}

.ticket-wrapper.soldout .soldout-overlay {
    display: flex;
}

.soldout-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--soldout-red);
    letter-spacing: 10px;
    transform: rotate(-6deg);
    text-shadow: 0 0 40px rgba(196,30,58,0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    color: var(--text-muted);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    font-size: 2rem;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.anasayfa-bolum2 {
    min-height: 100vh;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.bolum2-reveal {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anasayfa-bolum2 .drag-game {
    position: relative;
}

.drag-game {
    max-width: 520px;
    margin: 0 auto;
    padding: 2.5rem;
    background: linear-gradient(145deg, rgba(26,26,35,0.9) 0%, rgba(18,18,26,0.95) 100%);
    border-radius: 24px;
    border: 1px solid rgba(212,175,55,0.2);
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

.game-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-subtitle {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.game-mobile-hint {
    display: none;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.game-board {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.game-pieces {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.drop-zone {
    aspect-ratio: 1;
    min-width: 72px;
    min-height: 72px;
    border: 2px dashed rgba(136,136,160,0.5);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: rgba(10,10,15,0.5);
    position: relative;
}

.drop-zone.drag-over {
    border-color: var(--accent-gold);
    border-style: solid;
    background: rgba(212,175,55,0.12);
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(212,175,55,0.2);
}

.drop-zone.filled {
    border-style: solid;
    border-color: rgba(212,175,55,0.5);
    background: rgba(212,175,55,0.08);
}

.drop-zone.filled .zone-label,
.drop-zone.filled .zone-slot {
    display: none;
}

.zone-label {
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.4;
}

.zone-slot {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.35;
}

.drag-item {
    width: 72px;
    height: 72px;
    background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    border: 2px solid rgba(212,175,55,0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--accent-gold);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.drag-item span {
    text-shadow: 0 0 20px rgba(212,175,55,0.3);
}

.drag-item:hover {
    border-color: var(--accent-gold);
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(212,175,55,0.25);
}

.drag-item.dragging {
    opacity: 0.4;
    transform: scale(0.95);
}

.game-pieces.drag-over {
    background: rgba(212,175,55,0.03);
    border-radius: 16px;
    padding: 0.5rem;
}

.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10001;
}

.success-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

.success-modal.active {
    display: flex;
}

.success-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.click-box {
    padding: 2rem 4rem;
    background: var(--gradient-gold);
    color: #0a0a0f;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 6px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(212,175,55,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: clickPulse 1.5s ease-in-out infinite;
}

.click-box:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.5);
}

@keyframes clickPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.section-content {
    max-width: 600px;
    text-align: center;
}

.section-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 2rem auto;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.25rem;
    background: var(--bg-elevated);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.contact-form button {
    padding: 1rem 2rem;
    background: var(--gradient-gold);
    border: none;
    border-radius: 12px;
    color: #0a0a0f;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.iletisim-not {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--bg-elevated);
    border-right: 1px solid rgba(212,175,55,0.15);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-muted);
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1rem;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s;
    text-align: left;
}

.admin-nav-item:hover {
    background: rgba(212,175,55,0.08);
    color: var(--text-primary);
}

.admin-nav-item.active {
    background: rgba(212,175,55,0.15);
    color: var(--accent-gold);
    box-shadow: inset 3px 0 0 var(--accent-gold);
}

.admin-nav-icon {
    font-size: 1.2rem;
}

.admin-logout {
    margin-top: auto;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.25s;
}

.admin-logout:hover {
    color: var(--accent-gold);
}

.admin-sync-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.admin-main {
    flex: 1;
    padding: 3rem 2.5rem;
    overflow-y: auto;
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-panel h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-panel-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.admin-ticket-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.admin-ticket-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.admin-ticket-card {
    animation: none;
    opacity: 1;
}

.admin-ticket-item .soldout-btn {
    min-width: 140px;
}

.ticket-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.soldout-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-elevated);
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.soldout-btn:hover {
    border-color: var(--soldout-red);
    color: var(--soldout-red);
}

.soldout-btn.active {
    background: rgba(196, 30, 58, 0.2);
    border-color: var(--soldout-red);
    color: var(--soldout-red);
}

.forms-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-card {
    background: var(--bg-elevated);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
}

.form-card p {
    margin: 0.25rem 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-card .form-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.empty-forms {
    color: var(--text-muted);
    padding: 2rem;
    text-align: center;
}

@media (max-width: 900px) {
    .admin-container {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        min-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1rem;
        gap: 0.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(212,175,55,0.15);
    }
    .admin-sidebar-title {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .admin-nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
    }
    .admin-logout {
        margin-top: 0;
        margin-left: auto;
    }
    .admin-main {
        padding: 2rem 1.5rem;
    }
    .admin-ticket-container {
        flex-direction: column;
        align-items: center;
    }
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.login-form {
    background: var(--bg-elevated);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.login-form h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-form input {
    padding: 1rem 1.25rem;
    background: var(--bg-dark);
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.login-form button {
    padding: 1rem;
    background: var(--gradient-gold);
    border: none;
    border-radius: 12px;
    color: #0a0a0f;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
}

.login-error {
    color: var(--soldout-red);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .main-nav {
        padding: 1rem 0.75rem;
        gap: 1rem;
    }

    .main-nav-inner {
        gap: 1.5rem;
    }

    .main-nav-inner .nav-link:first-child,
    .main-nav-inner .nav-link:last-child {
        min-width: auto;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .nav-brand {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .fp-section {
        padding: 5rem 1rem 2rem;
    }

    .anasayfa-bolum1 {
        padding: 6rem 1rem 3rem;
    }

    .ticket-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .ticket-card {
        width: 100%;
        max-width: 360px;
    }

    .ticket-image {
        height: 200px;
    }

    .ticket-info {
        padding: 1.25rem 1.5rem;
    }

    .ticket-title {
        font-size: 1.2rem;
    }

    .scroll-indicator {
        bottom: 1.5rem;
    }

    .drag-game {
        padding: 1.25rem;
        margin: 0 1rem;
        max-width: 100%;
        touch-action: manipulation;
    }

    .game-title {
        font-size: 1.4rem;
    }

    .game-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .game-mobile-hint {
        display: block;
    }

    .game-board {
        gap: 1.5rem;
    }

    .game-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .game-pieces {
        justify-content: center;
        gap: 0.75rem;
    }

    .drop-zone,
    .drag-item {
        min-width: 56px;
        min-height: 56px;
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }

    .zone-label {
        font-size: 1.2rem;
    }

    .hash-symbol {
        font-size: 5rem;
    }

    .click-box {
        padding: 1.25rem 2.5rem;
        font-size: 1.35rem;
    }

    .section {
        padding: 5rem 1rem 3rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .login-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 0.75rem 0.5rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .nav-brand {
        font-size: 1.25rem;
    }

    .fp-section {
        padding: 4.5rem 0.75rem 1.5rem;
    }

    .anasayfa-bolum1 {
        padding: 5rem 0.75rem 2rem;
    }

    .section {
        padding: 4.5rem 0.75rem 2rem;
    }

    .ticket-card {
        max-width: 100%;
    }

    .ticket-image {
        height: 180px;
    }

    .ticket-title {
        font-size: 1.1rem;
    }

    .ticket-info {
        padding: 1rem 1.25rem;
    }

    .soldout-text {
        font-size: 1.2rem;
        letter-spacing: 6px;
    }

    .drag-game {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .game-title {
        font-size: 1.2rem;
    }

    .drop-zone,
    .drag-item {
        min-width: 48px;
        min-height: 48px;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .zone-label {
        font-size: 1rem;
    }

    .click-box {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }

    .login-form {
        padding: 1.5rem 1rem;
    }
}

@supports (padding: env(safe-area-inset-top)) {
    .main-nav {
        padding-top: calc(1rem + env(safe-area-inset-top));
    }
    .fp-section {
        padding-top: calc(5rem + env(safe-area-inset-top));
    }
    .anasayfa-bolum1 {
        padding-top: calc(6rem + env(safe-area-inset-top));
    }
}
