:root {
    --primary-glow: #00f2fe;
    --secondary-glow: #4facfe;
    --accent-glow: #7b2ff7;
    --text-color: #ffffff;
    --glass-background: rgba(10, 10, 10, 0.4);
    --glass-border: rgba(255, 255, 255, 0.15);
    --neon-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    --font-display: 'Outfit', sans-serif;
    --font-ui: 'Lexend', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body.has-custom-cursor,
body.has-custom-cursor * {
    cursor: none !important;
}

body {
    background-color: #030303;
    color: var(--text-color);
    font-family: var(--font-ui);
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.01em;
}

/* Entry Overlay */
#entry-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 1s ease, visibility 1s;
}

.entry-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-glow);
    animation: pulse 2s infinite;
}

.entry-subtext {
    font-size: 0.8rem;
    color: #444;
    margin-top: 10px;
    text-align: center;
}

#entry-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Video Background */
#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.8);
    pointer-events: none;
    filter: contrast(1.1) brightness(0.9);
}

/* Quality Enhancement Overlays */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.05;
    pointer-events: none;
    background: url('https://upload.wikimedia.org/wikipedia/commons/7/70/Grainy_gradient.svg');
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(18, 16, 16, 0) 50%,
            rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(1px);
    z-index: 0;
}

/* Profile Card */
.profile-container {
    perspective: 1000px;
    z-index: 10;
}

.glass-card {
    background: var(--glass-background);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px 40px;
    width: 420px;
    text-align: center;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    animation: floating 4s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow:
        0 0 40px rgba(0, 242, 254, 0.15),
        0 0 80px rgba(0, 242, 254, 0.05);
}

.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary-glow);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111;
    box-shadow: var(--neon-shadow);
}

.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: #23a559;
    border: 4px solid #0a0a0a;
    border-radius: 50%;
}

.username {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 8px;
    text-transform: lowercase;
    background: linear-gradient(135deg, #fff 30%, var(--primary-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.3));
}

.typewriter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 30px;
    min-height: 1.2em;
}

/* Socials */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-item {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.social-item:hover {
    color: var(--primary-glow);
    filter: drop-shadow(0 0 12px var(--primary-glow));
    transform: translateY(-8px) scale(1.1);
}

/* Badges */
.badges {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 7px 15px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-glow);
    transform: scale(1.05);
}

.badge i {
    color: var(--primary-glow);
}

/* View Counter */
.view-counter {
    margin-top: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.view-counter i {
    font-size: 0.9rem;
    color: var(--primary-glow);
    opacity: 0.7;
}

#view-count {
    color: var(--text-color);
    font-weight: 700;
}

/* Animations */
@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
        text-shadow: 0 0 20px var(--primary-glow);
    }
}

.fade-in {
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Global Scrollbar Hide */
* {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

*::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Custom Cursor: Minimalist Premium Style - HIGHEST PRIORITY */
.custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--primary-glow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: transform 0.15s cubic-bezier(0.23, 1, 0.32, 1);
    mix-blend-mode: difference;
}

/* Shop Trigger Button */
.shop-trigger {
    margin: 30px auto 0;
    position: relative;
    padding: 14px 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    outline: none;
}

.shop-trigger:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-glow);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.3);
    background: rgba(0, 242, 254, 0.05);
}

.shop-trigger i {
    font-size: 1.2rem;
    color: var(--primary-glow);
    filter: drop-shadow(0 0 5px var(--primary-glow));
    animation: iconPulse 2s infinite ease-in-out;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--primary-glow));
    }

    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 15px var(--primary-glow));
    }
}

/* Shop Modal Overlay - FLOATING GLASS SIDE PANEL */
.shop-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.shop-modal-overlay.active {
    display: flex !important;
    opacity: 1;
}

.shop-content {
    background: var(--glass-background);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    width: 450px;
    height: calc(100vh - 40px);
    margin-right: 20px;
    border-radius: 24px;
    padding: 50px 30px;
    position: relative;
    overflow-y: auto;
    transform: translateX(calc(100% + 40px));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.shop-modal-overlay.active .shop-content {
    transform: translateX(0);
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-header h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-glow);
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: lowercase;
}

.close-shop {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.close-shop:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
    color: #ff4757;
    transform: rotate(90deg) scale(1.1);
}

/* Product Grid */
.product-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-glow);
    opacity: 0;
    transition: 0.3s;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-glow);
    transform: translateX(-5px);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    font-size: 1.8rem;
    color: var(--primary-glow);
    min-width: 50px;
    height: 50px;
    background: rgba(0, 242, 254, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.1));
}

.product-info {
    flex: 1;
}

.product-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 2px;
    color: #fff;
}

.product-card p {
    font-size: 0.75rem;
    color: #aaa;
    line-height: 1.3;
}

.buy-btn {
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    color: #000;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.buy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px var(--primary-glow);
}

.product-card.special {
    border-color: var(--accent-glow);
}

.product-card.special .product-icon {
    color: var(--accent-glow);
}

.product-card.special .buy-btn {
    background: linear-gradient(135deg, var(--accent-glow), #a29bfe);
}

.product-card.special::before {
    background: var(--accent-glow);
}

/* Responsive Fixes & Optimization */
@media (max-width: 768px) {
    .custom-cursor {
        display: none !important;
        /* Mobilde özel imleci gizle */
    }

    .shop-modal-overlay {
        backdrop-filter: blur(10px);
        /* Mobilde daha yoğun bulanıklık */
    }

    .shop-content {
        width: 100vw;
        height: 100vh;
        margin-right: 0;
        border-radius: 0;
        padding: 40px 20px;
        transform: translateX(100%);
    }

    .glass-card {
        width: 90% !important;
        padding: 40px 20px !important;
    }

    .username {
        font-size: 2.2rem !important;
    }

    .product-card {
        padding: 15px;
    }

    .shop-header h2 {
        font-size: 1.8rem;
    }
}