:root {
    --bg-main: #0b1120;
    --bg-surface: #111827;
    --bg-elevated: #1e293b;
    --border-subtle: #283548;
    --accent-blue: #3b82f6;
    --accent-teal: #10b981;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    background-image: 
        radial-gradient(circle at 15% 0%, rgba(59, 130, 246, 0.12), transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.10), transparent 40%);
    background-attachment: fixed;
}

.gct-panel {
    background: linear-gradient(180deg, #131c31 0%, #0e1628 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gct-panel:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: 0 12px 30px -10px rgba(59, 130, 246, 0.35);
}

/* Original 3D Software Box Mockup (Inspired by dft.jpg colors, unique angled studio frame) */
.software-box-stage {
    background: radial-gradient(circle at 25% 20%, rgba(59, 130, 246, 0.28), transparent 65%),
                linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 185px;
    overflow: hidden;
    box-shadow: inset 0 0 24px rgba(16, 185, 129, 0.12);
}

.software-box-3d {
    width: 126px;
    height: 152px;
    background: linear-gradient(160deg, #1e3a8a 0%, #0f172a 100%);
    border-radius: 6px 12px 12px 6px;
    border-left: 14px solid #f59e0b;
    border-top: 5px solid #38bdf8;
    border-bottom: 14px solid #020617;
    box-shadow: 10px 14px 26px rgba(2, 6, 23, 0.65), 0 0 15px rgba(59, 130, 246, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 9px;
    text-align: left;
    transform: perspective(600px) rotateY(-12deg);
    transition: transform 0.35s ease;
}

.solo-stage {
    background: radial-gradient(circle at 75% 20%, rgba(245, 158, 11, 0.22), transparent 65%),
                linear-gradient(145deg, #0b132b 0%, #172554 100%);
    border: 1px solid #1e3a8a;
}

.solo-box-3d {
    background: linear-gradient(160deg, #064e3b 0%, #0f172a 100%);
    border-left: 14px solid #10b981;
    border-top: 5px solid #fbbf24;
}

.gct-panel:hover .software-box-3d {
    transform: perspective(600px) rotateY(-4deg) scale(1.04);
}

.digital-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #3b82f6;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

/* Clean Reseller Directory Row Style (Inspired by resseler.png, matched to dark slate/emerald theme) */
.reseller-card {
    background: #111827;
    border: 1px solid #283548;
    border-radius: 16px;
    padding: 18px 20px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.reseller-card:hover {
    border-color: #10b981;
    transform: translateY(-3px);
}

.reseller-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    padding: 5px 0;
}

.reseller-icon {
    width: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    flex-shrink: 0;
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: inline-block;
}

@keyframes slowMarquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.slow-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: slowMarquee 45s linear infinite;
}
.slow-ticker:hover {
    animation-play-state: paused;
}

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #0b1120; }
::-webkit-scrollbar-thumb { background: #1e293b; border: 1px solid #3b82f6; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #3b82f6; }
/* Pagination & Search Bar Styles */
.page-btn {
    padding: 7px 13px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #334155;
    background: #111827;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
}
.page-btn:hover:not(:disabled) {
    border-color: #3b82f6;
    color: #ffffff;
    background: #1e293b;
}
.page-btn.active {
    background: #2563eb;
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}