/* ============================================
   VTHANGIOS PREMIUM LIGHT UI 2026
   ============================================ */

:root {
    --vi-bg-0: #f5f7fb;
    --vi-bg-1: #eef3ff;
    --vi-bg-2: #fef6ec;
    --vi-surface: rgba(255, 255, 255, 0.84);
    --vi-surface-solid: #ffffff;
    --vi-border: rgba(23, 37, 84, 0.10);
    --vi-text: #14213d;
    --vi-text-muted: #5f6f92;
    --vi-accent: #0b6bcb;
    --vi-accent-2: #ee8b22;
    --vi-accent-soft: rgba(11, 107, 203, 0.12);
    --vi-success: #1a9b61;
    --vi-radius-xl: 28px;
    --vi-radius-lg: 22px;
    --vi-radius-md: 16px;
    --vi-radius-sm: 12px;
    --vi-shadow-sm: 0 8px 18px rgba(20, 33, 61, 0.08);
    --vi-shadow: 0 16px 40px rgba(20, 33, 61, 0.12);
    --vi-shadow-lg: 0 28px 64px rgba(20, 33, 61, 0.16);
    --vi-blur: blur(18px) saturate(140%);
    --vi-glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.44));
    --vi-glass-edge: rgba(255, 255, 255, 0.66);
    --vi-glass-line: rgba(20, 33, 61, 0.09);
    --vi-glass-glow: 0 16px 36px rgba(122, 154, 220, 0.20), 0 10px 22px rgba(20, 33, 61, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    --vi-nav-h: calc(64px + env(safe-area-inset-top));
    --vi-font: 'Quicksand', 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--vi-font);
    color: var(--vi-text);
    background:
        linear-gradient(rgba(20, 33, 61, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 33, 61, 0.06) 1px, transparent 1px),
        radial-gradient(1200px 560px at -8% -6%, rgba(255, 214, 154, 0.40) 0%, transparent 62%),
        radial-gradient(980px 640px at 112% 100%, rgba(162, 196, 255, 0.34) 0%, transparent 66%),
        linear-gradient(180deg, #fcfdff 0%, #f4f7ff 55%, #eef3ff 100%);
    background-size: 88px 88px, 88px 88px, auto, auto, auto;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(620px 300px at 14% 10%, rgba(255, 255, 255, 0.62), transparent 74%),
        radial-gradient(760px 420px at 84% 86%, rgba(189, 214, 255, 0.36), transparent 76%);
}

body::before {
    content: '';
    display: block;
    height: calc(var(--vi-nav-h) + 10px);
}

main {
    width: min(1060px, calc(100% - 22px));
    margin: 0 auto;
    min-height: calc(100vh - var(--vi-nav-h) - 10px);
    padding-bottom: 0;
}

.vthangios-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--vi-nav-h);
    padding: env(safe-area-inset-top) clamp(14px, 3vw, 26px) 0;
    background: var(--vi-glass-bg);
    border-bottom: 1px solid var(--vi-glass-line);
    backdrop-filter: var(--vi-blur);
    -webkit-backdrop-filter: var(--vi-blur);
    box-shadow: var(--vi-glass-glow);
}

.vthangios-bell-btn,
.vthangios-theme-btn {
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--vi-glass-bg);
    color: var(--vi-accent);
    box-shadow: var(--vi-glass-glow);
    border: 1px solid var(--vi-glass-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vthangios-theme-btn {
    display: none;
}

.vthangios-bell-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(11, 107, 203, 0.18);
}

.vthangios-bell-btn:active {
    transform: scale(0.96);
}

.vthangios-bell-badge {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.14);
    animation: vthangios-badge 1.5s infinite ease-in-out;
}

@keyframes vthangios-badge {
    0%,
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.30); }
    50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0.0); }
}

.vthangios-notif-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    background: rgba(12, 19, 37, 0.26);
}

.vthangios-notif-overlay.open {
    display: block;
}

.vthangios-notif-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(430px, calc(100% - 24px));
    max-height: 76vh;
    display: flex;
    flex-direction: column;
    border-radius: var(--vi-radius-lg);
    border: 1px solid var(--vi-glass-line);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.74));
    box-shadow: var(--vi-shadow-lg);
    transform: translate(-50%, -45%) scale(0.98);
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 10001;
    transition: transform 0.22s cubic-bezier(.2, .8, .2, 1), opacity 0.2s ease;
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.vthangios-notif-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.vthangios-notif-header {
    padding: 14px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 800;
    border-bottom: 1px solid var(--vi-border);
}

.vthangios-notif-close {
    border: none;
    background: transparent;
    color: var(--vi-text-muted);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    font-size: 15px;
    cursor: pointer;
}

.vthangios-notif-body {
    overflow-y: auto;
    padding: 8px 0;
}

.vthangios-notif-item {
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
    padding: 12px 16px;
}

.vthangios-notif-item:last-child {
    border-bottom: 0;
}

.vthangios-notif-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.vthangios-notif-content {
    font-size: 13px;
    color: var(--vi-text-muted);
    line-height: 1.5;
    margin-bottom: 6px;
}

.vthangios-notif-content a {
    color: var(--vi-accent);
    text-decoration: none;
}

.vthangios-notif-time {
    font-size: 11px;
    color: #8491ae;
}

.vthangios-notif-empty {
    text-align: center;
    padding: 30px 16px;
    color: var(--vi-text-muted);
    font-size: 14px;
}

.vthangios-avatar-wrap {
    width: 136px;
    height: 136px;
    margin: 42px auto 18px;
    border-radius: 50%;
    position: relative;
}

.vthangios-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #0b6bcb, #4aa9ff, #f5a54f, #0b6bcb);
    animation: vthangios-rot 3.6s linear infinite;
}

.vthangios-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--vi-bg-0);
}

.vthangios-avatar {
    position: absolute;
    inset: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
}

@keyframes vthangios-rot {
    to { transform: rotate(360deg); }
}

.vthangios-iam {
    margin: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--vi-text-muted);
    letter-spacing: 0.4px;
}

.vthangios-name {
    margin: 7px 0 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: clamp(25px, 4.2vw, 34px);
    font-weight: 800;
    color: var(--vi-text);
    letter-spacing: -0.4px;
}

.vthangios-verify {
    width: 26px;
    height: 26px;
}

.vthangios-headline {
    margin: 10px 0 24px;
    text-align: center;
    color: var(--vi-text-muted);
    font-size: clamp(17px, 2.8vw, 20px);
    font-weight: 700;
}

.vthangios-gradient-text {
    background: linear-gradient(120deg, var(--vi-accent), var(--vi-accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.vthangios-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0 8px;
}

.vthangios-social-item {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    border: 1px solid rgba(20, 33, 61, 0.1);
    background: var(--vi-glass-bg);
    box-shadow: var(--vi-glass-glow);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vthangios-social-item img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.vthangios-social-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 24px rgba(20, 33, 61, 0.17);
}

.vthangios-linkbox-section {
    margin: 22px 0 10px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.vthangios-linkbox {
    height: 100%;
    padding: 20px;
    border-radius: var(--vi-radius-lg);
    background: var(--vi-glass-bg);
    border: 1px solid var(--vi-glass-line);
    box-shadow: var(--vi-glass-glow);
    backdrop-filter: blur(14px) saturate(155%);
    -webkit-backdrop-filter: blur(14px) saturate(155%);
    display: grid;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.vthangios-linkbox-item {
    padding: 12px;
    border-radius: var(--vi-radius-md);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62));
    border: 1px solid rgba(20, 33, 61, 0.09);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vthangios-linkbox-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--vi-text);
    text-align: left;
}

.vthangios-link-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--vi-accent);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.vthangios-filter-bar {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 190px;
    gap: 10px;
    padding: 10px;
    border-radius: var(--vi-radius-lg);
    border: 1px solid var(--vi-glass-line);
    background: var(--vi-glass-bg);
    box-shadow: var(--vi-glass-glow);
    backdrop-filter: blur(14px) saturate(155%);
    -webkit-backdrop-filter: blur(14px) saturate(155%);
    position: relative;
    overflow: hidden;
}

.vthangios-filter-search {
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(20, 33, 61, 0.1);
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}

.vthangios-filter-search i {
    color: #7b88a6;
}

.vthangios-filter-search input {
    width: 100%;
    border: 0;
    background: transparent;
    font-family: var(--vi-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--vi-text);
    outline: none;
}

.vthangios-filter-search input::placeholder {
    color: #98a4be;
}

.vthangios-filter-select {
    border-radius: 14px;
    border: 1px solid rgba(20, 33, 61, 0.1);
    background: #ffffff;
    height: 46px;
    color: var(--vi-text);
    font-family: var(--vi-font);
    font-size: 14px;
    font-weight: 700;
    padding: 0 36px 0 12px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #6478a2 50%), linear-gradient(135deg, #6478a2 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.vthangios-app-section {
    margin-top: 10px;
    margin-bottom: 40px;
}

.vthangios-group-block {
    margin-top: 16px;
}

.vthangios-group-block.hidden {
    display: none;
}

.vthangios-section-title {
    margin: 0 0 10px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: clamp(19px, 3vw, 24px);
    font-weight: 800;
    color: #12254d;
    text-align: center;
}

.vthangios-loading-icon {
    font-size: 18px;
    color: var(--vi-accent);
    animation: vthangios-spin 1.2s linear infinite;
}

@keyframes vthangios-spin {
    to { transform: rotate(360deg); }
}

.vthangios-app-list {
    display: grid;
    gap: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.vthangios-app-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--vi-radius-xl);
    border: 1px solid var(--vi-glass-line);
    background: var(--vi-glass-bg);
    box-shadow: var(--vi-glass-glow);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    overflow: hidden;
}

.vthangios-app-item::after {
    display: none;
}

.vthangios-app-item:last-child::after {
    display: none;
}

.vthangios-app-info {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vthangios-app-info img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(20, 33, 61, 0.16);
}

.vthangios-app-name {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--vi-text);
    word-break: break-word;
}

.vthangios-app-desc,
.vthangios-auto-time {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: var(--vi-text-muted);
}

.vthangios-download-btn {
    border: none;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    background: transparent;
    color: var(--vi-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
    flex-shrink: 0;
}

.vthangios-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.vthangios-download-btn:active {
    transform: scale(0.96);
}

.vthangios-wave {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-top: 26px;
    margin-bottom: 18px;
    line-height: 0;
}

.vthangios-wave svg {
    display: block;
    width: 100%;
    height: auto;
    transform: scaleY(1.24);
    transform-origin: bottom center;
}

.vthangios-footer {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-top: 0;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.88) 0%, rgba(255, 255, 255, 0.84) 100%);
    border-top: 1px solid rgba(20, 33, 61, 0.1);
    color: #4b5f87;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom));
    border-radius: 0;
    backdrop-filter: blur(10px) saturate(145%);
    -webkit-backdrop-filter: blur(10px) saturate(145%);
}

@keyframes vthangios-glass-float {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.vthangios-linkbox,
.vthangios-app-item,
.vthangios-social-item {
    animation: vthangios-glass-float 6s ease-in-out infinite;
}

.vthangios-cursor {
    width: 2px;
    height: 1em;
    background: var(--vi-accent);
    display: inline-block;
    vertical-align: -2px;
    margin-left: 2px;
    animation: vthangios-blink 0.85s infinite;
}

@keyframes vthangios-blink {
    0%,
    100% { opacity: 1; }
    50% { opacity: 0.15; }
}

.vthangios-alert-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 33, 61, 0.28);
    backdrop-filter: blur(6px);
}

.vthangios-alert-box {
    width: min(360px, 100%);
    border-radius: var(--vi-radius-lg);
    background: #ffffff;
    border: 1px solid rgba(20, 33, 61, 0.1);
    box-shadow: var(--vi-shadow-lg);
    padding: 20px;
    text-align: center;
}

.vthangios-alert-box h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 800;
}

.vthangios-alert-btn {
    margin-top: 10px;
    border-radius: 12px;
    border: 1px solid rgba(11, 107, 203, 0.25);
    background: var(--vi-accent-soft);
    color: var(--vi-accent);
    font-size: 14px;
    font-weight: 700;
    padding: 9px 18px;
    cursor: pointer;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

#introSplash {
  position: fixed;
  inset: 0;
    background:
        radial-gradient(760px 360px at 12% 12%, rgba(255, 214, 154, 0.35), transparent 68%),
        radial-gradient(860px 460px at 88% 88%, rgba(162, 196, 255, 0.30), transparent 72%),
                #f8fafc;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
    z-index: 999999;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.6s, visibility 0.6s;
}

#introSplash.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
  position: relative;
}

.splash-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid transparent;
    border-top-color: #76b3ff;
    border-top-color: color-mix(in srgb, var(--vi-accent) 58%, white 42%);
    border-right-color: var(--vi-accent);
    border-bottom-color: rgba(238, 139, 34, 0.36);
    border-bottom-color: color-mix(in srgb, var(--vi-accent-2) 38%, transparent);
  animation: spinRing 1.2s linear infinite;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes spinRing {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.splash-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
        border: 3px solid #76b3ff;
        border: 3px solid color-mix(in srgb, var(--vi-accent) 58%, white 42%);
        box-shadow: 0 10px 24px rgba(118, 179, 255, 0.34);
        box-shadow: 0 10px 24px color-mix(in srgb, var(--vi-accent) 26%, white 8%, transparent);
  animation: popIn 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

@keyframes popIn {
  from {
    transform: scale(0.3);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.splash-title {
  font-size: 26px;
  font-weight: 800;
    color: var(--vi-text);
  letter-spacing: 1px;
  animation: fadeUp 0.5s 0.3s both;
}

.splash-sub {
  font-size: 14px;
    color: var(--vi-text-muted);
  margin-top: 6px;
  animation: fadeUp 0.5s 0.5s both;
}

.splash-loader {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  animation: fadeUp 0.5s 0.6s both;
}

.splash-loader span {
  width: 60px;
  height: 3px;
    background: linear-gradient(90deg, var(--vi-accent), #4f95da);
    background: linear-gradient(90deg, var(--vi-accent), color-mix(in srgb, var(--vi-accent-2) 38%, var(--vi-accent) 62%));
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}

.splash-loader span::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  animation: shimmer 1s infinite;
}

@keyframes shimmer {
  to {
    left: 100%;
  }
}

@keyframes fadeUp {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Reveal main profile after splash finishes */
.vthangios-avatar-wrap,
.vthangios-iam,
.vthangios-name,
.vthangios-headline,
.vthangios-socials,
.vthangios-linkbox-section,
.vthangios-filter-bar,
.vthangios-app-section,
.vthangios-footer {
        transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}

body.vt-profile-pending .vthangios-avatar-wrap,
body.vt-profile-pending .vthangios-iam,
body.vt-profile-pending .vthangios-name,
body.vt-profile-pending .vthangios-headline,
body.vt-profile-pending .vthangios-socials,
body.vt-profile-pending .vthangios-linkbox-section,
body.vt-profile-pending .vthangios-filter-bar,
body.vt-profile-pending .vthangios-app-section,
body.vt-profile-pending .vthangios-footer {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(6px);
}

body.vt-profile-ready .vthangios-avatar-wrap { transition-delay: 0.02s; }
body.vt-profile-ready .vthangios-iam { transition-delay: 0.08s; }
body.vt-profile-ready .vthangios-name { transition-delay: 0.14s; }
body.vt-profile-ready .vthangios-headline { transition-delay: 0.2s; }
body.vt-profile-ready .vthangios-socials { transition-delay: 0.27s; }
body.vt-profile-ready .vthangios-linkbox-section { transition-delay: 0.34s; }
body.vt-profile-ready .vthangios-filter-bar { transition-delay: 0.4s; }
body.vt-profile-ready .vthangios-app-section { transition-delay: 0.46s; }
body.vt-profile-ready .vthangios-footer { transition-delay: 0.52s; }