﻿/* ========== PREMIUM DARK THEME - ENHANCED ========== */

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

html {
    scroll-behavior: auto;
    scrollbar-gutter: stable;
    overflow-y: scroll !important;
    height: 100%;
}

body {
    overflow-y: scroll !important;
}

/* Colors - Keep same */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-hover: #1f1f1f;
    --text-white: #f5f5f5;
    --text-gray: #b0b0b0;
    --border-light: #333333;
    --accent: #ffffff;
}

/* Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-gray);
}

h1 { font-size: 36px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
p { margin-bottom: 12px; }

a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

a:hover {
    color: var(--text-gray);
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    color: var(--text-white);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
    margin: 0;
    border-radius: 0;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.logo-group-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-group-link:hover {
    opacity: 0.9;
}

.logo-group-link:hover .logo-icon {
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.2));
    transform: scale(1.05);
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.logo-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-icon:hover {
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.2));
    transform: scale(1.05);
}

.logo {
    flex: 1;
    min-width: 0;
}

.logo h1 {
    font-size: 28px;
    color: var(--text-white);
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
}

.logo p {
    font-size: 11px;
    color: var(--text-gray);
    margin: 2px 0 0 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-white);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    background: transparent;
    border: 1px solid transparent;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--text-white);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-link.active::after {
    width: 70%;
}

/* Main */
.main {
    min-height: calc(100vh - 200px);
    padding: 50px 0;
}

section {
    margin-bottom: 70px;
}

.section-desc {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2, 1, 0.3, 1);
    text-decoration: none;
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--text-white);
    color: #000;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 2;
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
    color: #000;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-danger {
    background: #ff3333;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 51, 51, 0.1);
}

.btn-danger:hover {
    background: #e62020;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 51, 51, 0.25);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* Emoji White Background */
.emoji-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 1em;
    margin: 0 4px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(20,20,20,0.5) 100%);
    border-radius: 16px;
    margin-bottom: 50px;
    border: 1px solid var(--border-light);
    animation: heroEnter 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-white);
    animation: titlePop 900ms cubic-bezier(0.2, 1, 0.3, 1) both;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Servers Grid */
.servers-grid,
.servers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
    margin-top: 30px;
}

.server-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(15, 15, 15, 0.95) 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    opacity: 0;
    animation: slideInUp 500ms cubic-bezier(0.2, 1, 0.3, 1) both;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.country-code {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-white);
    min-width: 32px;
    letter-spacing: -1px;
    line-height: 1;
}

.header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.server-name {
    font-size: 18px;
    color: var(--text-white);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.server-ip-small {
    font-size: 12px;
    color: var(--text-gray);
    margin: 0;
    font-family: 'Monaco', 'Courier New', monospace;
    word-break: break-all;
}

.card-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.metric-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-label {
    font-size: 10px;
    color: rgba(176, 176, 176, 0.6);
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.metric-value {
    font-size: 15px;
    color: var(--text-white);
    font-weight: 700;
    font-family: 'Monaco', 'Courier New', monospace;
}

.ping-value {
    color: #4ade80;
}

.metric-status {
    font-size: 13px;
    color: #4ade80;
    font-weight: 700;
}

.metric-status.status-offline {
    color: #ff6b6b;
}

.card-secret {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
}

.secret-label {
    color: rgba(176, 176, 176, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.secret-value {
    color: var(--text-gray);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 11px;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    word-break: break-all;
}

.copy-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.7;
    flex-shrink: 0;
}

.copy-btn-icon:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.15);
}

.btn-connect {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #000;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-connect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-connect:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-connect:hover::before {
    left: 100%;
}

.btn-connect:active {
    transform: translateY(-1px);
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.server-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    transition: left 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.server-card:nth-child(1) { animation-delay: 100ms; }
.server-card:nth-child(2) { animation-delay: 150ms; }
.server-card:nth-child(3) { animation-delay: 200ms; }
.server-card:nth-child(4) { animation-delay: 250ms; }
.server-card:nth-child(5) { animation-delay: 300ms; }
.server-card:nth-child(6) { animation-delay: 350ms; }

.server-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 24px 72px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.server-card:hover::before {
    opacity: 1;
}

.server-card:hover::after {
    left: 100%;
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
    gap: 16px;
}

.server-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.server-title {
    font-size: 22px;
    color: var(--text-white);
    font-weight: 800;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0;
    flex-shrink: 0;
}

.server-ip {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    font-family: 'Monaco', 'Courier New', monospace;
    word-break: break-all;
}

.country-emoji {
    font-size: 48px;
    animation: float 3s ease-in-out infinite;
    flex-shrink: 0;
    line-height: 1;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(42, 107, 42, 0.4) 0%, rgba(42, 107, 42, 0.2) 100%);
    color: #90ff90;
    letter-spacing: 0.6px;
    border: 1px solid rgba(144, 255, 144, 0.2);
    box-shadow: 0 4px 12px rgba(42, 107, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #90ff90;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

.server-status.status-offline {
    background: linear-gradient(135deg, rgba(107, 42, 42, 0.4) 0%, rgba(107, 42, 42, 0.2) 100%);
    color: #ff9090;
    border-color: rgba(255, 144, 144, 0.2);
    box-shadow: 0 4px 12px rgba(107, 42, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.server-status.status-offline .status-dot {
    background: #ff9090;
    animation: none;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(42, 107, 42, 0.4) 0%, rgba(42, 107, 42, 0.2) 100%);
    color: #90ff90;
    letter-spacing: 0.6px;
    border: 1px solid rgba(144, 255, 144, 0.2);
    box-shadow: 0 4px 12px rgba(42, 107, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #90ff90;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

.server-status.status-offline {
    background: linear-gradient(135deg, rgba(107, 42, 42, 0.4) 0%, rgba(107, 42, 42, 0.2) 100%);
    color: #ff9090;
    border-color: rgba(255, 144, 144, 0.2);
    box-shadow: 0 4px 12px rgba(107, 42, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.server-status.status-offline .status-dot {
    background: #ff9090;
    animation: none;
}

.server-ping {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border: 1px solid rgba(144, 192, 255, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
    width: fit-content;
}

.server-ping.ping-fast {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.4) 0%, rgba(34, 197, 94, 0.2) 100%);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.server-ping.ping-ok {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0.2) 100%);
    color: #93c5fd;
    border-color: rgba(147, 197, 253, 0.3);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.server-ping.ping-slow {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.4) 0%, rgba(249, 115, 22, 0.2) 100%);
    color: #fed7aa;
    border-color: rgba(253, 186, 116, 0.3);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.server-ping.ping-unknown {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.4) 0%, rgba(107, 114, 128, 0.2) 100%);
    color: #d1d5db;
    border-color: rgba(209, 213, 219, 0.3);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.2);
}

.server-info {
    background: linear-gradient(135deg, rgba(12, 12, 12, 0.6) 0%, rgba(8, 8, 8, 0.8) 100%);
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* New Grid Layout */
.server-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.info-card {
    background: linear-gradient(135deg, rgba(25, 35, 50, 0.6) 0%, rgba(15, 20, 35, 0.8) 100%);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(35, 45, 65, 0.7) 0%, rgba(25, 30, 50, 0.9) 100%);
    transform: translateY(-2px);
}

.info-card .info-label {
    color: rgba(176, 176, 176, 0.7);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.info-card .info-value {
    color: var(--text-white);
    font-weight: 600;
    font-size: 18px;
    font-family: 'Monaco', 'Courier New', monospace;
}

.server-info-secret {
    background: linear-gradient(135deg, rgba(12, 12, 12, 0.6) 0%, rgba(8, 8, 8, 0.8) 100%);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.info-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.info-label {
    color: rgba(176, 176, 176, 0.8);
    font-weight: 700;
    min-width: 70px;
    font-size: 12px;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.info-value {
    color: var(--text-white);
    word-break: break-all;
    font-weight: 500;
    font-size: 13px;
    flex: 1;
    min-width: 0;
}

.secret-value {
    font-size: 12px;
    letter-spacing: 0.5px;
}

.copy-field-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    opacity: 0.6;
    hover: none;
}

.copy-field-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.15);
}

.copy-field-btn:active {
    transform: scale(0.95);
}

.server-status-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(42, 107, 42, 0.4) 0%, rgba(42, 107, 42, 0.2) 100%);
    color: #90ff90;
    letter-spacing: 0.6px;
    border: 1px solid rgba(144, 255, 144, 0.2);
    box-shadow: 0 4px 12px rgba(42, 107, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.server-status-inline.status-offline {
    background: linear-gradient(135deg, rgba(107, 42, 42, 0.4) 0%, rgba(107, 42, 42, 0.2) 100%);
    color: #ff9090;
    border-color: rgba(255, 144, 144, 0.2);
    box-shadow: 0 4px 12px rgba(107, 42, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.server-status-inline .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: inherit;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

.copy-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #000;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    font-weight: 700;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.copy-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.copy-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(255, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.copy-btn:hover::before {
    left: 100%;
}

.copy-btn:active {
    transform: translateY(-2px);
}

.copy-btn:active::after {
    width: 400px;
    height: 400px;
}

.copy-btn.copied {
    background: linear-gradient(135deg, #80ff80 0%, #70ff70 100%);
    box-shadow: 0 8px 20px rgba(128, 255, 128, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Server Actions */
.server-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.connect-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #000;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    font-weight: 700;
}

.connect-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.connect-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
}

.connect-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(255, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.connect-btn:hover::before {
    left: 100%;
}

.connect-btn:active {
    transform: translateY(-2px);
}

.connect-btn:active::after {
    width: 400px;
    height: 400px;
}
.filters {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 11px 20px;
    border: 2px solid var(--border-light);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--text-white);
    color: #000;
    border-color: var(--text-white);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* VPN Banner */
.vpn-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    color: var(--text-white);
    padding: 80px 30px;
    border-radius: 16px;
    text-align: center;
    margin: 50px 0;
    position: relative;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.vpn-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.vpn-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.vpn-banner h3 {
    position: relative;
    z-index: 1;
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 32px;
}

.vpn-banner p {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.vpn-banner .btn {
    position: relative;
    z-index: 1;
}

/* Instructions */
.instructions {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.instructions h3 {
    margin-bottom: 30px;
    font-size: 26px;
}

.instructions ol {
    margin-left: 24px;
}

.instructions li {
    color: var(--text-gray);
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 15px;
    transition: all 0.3s ease;
    padding-left: 12px;
}

.instructions li:hover {
    color: var(--text-white);
    transform: translateX(4px);
}

.instructions li::marker {
    color: var(--text-white);
    font-weight: 700;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 26px;
    margin-top: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(15, 15, 15, 0.95) 100%);
    padding: 56px 36px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    animation: slideInUp 600ms cubic-bezier(0.2, 1, 0.3, 1) both;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:nth-child(1) { animation-delay: 200ms; }
.stat-card:nth-child(2) { animation-delay: 300ms; }
.stat-card:nth-child(3) { animation-delay: 400ms; }

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-12px) scale(1.03);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-card:hover::after {
    left: 100%;
}

.stat-card:hover::before {
    width: 300px;
    height: 300px;
}

.stat-card h4 {
    font-size: 52px;
    color: var(--text-white);
    margin-bottom: 16px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.stat-card p {
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(10, 10, 10, 1) 100%);
    color: var(--text-gray);
    padding: 60px 0 30px 0;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 14px;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-section p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section li {
    font-size: 13px;
}

.footer a {
    color: var(--text-white);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-white);
    transition: width 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
}

.footer a:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 12px;
    color: rgba(176, 176, 176, 0.7);
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }
}

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

.modal.show {
    display: flex;
    animation: fadeIn 300ms ease;
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: modalPop 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.modal-title {
    font-size: 24px;
    color: var(--text-white);
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-gray);
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    color: var(--text-white);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.05);
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-white);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    font-family: 'Monaco', 'Courier New', monospace;
    min-height: 120px;
}

/* Server Actions */
.server-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.server-actions .copy-btn {
    flex: 2;
}

.server-actions .btn {
    flex: 1;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(15, 15, 15, 0.95) 100%);
    padding: 36px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    animation: slideInUp 500ms cubic-bezier(0.2, 1, 0.3, 1) both;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: -100%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
}

.benefit-card:nth-child(1) { animation-delay: 100ms; }
.benefit-card:nth-child(2) { animation-delay: 150ms; }
.benefit-card:nth-child(3) { animation-delay: 200ms; }
.benefit-card:nth-child(4) { animation-delay: 250ms; }
.benefit-card:nth-child(5) { animation-delay: 300ms; }
.benefit-card:nth-child(6) { animation-delay: 350ms; }

.benefit-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.benefit-card:hover::before {
    left: 50%;
    top: -25%;
}

.benefit-card:hover::after {
    bottom: -50%;
    opacity: 1;
}

.benefit-card h4 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 14px;
    font-weight: 800;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--text-gray) 100%);
    -webkit-background-clip: text;
}

.benefit-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}

/* Banners Grid */
.banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.banner-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(15, 15, 15, 0.95) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    animation: slideInUp 500ms cubic-bezier(0.2, 1, 0.3, 1) both;
    display: flex;
    flex-direction: column;
}

.banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.banner-card:nth-child(1) { animation-delay: 100ms; }
.banner-card:nth-child(2) { animation-delay: 150ms; }
.banner-card:nth-child(3) { animation-delay: 200ms; }

.banner-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-14px) scale(1.02);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    box-shadow: 0 24px 72px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.banner-card:hover::before {
    opacity: 1;
}

.banner-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    filter: brightness(0.95);
}

.banner-card:hover .banner-image {
    transform: scale(1.08);
    filter: brightness(1);
}

.banner-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.banner-content h4 {
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.banner-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.banner-content .btn {
    width: 100%;
    text-align: center;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Shop Section */
.shop-section {
    padding: 72px 0;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.5) 0%, rgba(15, 15, 15, 0.8) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.shop-section h3 {
    font-size: 36px;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
}

.shop-section .section-desc {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 36px;
}

/* Shop Tabs */
.shop-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
}

.tab-btn.active {
    background: var(--text-white);
    color: var(--bg-dark);
    border-color: var(--text-white);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    animation: slideInUp 500ms cubic-bezier(0.2, 1, 0.3, 1);
}

/* Large products grid for shop page */
.products-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    animation: slideInUp 500ms cubic-bezier(0.2, 1, 0.3, 1);
    max-width: 1000px;
    margin: 0 auto;
}

.shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Card */
.product-card {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.8) 0%, rgba(15, 15, 15, 0.95) 100%);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 0;
    opacity: 0;
    animation: slideInUp 500ms cubic-bezier(0.2, 1, 0.3, 1) both;
}

.product-card:nth-child(1) { animation-delay: 100ms; }
.product-card:nth-child(2) { animation-delay: 150ms; }
.product-card:nth-child(3) { animation-delay: 200ms; }
.product-card:nth-child(4) { animation-delay: 250ms; }
.product-card:nth-child(5) { animation-delay: 300ms; }
.product-card:nth-child(6) { animation-delay: 350ms; }

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    z-index: 0;
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.95) 0%, rgba(25, 25, 25, 0.99) 100%);
    box-shadow: 0 24px 72px rgba(255, 255, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover::after {
    left: -25%;
    top: -25%;
}

.product-header {
    padding: 20px 20px 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.product-name {
    font-size: 17px;
    color: var(--text-white);
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text-white) 0%, rgba(255,255,255,0.9) 100%);
    -webkit-background-clip: text;
}

.product-description {
    font-size: 12px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.product-description {
    font-size: 12px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    z-index: 2;
}

.product-body {
    padding: 12px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.product-features {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-features li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.product-features li::before {
    content: '✓';
    color: #4ade80;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
}

.product-footer {
    padding: 16px 20px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.product-price-currency {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 700;
}

.product-price-value {
    font-size: 24px;
    color: var(--text-white);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
}

.product-card .btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-block {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    padding: 60px 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    animation: slideInUp 600ms cubic-bezier(0.2, 1, 0.3, 1) both;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    pointer-events: none;
}

.cta-block::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

.cta-block:hover::before {
    left: -25%;
    top: -25%;
}

.cta-block:hover::after {
    right: -25%;
    bottom: -25%;
    opacity: 1;
}

.cta-block h3 {
    font-size: 30px;
    color: var(--text-white);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.cta-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.15));
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    animation: slideInUp 600ms cubic-bezier(0.2, 1, 0.3, 1) 100ms both;
}

.cta-block:hover .cta-logo {
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 8px 24px rgba(255, 255, 255, 0.25));
}

.cta-block .btn {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-top: 8px;
    animation: slideInUp 700ms cubic-bezier(0.2, 1, 0.3, 1) both;
}

.product-body {
    padding: 12px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-features {
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
    font-size: 12px;
    color: var(--text-gray);
}

.product-features li {
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-features li::before {
    content: '✓';
    color: #4ade80;
    font-weight: 700;
}

.product-footer {
    padding: 0 16px 16px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.product-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.product-price-currency {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
}

.product-card .btn {
    flex: 1;
    padding: 7px 10px;
    font-size: 12px;
}

/* Promo Banner */
.shop-promo-banner {
    padding: 20px 0;
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.8) 0%, rgba(15, 15, 15, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.banner-content-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.banner-icon-small {
    font-size: 40px;
    line-height: 1;
    color: #ffffff;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.1));
    flex-shrink: 0;
}

.banner-text-small {
    flex: 1;
    min-width: 0;
}

.banner-text-small h3 {
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 4px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.banner-text-small p {
    font-size: 12px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}

.banner-action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.price {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-white);
    white-space: nowrap;
}

.shop-promo-banner .btn {
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: #ff6b6b;
    transform: rotate(90deg);
}

.modal-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-title h2 {
    font-size: 24px;
    margin: 0;
}

.modal-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.modal-status.online {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.modal-status.offline {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-info-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-info-value {
    font-size: 16px;
    color: var(--text-white);
    font-weight: 600;
    word-break: break-all;
}

.modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.modal-actions .btn {
    flex: 1;
    min-width: 140px;
}

@media (max-width: 768px) {
    .banner-content-promo {
        gap: 16px;
    }
    
    .banner-text-small h3 {
        font-size: 14px;
    }
    
    .banner-text-small p {
        font-size: 11px;
    }
    
    .price {
        font-size: 16px;
    }
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.5) 0%, rgba(20, 20, 20, 0.8) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.why-choose h3 {
    font-size: 32px;
    color: var(--text-white);
    margin-bottom: 50px;
    text-align: center;
    font-weight: 800;
}

.why-choose .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.8) 0%, rgba(15, 15, 15, 0.95) 100%);
    padding: 32px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.benefit-card h4 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 700;
}

.benefit-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section h3 {
    font-size: 32px;
    color: var(--text-white);
    margin-bottom: 50px;
    text-align: center;
    font-weight: 800;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.8) 0%, rgba(15, 15, 15, 0.95) 100%);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.faq-question {
    font-size: 15px;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 700;
}

.faq-answer {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Guarantee Section */
.guarantee-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(20, 50, 100, 0.15) 0%, rgba(15, 25, 50, 0.2) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.guarantee-content {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    padding: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.guarantee-content h3 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 16px;
    font-weight: 800;
}

.guarantee-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@media (max-width: 768px) {
    .banner-content-promo {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .banner-text-promo h3 {
        font-size: 20px;
    }
    
    .promo-icon {
        font-size: 80px;
    }
}

.product-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.product-price-currency {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

.product-card .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.998);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titlePop {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    60% {
        transform: translateY(-2px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes pulse-dot {
    0% { 
        box-shadow: 0 0 0 0 rgba(144, 255, 144, 0.7);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(144, 255, 144, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(144, 255, 144, 0);
    }
}

.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

/* Utilities */
.loader {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 500;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 15, 15, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s linear;
    backdrop-filter: blur(10px);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.loader-spinner-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: spin 2s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.loader-text {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: fadeInOut 2s ease-in-out infinite;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--text-white), rgba(255, 255, 255, 0.5), var(--text-white));
    background-size: 200% 100%;
    animation: progressBar 2s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes progressBar {
    0% {
        background-position: 200% 0;
        width: 0%;
    }
    50% {
        background-position: -200% 0;
        width: 100%;
    }
    100% {
        background-position: 200% 0;
        width: 0%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    
    .header .container {
        padding: 0 16px;
    }
    
    .nav {
        width: 100%;
        gap: 6px;
    }
    
    .nav-link {
        padding: 9px 14px;
        font-size: 13px;
        flex: 1;
        text-align: center;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .servers-grid,
    .servers-list {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vpn-banner {
        padding: 60px 20px;
    }
    
    .instructions {
        padding: 30px;
    }
    
    section {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 22px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .logo p {
        font-size: 10px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .hero {
        padding: 40px 15px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 35px 20px;
    }
    
    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }
    
    .instructions {
        padding: 20px;
    }
    
    .server-card {
        padding: 18px;
    }
    
    .vpn-banner {
        padding: 40px 20px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
