/* Custom CSS for TrollFurry Landing Page */

/* Base & Design System */
:root {
    --bg-color: #07060a;
    --card-bg: rgba(15, 14, 23, 0.6);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;

    --color-purple: #8b5cf6;
    --color-purple-rgb: 139, 92, 246;
    --color-blue: #3b82f6;
    --color-blue-rgb: 59, 130, 246;
    --color-green: #10b981;
    --color-green-rgb: 16, 185, 129;

    --glow-purple: 0 0 25px rgba(139, 92, 246, 0.25);
    --glow-blue: 0 0 25px rgba(59, 130, 246, 0.25);
    --glow-green: 0 0 25px rgba(16, 185, 129, 0.25);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
}

/* Background Glowing Orbs */
.bg-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    opacity: 0.15;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.orb-purple {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(var(--color-purple-rgb), 0.8) 0%, rgba(0, 0, 0, 0) 70%);
}

.orb-blue {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, rgba(var(--color-blue-rgb), 0.8) 0%, rgba(0, 0, 0, 0) 70%);
}

.orb-green {
    bottom: 200px;
    right: -200px;
    background: radial-gradient(circle, rgba(var(--color-green-rgb), 0.8) 0%, rgba(0, 0, 0, 0) 70%);
}

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

::-webkit-scrollbar-track {
    background: #0d0c15;
}

::-webkit-scrollbar-thumb {
    background: #27253a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b3956;
}

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography & Headers */
h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #c084fc 0%, #60a5fa 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: var(--transition-smooth);
}

.btn-glow:hover::after {
    opacity: 0.5;
}

/* Floating Header */
.header-container {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.nav-floating {
    background: rgba(10, 8, 16, 0.7);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    width: 90%;
    max-width: 900px;
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: -0.03em;
}

.logo-text span {
    color: #8b5cf6;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    padding: 3px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 99px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-cabinet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #fff;
    padding: 8px 18px;
    border-radius: 99px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-cabinet:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 200px 0 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: radial-gradient(circle at center, rgba(13, 11, 22, 0.7) 0%, #07060a 100%),
        url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=1964&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 85vh;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(7, 6, 10, 0.2) 0%, #07060a 90%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content .badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c084fc;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    animation: fadeIn 1s ease-out;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #c084fc;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Regions Section */
.regions-section {
    padding: 100px 0;
    position: relative;
}

.regions-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* Chart Panel */
.chart-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.chart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}

.chart-legends {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.legend-color.pubg-global {
    background-color: var(--color-purple);
}

.legend-color.pubg-korea {
    background-color: var(--color-blue);
}

.legend-color.pubg-vietnam {
    background-color: var(--color-green);
}

.chart-container {
    position: relative;
    width: 100%;
    height: 220px;
}

.activity-chart {
    width: 100%;
    height: 100%;
}

/* Animations for Chart line drawing */
.chart-line-global {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease-out forwards;
}

.chart-line-korea {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3.5s ease-out forwards 0.2s;
}

.chart-line-vietnam {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 4s ease-out forwards 0.4s;
}

.chart-point {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chart-point:hover {
    transform: scale(1.3);
}

.ping-ring {
    animation: ping 2s infinite;
    transform-origin: center;
}

/* Regions Info Cards Grid */
.regions-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.r-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.r-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.r-card.active.region-purple {
    border-color: rgba(var(--color-purple-rgb), 0.4);
    background: rgba(var(--color-purple-rgb), 0.05);
    box-shadow: var(--glow-purple);
}

.r-card.active.region-blue {
    border-color: rgba(var(--color-blue-rgb), 0.4);
    background: rgba(var(--color-blue-rgb), 0.05);
    box-shadow: var(--glow-blue);
}

.r-card.active.region-green {
    border-color: rgba(var(--color-green-rgb), 0.4);
    background: rgba(var(--color-green-rgb), 0.05);
    box-shadow: var(--glow-green);
}

.r-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.r-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.r-ping {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ping-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.ping-dot.green {
    background-color: var(--color-green);
}

.ping-dot.yellow {
    background-color: #eab308;
}

.r-card-body h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.r-card-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Playtime Leaderboard Panel */
.leaderboard-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.leaderboard-header h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.leaderboard-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 14px 20px;
    transition: var(--transition-smooth);
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.leaderboard-item .rank {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-muted);
    width: 32px;
}

.leaderboard-item:nth-child(1) .rank {
    color: #f59e0b;
}

.leaderboard-item:nth-child(2) .rank {
    color: #94a3b8;
}

.leaderboard-item:nth-child(3) .rank {
    color: #b45309;
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    margin-right: 16px;
}

.player-avatar.av-purple {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.player-avatar.av-blue {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.player-avatar.av-green {
    background: linear-gradient(135deg, #059669, #34d399);
}

.player-details {
    flex-grow: 1;
}

.player-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.player-server {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.player-time {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
}

/* Tariffs Section */
.tariffs-section {
    padding: 100px 0;
    position: relative;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tariff-card {
    background: #0e0d15;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;

    /* Permanent composite layer & clipping fix */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    mask-image: -webkit-radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.tariff-card:hover {
    transform: translate3d(0, -8px, 0);
    -webkit-transform: translate3d(0, -8px, 0);
}

.tariff-card.popular {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

.popular-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 99px;
    z-index: 10;
    letter-spacing: 0.05em;
}

.card-image-box {
    position: relative;
    height: 240px;
    overflow: hidden;

    /* Hardware clipping preservation */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    mask-image: -webkit-radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.card-furry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
    z-index: 1;

    /* Fixed transform function signature to prevent layer promotion/demotion flash */
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
    -webkit-transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.tariff-card:hover .card-furry-img {
    transform: scale3d(1.05, 1.05, 1) translate3d(0, 0, 0);
    -webkit-transform: scale3d(1.05, 1.05, 1) translate3d(0, 0, 0);
}

.card-img-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 13, 21, 0) 40%, rgba(14, 13, 21, 1) 100%);
    z-index: 2;
    pointer-events: none;
}

.card-price-tag {
    position: absolute;
    bottom: 16px;
    left: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: -1px;
    position: relative;
    z-index: 2;
    background: #0e0d15;
}

.card-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.card-purple .card-badge {
    color: #a78bfa;
}

.card-blue .card-badge {
    color: #60a5fa;
}

.card-green .card-badge {
    color: #34d399;
}

.card-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #fff;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.card-features {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.card-purple .check-icon {
    color: #a78bfa;
}

.card-blue .check-icon {
    color: #60a5fa;
}

.card-green .check-icon {
    color: #34d399;
}

.btn-card-buy {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.card-purple:hover .btn-card-buy {
    background: var(--color-purple);
    border-color: var(--color-purple);
    box-shadow: var(--glow-purple);
}

.card-blue:hover .btn-card-buy,
.tariff-card.popular .btn-card-buy {
    background: var(--color-blue);
    border-color: var(--color-blue);
    box-shadow: var(--glow-blue);
}

.card-green:hover .btn-card-buy {
    background: var(--color-green);
    border-color: var(--color-green);
    box-shadow: var(--glow-green);
}

.tariffs-footer {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tariffs-footer a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}

.tariffs-footer a:hover {
    text-decoration: underline;
}

/* Steps / Guide Section */
.launch-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, #07060a 0%, #0d0c15 50%, #07060a 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    color: #c084fc;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #fff;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-box h2 {
    font-size: 2.5rem;
    color: #fff;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.btn-icon-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-icon-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer styling */
.main-footer {
    background: #040306;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 250px;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 24px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links-col a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.developer-credit {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #0f0e17;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    width: 90%;
    max-width: 440px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: #fff;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.modal-tab {
    flex-grow: 1;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 12px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.modal-tab.active {
    color: #fff;
}

.modal-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-purple);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modal-tab.active::after {
    transform: scaleX(1);
}

.modal-form {
    display: none;
}

.modal-form.active {
    display: block;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus {
    border-color: var(--color-purple);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

.form-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-muted);
}

.forgot-pass {
    color: var(--color-purple);
    text-decoration: none;
    font-weight: 600;
}

.forgot-pass:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

/* Purchase Modal Specifics */
.purchase-header {
    text-align: center;
    margin-bottom: 30px;
}

.p-icon {
    margin-bottom: 12px;
}

.purchase-header h3 {
    font-size: 1.4rem;
    color: #fff;
}

.purchase-header p {
    color: var(--color-purple);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 4px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.pay-method-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pay-method-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.pay-method-card.active {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
}

.pay-method-card input[type="radio"] {
    accent-color: var(--color-purple);
    width: 16px;
    height: 16px;
}

.pay-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

/* Keyframes & Animations */
@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(192, 132, 252, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(192, 132, 252, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(192, 132, 252, 0);
    }
}

@keyframes ping {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

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

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive viewports */
@media (max-width: 992px) {
    .regions-grid {
        grid-template-columns: 1fr;
    }

    .tariffs-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        top: 12px;
    }

    .nav-floating {
        padding: 8px 16px;
        width: calc(100% - 24px);
        /* occupy full screen width minus margin */
    }

    .nav-links {
        display: none;
        /* Mobile menu collapsed for simplicity, standard on floating bars */
    }

    .nav-actions {
        gap: 10px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 0.7rem;
    }

    .btn-cabinet {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .regions-info-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Extra optimization for small mobile devices */
@media (max-width: 480px) {
    .nav-floating {
        padding: 8px 12px;
    }

    .logo-text {
        display: none;
        /* hide "trollfurry" text, show only logo icon to save space */
    }

    .btn-cabinet {
        padding: 8px;
        /* make cabinet button circular/icon-only */
        border-radius: 50%;
        width: 34px;
        height: 34px;
        justify-content: center;
    }

    .btn-cabinet span {
        display: none;
        /* hide "Cabinet" text, show only user icon */
    }

    .btn-cabinet svg {
        margin: 0;
    }
}

/* ─── Form Validation Styles ───────────────────────────── */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
}

.input-icon {
    display: none;
}

.toggle-pass {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.toggle-pass:hover {
    color: #fff;
}

.field-error {
    display: block;
    font-size: 0.78rem;
    color: #f87171;
    margin-top: 5px;
    min-height: 1em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.field-error.visible {
    opacity: 1;
    transform: translateY(0);
}

.field-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Input border states */
.input-wrapper input.field-ok {
    border-color: rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.08);
}

.input-wrapper input.field-bad {
    border-color: rgba(248, 113, 113, 0.5) !important;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.08);
}

/* Password strength bar */
.password-strength-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    margin-top: 8px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 99px;
    transition: width 0.3s ease, background-color 0.3s ease;
}


/* Translation Animation Classes */
.translation-fade {
    transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1), transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

.translation-fade.fade-out {
    opacity: 0;
    transform: translateY(4px);
}

/* Cabinet Page Layout & Styling */
.cabinet-body {
    background-color: #07060a;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cabinet-header {
    background: rgba(14, 13, 21, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.cabinet-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-email-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 6px 16px;
    border-radius: 99px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.cabinet-main-section {
    padding: 40px 0;
    flex-grow: 1;
}

.cabinet-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar Info Panel */
.cabinet-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-panel {
    background: rgba(15, 14, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(12px);
}

.profile-card-large {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Avatar Upload Wrapper */
.avatar-upload-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-bottom: 16px;
}

.avatar-upload-wrapper .profile-avatar-large {
    margin: 0;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.avatar-upload-wrapper:hover .profile-avatar-large {
    filter: brightness(0.55);
    box-shadow: 0 0 28px rgba(124, 58, 237, 0.4);
}

.avatar-upload-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.avatar-upload-wrapper:hover .avatar-upload-overlay {
    opacity: 1;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-card-large h3 {
    font-size: 1.15rem;
    color: #fff;
    word-break: break-all;
}

.profile-card-large p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.sys-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.sys-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.sys-info-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badge-status-linked {
    font-size: 0.75rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
}

.btn-sidebar-reset {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    transition: var(--transition-smooth);
}

.btn-sidebar-reset:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Dashboard Main Pane */
.cabinet-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Active Subscription Card Layout */
.active-sub-card {
    background: linear-gradient(135deg, rgba(15, 14, 23, 0.8) 0%, rgba(10, 9, 16, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.sub-glow-purple {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 45px rgba(139, 92, 246, 0.15);
}

.sub-glow-blue {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.15);
}

.sub-glow-green {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 15px 45px rgba(16, 185, 129, 0.15);
}

.sub-card-image {
    height: 100%;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.sub-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 14, 23, 0) 30%, rgba(15, 14, 23, 0.8) 90%, rgba(15, 14, 23, 1) 100%);
}

.sub-card-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.sub-tier-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
}

.sub-glow-purple .sub-tier-badge {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
}

.sub-glow-blue .sub-tier-badge {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
}

.sub-glow-green .sub-tier-badge {
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
}

.sub-status-indicator {
    font-size: 0.8rem;
    font-weight: 700;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sub-status-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.sub-card-details h2 {
    font-size: 2.1rem;
    color: #fff;
    margin-bottom: 10px;
}

.sub-meta-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sub-meta-item {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.sub-meta-item strong {
    color: #fff;
}

.sub-key-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.license-key-display {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px 12px;
    font-family: monospace;
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 0.05em;
    user-select: all;
}

.btn-copy-key {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-copy-key:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Empty State / No Sub Card */
.no-sub-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.no-sub-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.no-sub-card h2 {
    font-size: 1.8rem;
    color: #fff;
}

.no-sub-card p {
    color: var(--text-muted);
    max-width: 450px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Downloads & Guides */
.downloads-panel {
    background: rgba(15, 14, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.downloads-panel h3 {
    font-size: 1.25rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.downloads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dl-item-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: var(--transition-smooth);
}

.dl-item-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.dl-title-meta h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}

.dl-title-meta p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-download-client {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
}

.btn-download-client:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dl-premium-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
}

.dl-premium-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.guide-box {
    margin-top: 10px;
}

.guide-box h4 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 12px;
}

.guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guide-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.guide-list li::before {
    content: "•";
    color: #c084fc;
    font-weight: 700;
}

/* Responsive viewports for Cabinet */
@media (max-width: 992px) {
    .cabinet-grid {
        grid-template-columns: 1fr;
    }

    .active-sub-card {
        grid-template-columns: 1fr;
    }

    .sub-card-image {
        height: 180px;
        min-height: auto;
    }

    .sub-image-overlay {
        background: linear-gradient(180deg, rgba(15, 14, 23, 0) 30%, rgba(15, 14, 23, 0.8) 90%, rgba(15, 14, 23, 1) 100%);
    }
}

@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}