:root {
    --primary-red: #FF0000;
    --primary-red-glow: rgba(255, 0, 0, 0.5);
    --dark-bg: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-red: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
    --gradient-dark: linear-gradient(to bottom, #0a0a0a, #111111);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Glow Effects */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-red-glow) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 { top: -200px; left: -200px; }
.bg-glow-2 { bottom: -200px; right: -200px; }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.text-red { color: var(--primary-red); }
.text-white { color: white; }
.text-gradient {
    background: linear-gradient(to right, #fff, #ff4d4d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.btn-youtube {
    background: #FF0000;
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    border: none;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.4);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--text-muted);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--glass-border);
}

.divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: #cc0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary-red);
    background: rgba(255, 0, 0, 0.1);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1px 1px !important;
    transition: all 0.3s ease;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.2rem;
}

.nav-links a:hover {
    color: white;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Dashboard Container - более узкий для лучшей читаемости */
.dashboard-main .container {
    max-width: 1200px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: url('hero-bg.png') no-repeat center center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0a0a0a 40%, rgba(10, 10, 10, 0.6) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 500px;
    height: 400px;
}

.visual-card {
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.card-header {
    padding: 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.chart-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(255, 0, 0, 0.1), transparent);
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0 100 L20 80 L40 60 L60 70 L80 30 L100 10" stroke="%23FF0000" stroke-width="2" fill="none"/></svg>');
    background-size: cover;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.icon-1 { top: 20%; right: -20px; color: #FF0000; animation: float 5s infinite 1s; }
.icon-2 { bottom: 30%; left: -20px; color: #fff; animation: float 7s infinite 0.5s; }
.icon-3 { top: 10%; left: 20%; color: #4CAF50; animation: float 6s infinite 2s; }

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

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.stat-big {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.stat-big .label {
    font-size: 1.2rem;
    color: white;
    font-weight: 500;
}

.stat-row {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.stat-small {
    display: flex;
    flex-direction: column;
}

.stat-small .num {
    font-size: 2rem;
    font-weight: 700;
}

.stat-small .lbl {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    background: rgba(30, 30, 30, 0.8);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Requirements */
.req-box {
    background: linear-gradient(135deg, rgba(20,20,20,0.9), rgba(10,10,10,0.95));
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.req-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.req-item i {
    color: var(--primary-red);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.pricing-card.popular {
    border-color: var(--primary-red);
    background: linear-gradient(to bottom, rgba(255, 0, 0, 0.05), var(--card-bg));
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.duration {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.bulk-price {
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
}

.plan-features li i {
    color: var(--primary-red);
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 2rem;
    flex-wrap: wrap;
}

.trust-badges i {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.trust-badges i:hover {
    opacity: 1;
    transform: scale(1.1);
}

.trust-badges span {
    font-size: 1rem;
    margin-left: 10px;
}

/* Footer */
footer {
    background: #050505;
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    font-size: 1.2rem;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.telegram-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.telegram-link i {
    font-size: 20px;
    color: #0088cc;
}

.payment-icons i {
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-icons i:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.footer-bottom {
    color: #555;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Навигация - авторизация */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    color: white;
    font-weight: 600;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-content h2 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: white;
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.form-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-switch a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.form-switch a:hover {
    color: #cc0000;
}

.error-message {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid var(--primary-red);
    border-radius: 10px;
    color: var(--primary-red);
    font-size: 0.9rem;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    margin-top: 15px;
    padding: 12px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #4CAF50;
    border-radius: 10px;
    color: #4CAF50;
    font-size: 0.9rem;
    display: none;
}

.success-message.show {
    display: block;
}

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

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

/* Responsive */
@media (max-width: 968px) {
    .hero h1 { font-size: 3rem; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { margin-bottom: 50px; }
    .hero-cta { align-items: center; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .hero-visual { width: 100%; max-width: 500px; }
    .auth-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .auth-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Dashboard Styles */
.dashboard-main {
    padding-top: 100px;
    min-height: 100vh;
    padding-bottom: 80px;
}

.dashboard-header {
    margin-bottom: 50px;
    text-align: left;
}

.dashboard-header > div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 100%;
}

.dashboard-header > div > div:first-child {
    flex: 1;
    min-width: 300px;
}

.dashboard-header > div > div:last-child {
    flex: 0 1 auto;
}

.dashboard-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.dashboard-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stat-info h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: white;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dashboard-section {
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Dashboard Top Blocks */
.dashboard-top-blocks {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 30px;
}

.dashboard-top-block {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dashboard-top-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.1);
}

.balance-block {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.2);
}

.promocode-block,
.rewards-block {
    background: var(--card-bg);
}

.rewards-block {
    flex: 1 1 100% !important;
    min-width: 100% !important;
    width: 100% !important;
}

.rewards-block .block-button {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.block-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.block-label {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
    color: var(--text-muted);
}

.block-value {
    margin: 5px 0 0 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.block-title i {
    font-size: 24px;
}

.block-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.block-description {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.block-button {
    width: 100%;
    margin-top: auto;
    padding: 12px 20px;
    justify-content: center;
    border-radius: 8px;
}

.promocode-input-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.promocode-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.promocode-input:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.15);
}

.promocode-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.promocode-activate-btn {
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Cryptocoins (cryptocurrency icon font) helpers */
.crypto-icon {
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
}

i.crypto-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

img.crypto-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
}

/* Cryptocoins webfont base class */
.cc, .cf {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom crypto dropdown (because <option> can't render HTML/icons) */
.crypto-dd {
    position: relative;
    width: 100%;
}
.crypto-dd-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}
.crypto-dd-btn .crypto-dd-btn-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.crypto-dd-btn .crypto-dd-btn-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.crypto-dd-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 2000;
    max-height: 280px;
    overflow: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
    display: none;
}
.crypto-dd-menu.open { display: block; }
.crypto-dd-search {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.crypto-dd-search input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    outline: none;
}
.crypto-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.crypto-dd-item:last-child { border-bottom: none; }
.crypto-dd-item:hover {
    background: rgba(255, 0, 0, 0.12);
}
.crypto-dd-item .crypto-dd-item-text {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .dashboard-header {
        text-align: center;
    }
    
    .dashboard-header > div {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dashboard-header > div > div:first-child {
        text-align: center;
    }
    
    .dashboard-top-blocks {
        flex-direction: column;
        max-width: 100%;
        justify-content: center;
    }
    
    .dashboard-top-block {
        min-width: 100%;
        max-width: 100%;
    }
    
    .subscription-tiers-container {
        flex-direction: column;
    }
    
    .subscription-tier-card {
        min-width: 100%;
        max-width: 100%;
    }
    
    .promocode-input-group {
        flex-direction: column;
    }
    
    .promocode-activate-btn {
        width: 100%;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .seo-metrics {
        flex-direction: column;
        gap: 15px;
    }
    
    .tag-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tag-rankings {
        width: 100%;
        justify-content: space-between;
    }
}

/* Subscription Tiers Cards */
.subscription-tiers-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 30px;
    align-items: stretch;
}

.subscription-tier-card {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.subscription-tier-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 68, 68, 0.3);
}

.subscription-tier-card.tier-active {
    border-color: rgba(255, 68, 68, 0.5);
    background: rgba(255, 68, 68, 0.05);
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.2);
}

.subscription-tier-card.tier-inactive {
    opacity: 0.7;
}

.tier-icon-container {
    margin-bottom: 15px;
}

.tier-icon {
    font-size: 48px;
    transition: all 0.3s ease;
}

.tier-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.tier-description {
    text-align: left;
    margin-bottom: 15px;
}

.tier-description p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-red);
}

.tier-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-description li {
    padding: 5px 0;
    font-size: 14px;
    opacity: 0.9;
    padding-left: 20px;
    position: relative;
}

.tier-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.tier-status {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tier-badge-active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.tier-badge-expired {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid #ff9800;
}

.tier-badge-locked {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
    border: 1px solid #9e9e9e;
}

.dashboard-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-section .section-header h2 {
    font-size: 2rem;
    margin-bottom: 0;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.info-label {
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    color: white;
    font-weight: 600;
}

.campaigns-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.campaign-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 20px;
    transition: all 0.3s;
}

.campaign-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.campaign-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.campaign-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid #FFC107;
}

.status-completed {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border: 1px solid #2196F3;
}

.status-paused {
    background: rgba(158, 158, 158, 0.2);
    color: #9E9E9E;
    border: 1px solid #9E9E9E;
}

.status-approved {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border: 1px solid #2196F3;
}

.status-cancelled {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.status-cancellation_pending {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid #FFC107;
}

.campaign-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.campaign-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.campaign-detail i {
    color: var(--primary-red);
    width: 20px;
}

.campaign-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-danger {
    color: #ff4444;
    border-color: #ff4444;
}

.btn-danger:hover {
    background: rgba(255, 68, 68, 0.1);
}

.empty-state {
    text-align: center;
    padding: 60px 30px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* SEO History Styles */
.seo-history-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.seo-history-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 20px;
    transition: all 0.3s;
}

.seo-history-item:hover {
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.seo-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.seo-history-header h4 {
    font-size: 1.2rem;
    margin: 0;
    color: white;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seo-history-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: 15px;
}

.seo-history-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.seo-history-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.seo-history-metric {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.seo-history-metric .metric-indicator {
    font-size: 1.2rem;
}

.seo-history-metric .metric-label {
    font-size: 0.9rem;
}

.seo-history-metric .metric-value {
    color: white;
    font-weight: 600;
}

.seo-history-url {
    padding: 10px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.seo-history-url .video-link {
    color: var(--primary-red);
}

/* Payment History Styles */
.payment-history-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payment-history-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 20px;
    transition: all 0.3s;
}

.payment-history-item:hover {
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.payment-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.payment-history-header h4 {
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    color: white;
}

.payment-history-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.payment-status.status-waiting {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.payment-status.status-active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.payment-status.status-cancelled {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.payment-history-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-history-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.payment-history-metric {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.payment-history-metric .metric-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-history-metric .metric-value {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.payment-history-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* SEO Quota Styles */
.seo-quota-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

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

.quota-text i {
    color: var(--primary-red);
}

#quota-remaining {
    font-weight: 600;
    color: #4CAF50;
}

.seo-history-url .video-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    word-break: break-all;
}

.seo-history-url .video-link:hover {
    text-decoration: underline;
}

.seo-history-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.action-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: white;
    display: block;
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.action-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.action-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.action-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.form-group select option {
    background: var(--dark-bg);
    color: white;
}

/* SEO Checker Styles */
.seo-checker-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
}

.seo-form {
    margin-bottom: 0;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
}

.seo-results {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.seo-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.seo-loading i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-red);
}

.seo-header {
    margin-bottom: 30px;
}

.seo-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.4;
}

.seo-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.seo-metric-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.seo-metric-item.full-width {
    width: 100%;
    flex-wrap: wrap;
}

.seo-score-row {
    flex-wrap: wrap;
    padding: 10px 15px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.score-separator {
    color: var(--text-muted);
    margin: 0 5px;
}

.metric-label {
    color: var(--text-muted);
}

.metric-value {
    color: white;
    font-weight: 600;
}

#seo-score {
    color: var(--primary-red);
    font-size: 1.1rem;
    font-weight: 700;
}

.seo-region-scores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.seo-region-score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.seo-tags-section {
    margin-top: 30px;
}

.seo-tags-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.tags-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tag-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: all 0.3s;
}

.tag-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-red);
}

.tag-name {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    flex: 1;
}

.tag-rankings {
    display: flex;
    gap: 15px;
    align-items: center;
}

.ranking {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 60px;
    justify-content: center;
}

.ranking.has-rank {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.ranking.no-rank {
    background: rgba(158, 158, 158, 0.2);
    color: #9E9E9E;
    border: 1px solid #9E9E9E;
}

.flag-icon {
    font-size: 1.2rem;
}

.no-tags {
    text-align: center;
    color: var(--text-muted);
    padding: 30px;
    font-style: italic;
}

.oauth-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #4CAF50;
    font-weight: 500;
}

.text-green {
    color: #4CAF50;
}

.dashboard-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .seo-metrics {
        flex-direction: column;
        gap: 15px;
    }
    
    .tag-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tag-rankings {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .req-list { grid-template-columns: 1fr; }
    .dashboard-stats { grid-template-columns: 1fr; }
    .actions-grid { grid-template-columns: 1fr; }
    .dashboard-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .dashboard-subtitle {
        font-size: 1rem;
    }
}

/* SMM Service Styles */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.2);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--glass-border);
}

.service-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.1));
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-wrapper i {
    font-size: 28px;
    color: var(--primary-red);
}

.service-title-section h3 {
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.service-description {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.service-price-section {
    text-align: right;
    flex-shrink: 0;
}

.service-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 5px;
}

.service-price-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.service-feature:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

.service-feature i {
    font-size: 24px;
    color: var(--primary-red);
    width: 40px;
    text-align: center;
}

.service-feature div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.service-feature strong {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.service-feature span {
    font-size: 1rem;
    color: white;
    font-weight: 600;
}

.smm-form {
    margin-top: 30px;
}

.smm-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.smm-form .form-group {
    margin-bottom: 0;
}

.smm-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.smm-form .form-group label i {
    color: var(--primary-red);
    font-size: 16px;
}

.smm-form .form-group small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.order-summary {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.05));
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-left: 4px solid #2196F3;
}

.order-summary h4 {
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.order-summary h4 i {
    color: #2196F3;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.order-summary-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.order-summary-row span {
    color: var(--text-muted);
}

.order-summary-row strong {
    color: white;
    font-weight: 600;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
}

.order-summary-total span {
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

.order-summary-total strong {
    font-size: 1.8rem;
    font-weight: 800;
}

.btn-large {
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
}

.btn-large i {
    font-size: 1.2rem;
    margin-right: 10px;
}

.order-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.order-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.order-header h4 {
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    color: white;
    font-weight: 700;
}

.order-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.order-status.status-waiting {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.order-status.status-active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.order-status.status-cancelled {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.success-message {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.order-content {
    margin-top: 20px;
}

.order-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.order-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.order-detail-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

.order-detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-detail-icon i {
    font-size: 18px;
    color: var(--primary-red);
}

.order-detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-detail-content strong {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.order-detail-content span,
.order-detail-content a {
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
}

.order-link {
    color: #2196F3 !important;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s;
}

.order-link:hover {
    color: #42a5f5 !important;
    text-decoration: underline;
}

.order-actions {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

/* Dashboard Sub-menu Tabs */
.dashboard-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.tab-link {
    padding: 20px 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.tab-link.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.tab-link i {
    font-size: 16px;
}
