/* ============================================
   HABBORIO - Premium Dark Landing
   Professional • Playful • Pixel-Perfect
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Background Layers - Görseldeki renk paleti */
    --bg-void: #000000;
    --bg-deep: #0a0a0f;
    --bg-surface: #0f0f15;
    --bg-elevated: #15151c;
    --bg-card: #1a1a22;

    /* Premium Accents - Daha kurumsal tonlar */
    --accent-gold: #d4af37;
    --accent-gold-bright: #f4d03f;
    --accent-cyan: #00b8d4;
    --accent-cyan-dim: #0097a7;
    --accent-magenta: #e91e63;
    --accent-magenta-dim: #c2185b;
    --accent-green: #4caf50;
    --accent-purple: #7b1fa2;

    /* Glow Colors - Daha subtle */
    --glow-gold: rgba(212, 175, 55, 0.05);
    --glow-cyan: rgba(0, 184, 212, 0.04);
    --glow-magenta: rgba(233, 30, 99, 0.04);
    --glow-green: rgba(76, 175, 80, 0.04);

    /* Text */
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-dim: #52525b;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.15);

    /* Fonts */
    --font-display: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;

    /* Sizing */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   Loading Screen
   ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at top left, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(255, 140, 0, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(75, 0, 130, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 165, 0, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #0a0a0f 15%, #0f0f15 30%, #15151c 50%, #1a1a22 70%, #1e1e26 100%);
    background-attachment: fixed;
    transition: opacity 0.5s ease;
}

.loading-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('backgroundrio.jpg?v3');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.loading-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 40%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 33% 60%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 67% 80%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(2px 2px at 40% 90%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 75% 30%, rgba(255, 255, 255, 0.35), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: starsMove 120s linear infinite;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
    will-change: background-position;
    transform: translateZ(0);
}

.loading-logo-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo {
    height: 200px;
    width: auto;
    max-width: 600px;
    animation: logoPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
    will-change: transform;
    transform: translateZ(0);
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1) translateZ(0);
        opacity: 1;
    }

    50% {
        transform: scale(1.1) translateZ(0);
        opacity: 0.9;
    }
}

/* Loading screen fade out */
.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Loading Screen Responsive */
@media (max-width: 768px) {
    .loading-logo {
        height: 140px;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .loading-logo {
        height: 120px;
        max-width: 320px;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(ellipse at top left, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(255, 140, 0, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(75, 0, 130, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 165, 0, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #0a0a0f 15%, #0f0f15 30%, #15151c 50%, #1a1a22 70%, #1e1e26 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: 100vh;
    position: relative;
}

body.loaded {
    overflow-y: auto;
}

/* Rehber ve Ekip sayfaları için scroll'u aktif et */
body:has(.guide-page-header),
body:has(.team-header) {
    overflow-y: auto;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('backgroundrio.jpg?v3');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 40%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 33% 60%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 67% 80%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(2px 2px at 40% 90%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 75% 30%, rgba(255, 255, 255, 0.35), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: starsMove 120s linear infinite;
    opacity: 0.4;
    pointer-events: none;
    z-index: 2;
    will-change: background-position;
    transform: translateZ(0);
}

@keyframes starsMove {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   Noise Overlay
   ============================================ */
.noise {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    will-change: auto;
}

/* ============================================
   Ambient Glow Effects
   ============================================ */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(138, 43, 226, 0.04) 50%, transparent 100%);
    top: -200px;
    left: -150px;
    animation: glowPulse 30s ease-in-out infinite;
}

.glow-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.12) 0%, rgba(255, 140, 0, 0.04) 50%, transparent 100%);
    top: 20%;
    right: -200px;
    animation: glowPulse 35s ease-in-out infinite reverse;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(75, 0, 130, 0.12) 0%, rgba(75, 0, 130, 0.03) 50%, transparent 100%);
    bottom: -150px;
    left: 20%;
    animation: glowPulse 40s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.25;
        transform: scale(1) translateZ(0);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.03) translateZ(0);
    }
}


/* ============================================
   Main Content
   ============================================ */
.main-content {
    position: relative;
    z-index: 10;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
}


/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    padding: 4rem 0 3rem;
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    animation: heroGlow 8s ease-in-out infinite;
    will-change: opacity, transform;
}

@keyframes heroGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1) translateZ(0);
    }

    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.05) translateZ(0);
    }
}

.hero-logo {
    margin-bottom: 2rem;
    position: relative;
    animation: logoEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.1));
    will-change: transform, opacity;
    transform: translateZ(0);
}

.habborio-logo {
    height: 220px;
    width: auto;
    max-width: 700px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
    will-change: transform;
    transform: translateZ(0);
}

.habborio-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.habborio-logo:hover {
    transform: scale(1.03) translateZ(0);
    filter: drop-shadow(0 12px 48px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 60px rgba(212, 175, 55, 0.2));
}

.habborio-logo:hover::before {
    opacity: 1;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0.8);
    }

    60% {
        transform: translateY(10px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.hero-subtitle {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
    font-weight: 400;
    letter-spacing: 0.02em;
    will-change: opacity, transform;
    transform: translateZ(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px) translateZ(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    color: var(--bg-void);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover:not(.disabled) {
    background: rgba(212, 175, 55, 0.9);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.btn-ghost {
    background: rgba(26, 26, 34, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover:not(.disabled) {
    background: rgba(26, 26, 34, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0.75rem 1.25rem;
    background: rgba(21, 21, 28, 0.4);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin: 0 auto 1.5rem;
    max-width: 900px;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: var(--border-subtle);
}

/* ============================================
   Showcase Grid
   ============================================ */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 0 auto 1.75rem;
    max-width: 900px;
}

@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Showcase Cards
   ============================================ */
.showcase-card {
    position: relative;
    background: rgba(26, 26, 34, 0.35);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    /* Animation removed - content loads immediately during loading screen */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    will-change: transform;
    transform: translateZ(0);
}

/* Animation delays removed - content loads immediately */

/* cardEnter animation removed - content loads immediately */

/* Card Accents */
.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: opacity 0.3s ease;
}

.showcase-card[data-accent="gold"]::before {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-bright));
}

.showcase-card[data-accent="cyan"]::before {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-dim));
}

.showcase-card[data-accent="magenta"]::before {
    background: linear-gradient(90deg, var(--accent-magenta), var(--accent-purple));
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.015), transparent);
    transition: left 1s ease;
    pointer-events: none;
    will-change: left;
    transform: translateZ(0);
}

.showcase-card:hover .card-shine {
    left: 100%;
}

.showcase-card:hover {
    transform: translateY(-3px) translateZ(0);
    background: rgba(26, 26, 34, 0.45);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Featured Card */
.showcase-card.featured {
    background: linear-gradient(180deg, rgba(255, 45, 149, 0.05), var(--bg-card));
    border-color: rgba(255, 45, 149, 0.15);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--border-subtle);
}

.card-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 34, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.icon-badge,
.icon-furni {
    width: 18px;
    height: 18px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.pixel-icon {
    font-size: 0.875rem;
}

.star-icon {
    font-size: 0.875rem;
    color: var(--accent-magenta);
    animation: starPulse 3s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1) translateZ(0);
    }

    50% {
        transform: scale(1.05) translateZ(0);
    }
}

.card-title-group {
    flex: 1;
}

.card-title-group h2 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.card-subtitle {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.card-badge {
    padding: 0.125rem 0.375rem;
    font-size: 0.4375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 100px;
    background: rgba(26, 26, 34, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-badge.active {
    background: rgba(76, 175, 80, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--accent-green);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.card-badge.active.pulse {
    animation: badgePulse 3s ease-in-out infinite;
    will-change: box-shadow;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.3);
    }

    50% {
        box-shadow: 0 0 12px 0 rgba(57, 255, 20, 0.15);
    }
}

/* Card Footer */
.card-footer {
    margin-top: 0.625rem;
    padding-top: 0.625rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-info {
    font-size: 0.625rem;
    color: var(--text-dim);
}

/* ============================================
   Badges Grid
   ============================================ */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.25rem;
}

.badge-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 34, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.1875rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    will-change: transform;
    transform: translateZ(0);
}

.badge-item:hover {
    transform: scale(1.05) translateZ(0);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(240, 198, 116, 0.15);
}

.badge-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

/* ============================================
   Furni Grid
   ============================================ */
.furni-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3125rem;
}

.furni-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 34, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.25rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.furni-item:hover {
    transform: scale(1.03) translateY(-1px) translateZ(0);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.furni-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

/* ============================================
   Rares List
   ============================================ */
.rares-list {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
}

.rare-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(26, 26, 34, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    will-change: transform;
    transform: translateZ(0);
}

.rare-item:hover {
    border-color: var(--accent-magenta);
    transform: translateX(3px) translateZ(0);
    box-shadow: 0 0 15px rgba(255, 45, 149, 0.12);
}

.rare-preview {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 21, 28, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    overflow: hidden;
}

.rare-preview img,
.rare-image {
    width: 100%;
    height: 100%;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    image-rendering: auto;
    /* GIF'ler için auto kullan */
}

.rare-info {
    flex: 1;
    min-width: 0;
}

.rare-name {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rare-meta {
    display: flex;
    align-items: center;
    gap: 0.4375rem;
    font-size: 0.5625rem;
    color: var(--text-muted);
}

.rare-price {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.rare-date {
    color: var(--text-dim);
}

.rare-arrow {
    color: var(--accent-magenta);
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(-10px) translateZ(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
    will-change: opacity, transform;
}

.rare-item:hover .rare-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Passive Section
   ============================================ */
.passive-section {
    margin-bottom: 1.75rem;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.divider-text {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
}

@media (max-width: 900px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

.module-card {
    position: relative;
    padding: 1rem;
    background: rgba(21, 21, 28, 0.35);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    will-change: transform;
    transform: translateZ(0);
}

/* Module card top border removed */

.module-card.passive {
    opacity: 0.35;
    filter: grayscale(100%) brightness(0.6);
    background: rgba(15, 15, 21, 0.25);
    border-color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    cursor: not-allowed;
    position: relative;
}

.module-card.passive::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), transparent);
    border-radius: var(--radius-md);
    pointer-events: none;
}

.module-card.passive:hover {
    opacity: 0.4;
    filter: grayscale(100%) brightness(0.65);
    transform: none;
    background: rgba(15, 15, 21, 0.3);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.module-card:not(.passive) {
    opacity: 1;
    filter: none;
    background: rgba(21, 21, 28, 0.5);
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 20px rgba(57, 255, 20, 0.15);
    cursor: pointer;
}

.module-card:not(.passive):hover {
    transform: translateY(-3px) translateZ(0);
    background: rgba(21, 21, 28, 0.6);
    border-color: rgba(57, 255, 20, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(57, 255, 20, 0.25);
}

.module-icon {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.module-card h3 {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.module-card p {
    font-size: 0.6875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.module-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.75rem;
    background: rgba(26, 26, 34, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.module-card:not(.passive) .module-status {
    background: rgba(57, 255, 20, 0.2);
    border-color: rgba(57, 255, 20, 0.4);
    color: #39ff14;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.module-card:not(.passive) .status-dot {
    background: #39ff14;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

.module-card.passive .status-dot {
    background: var(--text-dim);
    box-shadow: none;
    animation: none;
}

.module-status .status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    will-change: opacity, transform;
    transform: translateZ(0);
}

/* ============================================
   Info Banner
   ============================================ */
.info-banner {
    position: relative;
    padding: 1rem 1.25rem;
    background: rgba(21, 21, 28, 0.4);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(240, 198, 116, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.banner-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(240, 198, 116, 0.1), transparent 70%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banner-icon {
    font-size: 1.25rem;
}

.banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.banner-text strong {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.banner-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    z-index: 10;
    padding: 1.5rem 1.25rem;
    background: rgba(15, 15, 21, 0.4);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: 0.75rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-brand:hover {
    opacity: 1;
}

.brand-habbo {
    color: var(--text-primary);
}

.brand-rio {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-fan-logo {
    margin: 0.75rem auto 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fan-site-logo {
    height: 60px;
    width: auto;
    max-width: 300px;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.6875rem;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(21, 21, 28, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-muted);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    will-change: transform;
    transform: translateZ(0);
}

.social-link:hover {
    background: rgba(26, 26, 34, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 2rem;
        min-height: 40vh;
    }

    .habborio-logo {
        height: 160px;
        max-width: 500px;
    }

    .hero-subtitle {
        font-size: 0.875rem;
        max-width: 90%;
    }

    .showcase-grid {
        max-width: 100%;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0.875rem 1rem;
    }

    .stat-divider {
        display: none;
    }

    .badges-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.15rem;
    }

    .badge-item {
        padding: 0.125rem;
    }

    .badge-item img {
        max-width: 100%;
        max-height: 100%;
    }

    .furni-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1.25rem 1rem;
    }

    .badges-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.1rem;
    }

    .badge-item {
        padding: 0.1rem;
    }

    .hero {
        padding: 2.5rem 0 1.5rem;
        min-height: 35vh;
    }

    .habborio-logo {
        height: 140px;
        max-width: 400px;
    }

    .hero-subtitle {
        font-size: 0.8125rem;
    }

    .fan-site-logo {
        height: 50px;
        max-width: 250px;
    }

    .footer-disclaimer {
        font-size: 0.625rem;
        max-width: 100%;
    }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-magenta));
    border-radius: 4px;
}

/* Selection */
::selection {
    background: var(--accent-gold);
    color: var(--bg-void);
}

/* ============================================
   Team Page Styles - Creative Design
   ============================================ */
.team-page {
    padding: 2rem 1.25rem 4rem;
    min-height: 100vh;
    position: relative;
}

/* Back Link */
.team-back-link,
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(26, 26, 34, 0.4);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    will-change: transform;
    transform: translateZ(0);
}

.team-back-link:hover,
.back-link:hover {
    background: rgba(26, 26, 34, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(-3px) translateZ(0);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Team Hero */
.team-hero,
.team-header {
    text-align: center;
    padding: 2rem 0 4rem;
    position: relative;
    z-index: 1;
}

.team-logo-container {
    margin-bottom: 1.5rem;
}

.team-logo,
.habborio-logo-small {
    height: 120px;
    width: auto;
    max-width: 450px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

.team-main-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-main-subtitle,
.team-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Team Sections Container */
.team-sections-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

/* Rank Section */
.team-rank-section {
    position: relative;
    padding: 2rem;
    background: rgba(26, 26, 34, 0.35);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.team-rank-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rank-color, var(--accent-gold)), transparent);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.team-rank-section:hover {
    transform: translateY(-3px) translateZ(0);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}

.team-rank-section:hover::before {
    opacity: 1;
}

/* Rank Header */
.rank-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.rank-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.rank-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.rank-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--rank-color, var(--accent-gold)), transparent);
    opacity: 0.3;
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    position: relative;
}

/* Member Card */
.member-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    background: rgba(21, 21, 28, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: visible;
    will-change: transform;
    transform: translateZ(0);
}

.member-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--rank-color, var(--accent-gold)), transparent);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(8px);
}

.member-card:hover {
    transform: translateY(-6px) scale(1.03) translateZ(0);
    background: rgba(21, 21, 28, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.member-card:hover::before {
    opacity: 0.3;
}

/* Member Avatar Wrapper */
.member-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    z-index: 1;
}

.member-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--rank-color, rgba(212, 175, 55, 0.3)) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.member-card:hover .member-glow {
    opacity: 1;
    animation: memberGlowPulse 3s ease-in-out infinite;
    will-change: transform;
}

@keyframes memberGlowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1) translateZ(0);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05) translateZ(0);
    }
}

.member-avatar,
.member-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    background: rgba(26, 26, 34, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: block;
    will-change: transform;
    transform: translateZ(0);
}

.member-card:hover .member-avatar,
.member-card:hover .member-avatar-img {
    border-color: var(--rank-color, var(--accent-gold));
    box-shadow: 0 0 30px var(--rank-color, rgba(212, 175, 55, 0.4)), 0 12px 32px rgba(0, 0, 0, 0.4);
    transform: scale(1.05) translateZ(0);
}

/* Member Info */
.member-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    text-align: center;
    width: 100%;
}

.member-name {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.member-card:hover .member-name {
    color: var(--rank-color, var(--accent-gold));
}

.member-rank,
.rank-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    background: rgba(26, 26, 34, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-card:hover .member-rank,
.member-card:hover .rank-badge {
    background: rgba(26, 26, 34, 0.6);
    border-color: var(--rank-color, rgba(212, 175, 55, 0.3));
    color: var(--rank-color, var(--accent-gold));
}

/* Lead Indicator */
.lead-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.9);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.125rem;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.5), 0 0 24px rgba(212, 175, 55, 0.4);
    animation: leadPulse 3s ease-in-out infinite;
    will-change: transform, box-shadow;
}

@keyframes leadPulse {

    0%,
    100% {
        transform: scale(1) translateZ(0);
        box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4), 0 0 24px rgba(212, 175, 55, 0.3);
    }

    50% {
        transform: scale(1.05) translateZ(0);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6), 0 0 32px rgba(212, 175, 55, 0.5);
    }
}

.member-card:hover .lead-indicator {
    transform: scale(1.15) rotate(10deg);
}

/* Member Lead */
.member-lead {
    border-color: rgba(212, 175, 55, 0.3) !important;
    background: rgba(26, 26, 34, 0.4) !important;
}

.member-lead::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.8), rgba(212, 175, 55, 0.4));
    border-radius: 3px 0 0 3px;
}

.member-lead:hover {
    border-color: rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), 0 0 40px rgba(212, 175, 55, 0.2) !important;
}

/* Rank Color Variables */
.team-rank-section[data-rank="yönetici"] {
    --rank-color: #d4af37;
}

.team-rank-section[data-rank="koordinatör"] {
    --rank-color: #00b8d4;
}

.team-rank-section[data-rank="moderatör"] {
    --rank-color: #e91e63;
}

.team-rank-section[data-rank="baş-haberci"],
.team-rank-section[data-rank="haberci"] {
    --rank-color: #4caf50;
}

.team-rank-section[data-rank="baş-oyun-içi-destek"],
.team-rank-section[data-rank="oyun-içi-destek"] {
    --rank-color: #7b1fa2;
}

.team-rank-section[data-rank="baş-mimar"],
.team-rank-section[data-rank="mimar"] {
    --rank-color: #00b8d4;
}

.team-rank-section[data-rank="düzenekçi"] {
    --rank-color: #ff2d95;
}

.team-rank-section[data-rank="grafiker"] {
    --rank-color: #9945ff;
}

.team-rank-section[data-rank="dj"] {
    --rank-color: #f0c674;
}

/* Rank Badge Colors */
.rank-yönetici {
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.15);
}

.rank-koordinatör {
    color: #00b8d4;
    border-color: rgba(0, 184, 212, 0.3);
    background: rgba(0, 184, 212, 0.15);
}

.rank-moderatör {
    color: #e91e63;
    border-color: rgba(233, 30, 99, 0.3);
    background: rgba(233, 30, 99, 0.15);
}

.rank-baş-haberci,
.rank-haberci {
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.3);
    background: rgba(76, 175, 80, 0.15);
}

.rank-baş-oyun-içi-destek,
.rank-oyun-içi-destek {
    color: #7b1fa2;
    border-color: rgba(123, 31, 162, 0.3);
    background: rgba(123, 31, 162, 0.15);
}

.rank-baş-mimar,
.rank-mimar {
    color: #00b8d4;
    border-color: rgba(0, 184, 212, 0.3);
    background: rgba(0, 184, 212, 0.15);
}

.rank-düzenekçi {
    color: #ff2d95;
    border-color: rgba(255, 45, 149, 0.3);
    background: rgba(255, 45, 149, 0.15);
}

.rank-mobinatör {
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.15);
}

.rank-grafiker {
    color: #9945ff;
    border-color: rgba(153, 69, 255, 0.3);
    background: rgba(153, 69, 255, 0.15);
}

.rank-dj {
    color: #f0c674;
    border-color: rgba(240, 198, 116, 0.3);
    background: rgba(240, 198, 116, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.25rem;
    }

    .member-avatar-wrapper {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .team-main-title {
        font-size: 2rem;
    }

    .team-sections-container {
        gap: 2rem;
    }

    .team-rank-section {
        padding: 1.5rem;
    }

    .rank-title {
        font-size: 1.5rem;
    }

    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }

    .member-avatar-wrapper {
        width: 90px;
        height: 90px;
    }

    .member-name {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .team-main-title {
        font-size: 1.75rem;
    }

    .team-sections-container {
        gap: 1.5rem;
    }

    .team-rank-section {
        padding: 1.25rem;
    }

    .rank-title {
        font-size: 1.25rem;
    }

    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.875rem;
    }

    .member-avatar-wrapper {
        width: 80px;
        height: 80px;
    }

    .member-card {
        padding: 1rem;
    }
}

/* ============================================
   Guide Page Styles
   ============================================ */
.guide-page-header {
    text-align: center;
    padding: 2rem 1.25rem 3rem;
    position: relative;
    z-index: 1;
}

.guide-page-header .back-link {
    position: absolute;
    top: 2rem;
    left: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(26, 26, 34, 0.4);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    will-change: transform;
    transform: translateZ(0);
}

.guide-page-header .back-link:hover {
    background: rgba(26, 26, 34, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.guide-hero {
    margin-top: 1rem;
}

.guide-logo {
    height: 100px;
    width: auto;
    max-width: 400px;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

.guide-page-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guide-page-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.guide-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
    position: relative;
}

/* Sidebar Navigation */
.guide-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.guide-sidebar::-webkit-scrollbar {
    width: 6px;
}

.guide-sidebar::-webkit-scrollbar-track {
    background: rgba(26, 26, 34, 0.3);
    border-radius: 3px;
}

.guide-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.guide-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.guide-nav {
    background: rgba(26, 26, 34, 0.4);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.nav-title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.nav-link {
    display: block;
    padding: 0.625rem 0.875rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
    position: relative;
    will-change: padding-left;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-magenta));
    border-radius: 0 3px 3px 0;
    transition: height 0.2s ease;
    will-change: height;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(26, 26, 34, 0.6);
    padding-left: 1.125rem;
}

.nav-link:hover::before {
    height: 60%;
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(26, 26, 34, 0.6);
    padding-left: 1.125rem;
    font-weight: 600;
}

.nav-link.active::before {
    height: 100%;
}

/* Content Wrapper */
.guide-content-wrapper {
    min-width: 0;
}

.guide-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-section {
    position: relative;
    padding: 1.75rem;
    background: rgba(26, 26, 34, 0.35);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    scroll-margin-top: 120px;
    will-change: transform;
    transform: translateZ(0);
}

.guide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-magenta));
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.guide-section:hover {
    transform: translateY(-3px) translateZ(0);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}

.guide-section:hover::before {
    opacity: 1;
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 34, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.guide-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.guide-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.guide-content p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.guide-content p:last-child {
    margin-bottom: 0;
}

.guide-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* List Styles */
.list-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ambassadors List */
.ambassadors-list,
.maw-list,
.staff-list {
    margin-top: 1.5rem;
}

.ambassador-items,
.maw-items,
.staff-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.ambassador-item,
.maw-item,
.staff-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(21, 21, 28, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
    transform: translateZ(0);
}

.ambassador-item:hover,
.maw-item:hover,
.staff-item:hover {
    background: rgba(21, 21, 28, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(3px) translateZ(0);
}

.ambassador-avatar,
.maw-avatar,
.staff-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(26, 26, 34, 0.3);
}

.ambassador-avatar img,
.maw-avatar img,
.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    display: block;
}

.ambassador-info,
.maw-info {
    flex: 1;
    min-width: 0;
}

.ambassador-info h4,
.maw-info h4,
.staff-item h4 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.ambassador-date,
.maw-date,
.maw-role {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin: 0;
}

.maw-role {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.125rem;
}

/* Staff Types */
.staff-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.staff-type {
    padding: 1rem;
    background: rgba(21, 21, 28, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
}

.staff-type h3 {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.staff-type p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .guide-layout {
        grid-template-columns: 240px 1fr;
        gap: 1.5rem;
    }

    .guide-nav {
        padding: 1.25rem;
    }

    .nav-link {
        font-size: 0.8125rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .guide-page-header {
        padding: 1.5rem 1rem 2rem;
    }

    .guide-page-header .back-link {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 1rem;
    }

    .guide-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem 4rem;
    }

    .guide-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }

    .guide-nav {
        position: sticky;
        top: 1rem;
        z-index: 10;
    }

    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        padding-left: 0.75rem;
    }

    .guide-section {
        padding: 1.25rem;
        scroll-margin-top: 100px;
    }

    .guide-page-title {
        font-size: 2rem;
    }

    .guide-logo {
        height: 80px;
        max-width: 300px;
    }

    .ambassador-items,
    .maw-items,
    .staff-items {
        grid-template-columns: 1fr;
    }

    .staff-types {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .guide-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .guide-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .guide-icon {
        width: 28px;
        height: 28px;
    }

    .guide-title {
        font-size: 1rem;
    }

    .guide-content p {
        font-size: 0.8125rem;
    }
}

/* ============================================
   Info Modal
   ============================================ */
.info-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.info-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    background: rgba(21, 21, 28, 0.95);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.1);
    padding: 2rem;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    overflow-y: auto;
    will-change: transform;
}

.info-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-gold);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.modal-image-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(26, 26, 34, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.modal-image {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    image-rendering: pixelated;
    object-fit: contain;
}

.modal-info {
    width: 100%;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    word-break: break-word;
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(26, 26, 34, 0.3);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-detail-label {
    font-weight: 600;
    color: var(--accent-gold);
}

.modal-detail-value {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 85vh;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .modal-image {
        max-width: 150px;
        max-height: 150px;
    }
}

/* ============================================
   Event Calendar
   ============================================ */
.event-calendar-section {
    margin: 3rem auto;
    max-width: 900px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.calendar-item {
    display: flex;
    gap: 1.25rem;
    background: rgba(26, 26, 34, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calendar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--text-muted);
}

.calendar-item.active::before {
    background: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.calendar-item.upcoming::before {
    background: var(--accent-cyan);
}

.calendar-item:hover {
    transform: translateY(-4px);
    background: rgba(26, 26, 34, 0.6);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.calendar-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    min-width: 65px;
    height: 65px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-date-badge .day {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}

.calendar-date-badge .month {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

.calendar-content {
    flex: 1;
}

.calendar-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.calendar-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.calendar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.active .status-tag {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
}

.upcoming .status-tag {
    background: rgba(0, 184, 212, 0.15);
    color: var(--accent-cyan);
}

.calendar-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.2s ease;
}

.calendar-link:hover {
    color: var(--accent-gold-bright);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }
}

.calendar-item.ended::before {
    background: var(--text-dim);
}

.calendar-item.ended {
    opacity: 0.7;
    filter: grayscale(0.5);
}

.calendar-item.ended:hover {
    opacity: 0.9;
    filter: grayscale(0.2);
    border-color: var(--border-medium);
}

.ended .status-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}