/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg: #0b0b10;
    --surface: #111118;
    --surface-alt: #1a1a24;
    --border: #252535;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.25);
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #e17055;
    --text: #eaeaf2;
    --text-muted: #8888a8;
    --text-dim: #555570;
}

[data-theme="light"] {
    --bg: #f4f4f8;
    --surface: #ffffff;
    --surface-alt: #eee;
    --border: #e0e0e8;
    --text: #1a1a2e;
    --text-muted: #666680;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

.syne {
    font-family: 'Syne', sans-serif;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
}

.btn {
    cursor: pointer;
    border: none;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.2s;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(0, 184, 148, 0.15);
    color: var(--success);
    border: 1px solid rgba(0, 184, 148, 0.3);
}

.badge-warning {
    background: rgba(253, 203, 110, 0.15);
    color: var(--warning);
    border: 1px solid rgba(253, 203, 110, 0.3);
}

.badge-danger {
    background: rgba(225, 112, 85, 0.15);
    color: var(--danger);
    border: 1px solid rgba(225, 112, 85, 0.3);
}

.badge-info {
    background: rgba(108, 92, 231, 0.15);
    color: var(--accent);
    border: 1px solid rgba(108, 92, 231, 0.3);
}

/* Animations */
@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-18px) rotate(2deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0) rotate(3deg);
    }

    50% {
        transform: translateY(-14px) rotate(-1deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: none !important;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: all 0.4s;
}

nav.scrolled {
    background: rgba(11, 11, 16, 0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

[data-theme="light"] nav.scrolled {
    background: rgba(244, 244, 248, 0.95);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 80px);
    line-height: 1.05;
    letter-spacing: -3px;
    font-weight: 800;
    margin-bottom: 28px;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--accent), #fd79a8, var(--accent-light));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

/* Services */
.service-card {
    position: relative;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s;
    cursor: pointer;
}

.service-card:hover {
    transform: scale(1.03);
}

.service-content {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

/* Packages */
.pkg-card {
    position: relative;
    padding: 36px;
    transition: transform 0.35s, box-shadow 0.35s;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.pkg-popular {
    border: 2px solid var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}

/* Wheel */
canvas {
    border-radius: 50%;
    max-width: 100%;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-content.open {
    max-height: 300px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'Syne', sans-serif;
}

td {
    color: var(--text);
}

tr:last-child td {
    border-bottom: none;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238888a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

/* Alerts */
.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: rgba(0, 184, 148, 0.1);
    color: var(--success);
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.alert-error {
    background: rgba(225, 112, 85, 0.1);
    color: var(--danger);
    border: 1px solid rgba(225, 112, 85, 0.2);
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    nav {
        height: 56px;
        padding: 0 16px;
    }

    .hero {
        padding-top: 60px;
    }

    .hero h1 {
        letter-spacing: -1.5px;
    }

    body.admin-body {
        flex-direction: column;
    }

    aside {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 16px;
    }

    main {
        margin-left: 0;
        padding: 20px;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }
}