:root {
    --primary: #00ffa3;
    --bg: #020408;
    --card: #0a0f16;
    --text: #ffffff;
    --text-muted: #708090;
    --accent-glow: rgba(0, 255, 163, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Unbounded', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(2, 4, 8, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: rotate(-10deg);
}

.logo-text {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
}

.auth-btn {
    background: var(--primary);
    color: black;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    box-shadow: 0 0 30px var(--accent-glow);
}

.auth-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--accent-glow);
}

/* Hero */
.hero {
    padding-top: 200px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 163, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

        .hero-title {
            font-size: 96px;
            font-weight: 900;
            line-height: 0.9;
            letter-spacing: -5px;
            text-transform: uppercase;
            margin-bottom: 32px;
        }

        .hero-title span {
            background: linear-gradient(to right, var(--primary), #fff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-desc {
            color: var(--text-muted);
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto 48px;
            font-weight: 500;
        }

        .hero-btns {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .btn-lg {
            padding: 18px 36px;
            border-radius: 16px;
            font-weight: 900;
            text-transform: uppercase;
            font-size: 13px;
            text-decoration: none;
            transition: 0.2s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .btn-primary {
            background: var(--primary);
            color: black;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            filter: brightness(1.1);
        }

        .btn-outline {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-3px);
        }

        /* Profile Styles */
        .profile-grid {
            display: grid;
            grid-template-columns: 340px 1fr;
            gap: 32px;
            padding-top: 160px;
            margin-bottom: 100px;
            align-items: start;
        }

        .profile-card {
            background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
            border-radius: 40px;
            padding: 48px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            text-align: center;
            position: sticky;
            top: 140px;
        }

        .profile-avatar-wrapper {
            position: relative;
            width: 140px;
            height: 140px;
            margin: 0 auto 32px;
        }

        .profile-avatar {
            width: 100%;
            height: 100%;
            border-radius: 40px;
            border: 2px solid var(--primary);
            object-fit: cover;
            box-shadow: 0 0 30px var(--accent-glow);
        }

        .profile-name {
            font-size: 28px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: -1px;
            margin-bottom: 8px;
            line-height: 1;
        }

        .profile-id {
            color: var(--text-muted);
            font-size: 11px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 40px;
            display: block;
        }

        .profile-content {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .content-block {
            background: rgba(255,255,255,0.01);
            border-radius: 48px;
            padding: 60px;
            border: 1px solid rgba(255, 255, 255, 0.03);
            position: relative;
            overflow: hidden;
        }

        .content-block::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: radial-gradient(circle at top left, rgba(0, 255, 163, 0.03), transparent 40%);
            pointer-events: none;
        }

        .block-title {
            font-size: 32px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: -1.5px;
            margin-bottom: 40px;
            line-height: 1;
        }

        .block-title span {
            color: var(--primary);
            filter: drop-shadow(0 0 15px var(--accent-glow));
        }

        .info-icon-wrapper {
            width: 64px;
            height: 64px;
            background: rgba(255,255,255,0.03);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 32px;
            color: var(--text-muted);
        }

        .profile-desc {
            color: var(--text-muted);
            font-size: 16px;
            font-weight: 500;
            line-height: 1.6;
            margin-bottom: 40px;
            max-width: 500px;
        }

        .btn-full {
            width: 100%;
            margin-bottom: 12px;
        }

        .btn-logout {
            background: transparent;
            border: 1px solid rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }

        .admin-badge {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid #ef4444;
            color: #ef4444;
            padding: 4px 12px;
            border-radius: 8px;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 16px;
            display: inline-block;
        }

        .admin-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 12px;
        }

        .admin-table th {
            text-align: left;
            padding: 0 24px;
            color: var(--text-muted);
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .admin-row {
            background: rgba(255,255,255,0.02);
            transition: 0.3s;
        }

        .admin-row:hover {
            background: rgba(255,255,255,0.04);
        }

        .admin-cell {
            padding: 24px;
            border-top: 1px solid rgba(255,255,255,0.03);
            border-bottom: 1px solid rgba(255,255,255,0.03);
        }

        .admin-cell:first-child {
            border-left: 1px solid rgba(255,255,255,0.03);
            border-radius: 24px 0 0 24px;
        }

        .admin-cell:last-child {
            border-right: 1px solid rgba(255,255,255,0.03);
            border-radius: 0 24px 24px 0;
        }

        .status-pill {
            padding: 6px 12px;
            border-radius: 100px;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
        }

        .admin-nav {
            display: flex;
            gap: 20px;
            margin-bottom: 40px;
        }

        .admin-nav-link {
            padding: 12px 24px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 14px;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 11px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: 0.3s;
        }

        .admin-nav-link:hover, .admin-nav-link.active {
            background: var(--primary);
            color: black;
            border-color: var(--primary);
            box-shadow: 0 0 20px var(--accent-glow);
        }

        .admin-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
        }

        .user-card {
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 24px;
            padding: 24px;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .role-badge {
            font-size: 9px;
            font-weight: 900;
            padding: 2px 8px;
            border-radius: 4px;
            text-transform: uppercase;
        }
        .role-admin { background: #ef4444; color: white; }
        .role-streamer { background: var(--primary); color: black; }
        .role-user { background: #444; color: white; }        .profile-card {
            background: var(--card);
            border-radius: 32px;
            padding: 40px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            height: fit-content;
        }

        .profile-avatar {
            width: 120px;
            height: 120px;
            border-radius: 32px;
            border: 2px solid var(--primary);
            margin-bottom: 24px;
            object-cover: cover;
        }

        .profile-name {
            font-size: 24px;
            font-weight: 900;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .profile-id {
            color: var(--text-muted);
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 32px;
        }

        .profile-content {
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .content-block {
            background: var(--card);
            border-radius: 32px;
            padding: 40px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .block-title {
            font-size: 20px;
            font-weight: 900;
            text-transform: uppercase;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .block-title span {
            color: var(--primary);
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-label {
            display: block;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-muted);
            margin-bottom: 12px;
        }

        .form-input {
            width: 100%;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 16px 20px;
            color: white;
            font-family: inherit;
            font-size: 14px;
            outline: none;
        }

        .form-input:focus {
            border-color: var(--primary);
        }
/* Streamers Grid */
.section-title {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.section-title div {
    display: flex;
    gap: 15px;
}

.section-title span {
    color: var(--primary);
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.view-all {
    font-size: 10px;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
}

.view-all:hover {
    color: var(--primary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}

.card {
    position: relative;
    height: 480px;
    background: var(--card);
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 30px var(--accent-glow);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: 0.7s;
}

.card:hover .card-img {
    transform: scale(1.1);
    opacity: 0.8;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #020408 0%, transparent 60%);
}

.card-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 10;
}

.card-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.card-name {
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.card-meta {
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.live-tag {
    position: absolute;
    top: 32px;
    left: 32px;
    background: rgba(0, 255, 163, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* SPA Transitions */
#page-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.page-loading {
    opacity: 0;
    transform: translateY(10px);
}

@media (max-width: 1024px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 64px; }
}

@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-title { font-size: 48px; letter-spacing: -2px; }
}

/* VooPLAY Profile V2 */
.profile-header-v2 {
    background: rgba(10, 12, 16, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
}

.profile-info-v2 {
    display: flex;
    gap: 32px;
    align-items: center;
}

.avatar-v2-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
}

.avatar-v2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 40px rgba(0, 255, 163, 0.1);
}

.status-dot {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid #0a0c10;
}

.status-dot.online { background: #00ffa3; box-shadow: 0 0 15px #00ffa3; }
.status-dot.offline { background: #444; }

.user-meta-v2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vooplay-id {
    font-size: 10px;
    font-weight: 900;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 12px;
    border-radius: 100px;
    width: fit-content;
}

.username-v2 {
    font-size: 48px;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.badges-v2 {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.badge-v2 {
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.streamer-badge {
    background: rgba(0, 255, 163, 0.05);
    color: var(--primary);
    border: 1px solid rgba(0, 255, 163, 0.1);
}

.profile-actions-v2 {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.btn-v2 {
    padding: 12px 24px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    text-decoration: none;
}

.btn-admin { background: #00d1ff; color: black; }
.btn-settings { background: rgba(255, 255, 255, 0.05); color: white; }
.btn-lolz { background: #00ffa3; color: black; border-radius: 20px; padding: 16px 32px; font-size: 13px; }

.profile-external-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.social-links-v2 {
    display: flex;
    gap: 12px;
}

.social-icon-v2 {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-v2:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.social-icon-v2.twitch:hover { color: #9146ff; border-color: #9146ff; }
.social-icon-v2.telegram:hover { color: #0088cc; border-color: #0088cc; }

/* Grid V2 */
.profile-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    margin-bottom: 100px;
}

.section-header-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.section-header-v2 h3 {
    font-size: 20px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.section-header-v2 h3 span { color: var(--primary); }

.player-container-v2 {
    aspect-ratio: 16/9;
    background: black;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-container-v2 {
    height: 600px;
    background: rgba(10, 12, 16, 0.5);
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.player-placeholder, .chat-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}

/* Modal V2 */
.modal-v2 {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content-v2 {
    background: #0a0c10;
    padding: 40px;
    border-radius: 40px;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.modal-header-v2 h3 { font-size: 24px; font-weight: 900; margin: 0; }
.modal-header-v2 button { background: none; border: none; color: white; font-size: 32px; cursor: pointer; }
/* Chat V2 Styles */
.chat-container-v2 {
    display: flex;
    flex-direction: column;
    height: 600px;
    background: rgba(10, 12, 16, 0.5);
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-messages-v2 {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-msg-v2 {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    animation: fadeIn 0.3s ease-out;
}

.chat-msg-v2.twitch-msg {
    border-left: 3px solid #9146ff;
}

.msg-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 12px;
}

.msg-time {
    color: var(--text-muted);
    font-size: 10px;
    margin-left: auto;
}

.msg-text {
    font-size: 13px;
    line-height: 1.4;
    color: #eee;
}

.chat-input-v2 {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-v2 .form-input {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 12px 20px;
}
/* VooPLAY Chat V3 */
.chat-msg-v3 {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 12px;
    animation: fadeIn 0.2s ease-out;
}

.msg-avatar-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.msg-avatar {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.msg-content-box {
    flex: 1;
    background: rgba(10, 12, 16, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 12px 20px;
    position: relative;
}

/* ??????? ?????????? ??????? ?????? */
.chat-msg-v3.is-streamer .msg-content-box {
    border: 1px solid rgba(255, 204, 0, 0.3);
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.05) 0%, transparent 100%);
}

.msg-username {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.msg-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    float: right;
}

.msg-text {
    margin-top: 4px;
    font-size: 13px;
    color: #eee;
    line-height: 1.5;
    font-weight: 400;
}

/* Twitch Message */
.chat-msg-v3.twitch-msg .msg-content-box {
    border-left: 4px solid #9146ff;
}

/* Custom Scrollbar for Chat */
.chat-messages-v2::-webkit-scrollbar {
    width: 4px;
}
.chat-messages-v2::-webkit-scrollbar-track {
    background: transparent;
}
.chat-messages-v2::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
