/* Gamoking - Main Stylesheet */

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

:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --secondary: #00cec9;
    --success: #00b894;
    --danger: #d63031;
    --warning: #fdcb6e;
    --info: #0984e3;
    --dark: #2d3436;
    --gray: #636e72;
    --gray-light: #b2bec3;
    --light: #dfe6e9;
    --lighter: #f1f3f5;
    --white: #ffffff;
    --bg: #f8f9fa;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 4px 20px rgba(108, 92, 231, 0.15);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --transition: all 0.2s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 15px;
}

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

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--dark);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 0.5em; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

small { font-size: 0.85rem; color: var(--gray); }

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--light);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(108, 92, 231, 0.06);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-credits {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    color: var(--dark);
}

/* Transparent navbar for homepage */
.navbar-transparent {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
    position: absolute;
    width: 100%;
}

.navbar-transparent .logo { color: var(--white); }
.navbar-transparent .nav-links a { color: rgba(255,255,255,0.8); }
.navbar-transparent .nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}
.btn-success:hover { background: #00a884; color: var(--white); }

.btn-danger {
    background: var(--danger);
    color: var(--white);
}
.btn-danger:hover { background: #c0392b; color: var(--white); }

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--gray);
    border: 2px solid var(--light);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-link {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 8px;
}
.btn-link:hover { color: var(--danger); }

.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.btn-xs { padding: 4px 10px; font-size: 0.75rem; }

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

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

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    max-width: 600px;
    border: 1px solid rgba(0,0,0,0.04);
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.stat-card .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-card .stat-label {
    display: block;
    color: var(--gray);
    font-size: 0.82rem;
    margin-top: 6px;
    font-weight: 500;
}

.stat-card .stat-link {
    display: block;
    margin-top: 12px;
    font-size: 0.8rem;
}

.stat-card.highlight {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(108,92,231,0.02) 0%, rgba(162,155,254,0.04) 100%);
}

/* Grids */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.feature-grid, .module-grid, .game-grid, .package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Module Cards */
.module-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.module-card.active {
    border-left: 4px solid var(--success);
}

.module-card .price {
    display: block;
    margin: 8px 0;
    font-weight: 700;
    color: var(--primary);
}

/* Game Cards */
.game-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.game-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.game-card-large {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.game-card-large:hover {
    box-shadow: var(--shadow-hover);
}

.game-card-large .game-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.game-subdomain {
    margin-top: 4px;
}

.game-subdomain code {
    background: rgba(108, 92, 231, 0.08);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Package Cards */
.package-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.package-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.03);
}

.package-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-credits {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0;
}

.package-price {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 16px;
}

/* Module Showcase (homepage) */
.module-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.module-showcase-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 14px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.module-name {
    font-weight: 600;
    color: var(--dark);
}

.module-price {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

.module-price.free {
    color: var(--success);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.step {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 16px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--gray);
    font-size: 0.9rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-group input::placeholder {
    color: var(--gray-light);
}

.form-group .error {
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 4px;
    display: block;
}

.form-hint {
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: rgba(0, 184, 148, 0.1);
    color: #00855a;
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.alert-error {
    background: rgba(214, 48, 49, 0.1);
    color: #c0392b;
    border: 1px solid rgba(214, 48, 49, 0.2);
}

.alert-info {
    background: rgba(9, 132, 227, 0.1);
    color: #0770c0;
    border: 1px solid rgba(9, 132, 227, 0.2);
}

.alert-warning {
    background: rgba(253, 203, 110, 0.2);
    color: #856404;
    border: 1px solid rgba(253, 203, 110, 0.4);
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table th, .table td {
    padding: 13px 18px;
    text-align: left;
    border-bottom: 1px solid var(--lighter);
}

.table th {
    background: var(--bg);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--gray);
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: rgba(108, 92, 231, 0.02);
}

.table-sm th, .table-sm td {
    padding: 10px 14px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: var(--lighter);
    color: var(--gray);
}

.badge-active, .badge-success { background: rgba(0,184,148,0.12); color: #00855a; }
.badge-paused, .badge-warning { background: rgba(253,203,110,0.2); color: #856404; }
.badge-closed, .badge-suspended, .badge-danger { background: rgba(214,48,49,0.1); color: #c0392b; }
.badge-purchase { background: rgba(0,184,148,0.12); color: #00855a; }
.badge-spend { background: rgba(214,48,49,0.1); color: #c0392b; }
.badge-refund { background: rgba(253,203,110,0.2); color: #856404; }
.badge-bonus { background: rgba(9,132,227,0.1); color: #0770c0; }
.badge-primary { background: rgba(108,92,231,0.1); color: var(--primary); }

/* Text utilities */
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-primary { color: var(--primary); }
.text-gray { color: var(--gray); }
.text-center { text-align: center; }

/* Hero */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, #6c5ce7 0%, #4834d4 50%, #a29bfe 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.15;
}

.hero .highlight {
    background: linear-gradient(135deg, #ffd700, #ff9f43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-actions .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.hero-actions .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
}

.hero-stat .value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
}

.hero-stat .label {
    font-size: 0.82rem;
    opacity: 0.7;
}

/* Sections */
.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    margin-top: -8px;
    margin-bottom: 32px;
}

.features, .modules-preview {
    padding: 80px 0;
}

.features h2, .modules-preview h2, .how-it-works h2 {
    text-align: center;
    margin-bottom: 8px;
}

.cta {
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
    color: var(--white);
    padding: 80px 0;
}

.cta h2 { color: var(--white); margin-bottom: 12px; }
.cta p { opacity: 0.8; margin-bottom: 24px; font-size: 1.05rem; }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 16px;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    gap: 16px;
}

/* Info Box */
.info-box {
    background: rgba(9, 132, 227, 0.06);
    border: 1px solid rgba(9, 132, 227, 0.15);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-top: 24px;
}

.info-box ul {
    padding-left: 20px;
    margin-top: 8px;
}

.form-info {
    background: var(--lighter);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 0.9rem;
}

.form-info ul {
    padding-left: 20px;
    margin-top: 6px;
}

/* Profile */
.profile-card {
    max-width: 600px;
}

.profile-avatar {
    margin-bottom: 20px;
}

.avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--lighter);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-weight: 600;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

.pagination a {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--light);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: var(--white);
}

/* Footer */
.footer {
    padding: 24px 0;
    text-align: center;
    color: var(--gray);
    border-top: 1px solid var(--light);
    margin-top: 48px;
    font-size: 0.85rem;
}

/* Share Link */
.share-link {
    background: var(--lighter);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-top: 12px;
}

.share-link code {
    word-break: break-all;
    color: var(--primary);
    font-weight: 500;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid var(--light);
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--dark);
    font-size: 0.85rem;
}

.dropdown-menu a:hover {
    background: var(--lighter);
    color: var(--primary);
}

.dropdown-divider {
    border-top: 1px solid var(--lighter);
    margin: 4px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero { padding: 100px 0 60px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { gap: 24px; }

    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--light);
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 12px 16px; width: 100%; }

    .game-card-large { flex-direction: column; gap: 12px; align-items: flex-start; }
    .game-card-large .game-actions { width: 100%; }
    .page-header { flex-direction: column; align-items: flex-start; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }

    .form-card { padding: 24px 20px; }
    .form-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 12px; }
}

/* Error page */
.error-page {
    text-align: center;
    padding: 80px 0;
}

.error-page h1 {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

/* Transitions */
.fade-in {
    animation: fadeIn 0.3s ease;
}

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

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Tooltip */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

[data-tooltip]:hover::after {
    opacity: 1;
}
