:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #0f1419;
    --accent-dark: #1a1f2e;
    --border-color: #2d3748;
    --text-primary: #f7fafc;
    --text-secondary: #a0aec0;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-telegram: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #0f1419 50%, #1a1f2e 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
    display: none;
}

::-webkit-scrollbar-track {
    background: rgba(10, 14, 39, 0.95);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #06b6d4 100%);
    border-radius: 10px;
    border: 2px solid rgba(10, 14, 39, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 50%, #10b981 100%);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #10b981 rgba(10, 14, 39, 0.95);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar {
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-collapse {
    transition: height 0.35s ease;
}

.navbar-collapse.collapsing {
    transition: height 0.35s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.85);
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav {
    gap: 1rem;
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link i {
    width: 18px;
    height: 18px;
}

.navbar-nav .nav-link:hover {
    color: var(--text-primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.btn-register {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-menu:hover {
    background: rgba(16, 185, 129, 0.2);
}

.user-menu i {
    width: 18px;
    height: 18px;
}

.dropdown-menu {
    background: rgba(26, 31, 46, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.1);
    min-width: 220px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    color: var(--text-primary);
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(16, 185, 129, 0.15);
    color: var(--text-primary);
    transform: translateX(4px);
    padding-left: 1.5rem;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item:active {
    transform: translateX(2px) scale(0.98);
}

.dropdown-item i {
    width: 20px;
    height: 20px;
    color: #10b981;
    transition: transform 0.2s ease;
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

.dropdown-divider {
    border-color: rgba(16, 185, 129, 0.15);
    margin: 0.75rem 0;
    opacity: 0.5;
}

.user-menu .dropdown-toggle::after {
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.user-menu.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-register::after {
    display: none;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 40px;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.hero-particles::before {
    background: var(--gradient-primary);
    top: 10%;
    left: 10%;
}

.hero-particles::after {
    background: var(--gradient-secondary);
    bottom: 10%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.8s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-gradient {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
    color: white;
}

.btn-outline {
    background: rgba(26, 31, 46, 0.8);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
    background: rgba(26, 31, 46, 0.95);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
    color: var(--text-primary);
}

.hero-image {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    animation: floatCard 6s infinite ease-in-out;
}

.floating-card.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: 0;
    animation-delay: -2s;
}

.floating-card.card-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: -4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-icon i {
    width: 24px;
    height: 24px;
}

.card-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.card-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.hero-illustration {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.blog-section,
.process-section,
.faq-section,
.stats-section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.blog-card {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
}

.blog-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-meta i {
    width: 14px;
    height: 14px;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: #14b8a6;
    gap: 0.75rem;
}

.blog-link i {
    width: 16px;
    height: 16px;
}

.process-card {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    color: #10b981;
}

.process-icon i {
    width: 40px;
    height: 40px;
}

.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.process-line {
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.5) 0%, transparent 100%);
}

.process-card:last-child .process-line {
    display: none;
}

.cta-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #10b981;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: #10b981;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    padding: 0 1.5rem;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 1.5rem 1.5rem;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.stat-box {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.stat-icon i {
    width: 32px;
    height: 32px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--text-secondary);
    font-size: 1rem;
}

footer {
    background: rgba(10, 14, 39, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0 1rem;
    margin-top: 60px;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 1.5rem;
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact {
    margin-top: 1rem;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-email:hover {
    color: #10b981;
}

.footer-email i {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-content {
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        height: 400px;
        margin-top: 3rem;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .process-line {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card,
    .process-card,
    .stat-box {
        margin-bottom: 1.5rem;
    }
    
    footer {
        padding: 1.5rem 0 0.75rem;
        margin-top: 40px;
    }
    
    .footer-brand {
        font-size: 1.5rem;
    }
    
    .footer-description {
        font-size: 0.875rem;
    }
    
    .footer-email {
        font-size: 0.9rem;
    }
}

i[data-lucide] {
    width: 20px;
    height: 20px;
}

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 40px;
    position: relative;
}

.auth-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-card {
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-header {
    margin-bottom: 1.5rem;
}

.auth-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.auth-icon i {
    width: 30px;
    height: 30px;
    color: white;
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.auth-description {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-label i,
.form-label svg {
    width: 18px;
    height: 18px;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.is-invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 0.5rem;
    margin-left: 5.5px;
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--text-primary);
}

.password-toggle i {
    width: 20px;
    height: 20px;
}

.otp-group {
    display: flex;
    gap: 0.75rem;
}

.otp-group .form-control {
    flex: 1;
}

.otp-group .btn {
    white-space: nowrap;
}

.form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.auth-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    margin: 0;
    color: var(--text-secondary);
}

.auth-footer a {
    color: #10b981;
    text-decoration: none;
}

.auth-footer a:hover {
    color: #10b981;
}

.profile-section {
    min-height: 100vh;
    padding: 120px 0 40px;
    position: relative;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar i {
    width: 50px;
    height: 50px;
    color: white;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin: 0;
}

.profile-meta i {
    width: 18px;
    height: 18px;
}

.profile-card {
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.profile-card .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-card .card-header i {
    width: 24px;
    height: 24px;
    color: #10b981;
}

.profile-card .card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.profile-card .card-body {
    padding: 2rem;
}

.info-group {
    margin-bottom: 1.5rem;
}

.info-group:last-child {
    margin-bottom: 0;
}

.info-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.info-group label i,
.info-group label svg {
    width: 16px;
    height: 16px;
}

.info-group p {
    margin: 0;
    padding: 0.75rem 1rem;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 991px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-name {
        font-size: 1.75rem;
    }
    
    .profile-meta {
        justify-content: center;
    }
}

.tickets-section {
    min-height: 100vh;
    padding: 120px 0 40px;
}

.tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.tickets-header h1 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 800;
}

.tickets-header h1 i {
    width: 32px;
    height: 32px;
    color: #10b981;
}

.tickets-header p {
    margin: 0;
    color: var(--text-secondary);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.empty-state i {
    width: 80px;
    height: 80px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 10px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.ticket-card {
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ticket-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-id {
    font-weight: 700;
    color: #10b981;
}

.ticket-status {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-status.status-open {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.ticket-status.status-in_progress {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.ticket-status.status-waiting {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.ticket-status.status-resolved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.ticket-status.status-closed {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

.ticket-body {
    padding: 1.5rem;
}

.ticket-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.ticket-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.ticket-meta i {
    width: 16px;
    height: 16px;
}

.ticket-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    transform: translateX(4px);
}

.btn-view i {
    width: 18px;
    height: 18px;
}

.create-ticket-section,
.ticket-detail-section {
    min-height: 100vh;
    padding: 120px 0 40px;
}

.page-header {
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(26, 31, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(26, 31, 46, 1);
    color: var(--text-primary);
    border-color: rgba(16, 185, 129, 0.3);
}

.btn-back i {
    width: 18px;
    height: 18px;
}

.page-header h1 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 800;
}

.page-header h1 i {
    width: 32px;
    height: 32px;
    color: #10b981;
}

.page-header p {
    margin: 0;
    color: var(--text-secondary);
}

.ticket-form-card {
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.form-control select,
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' 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: 20px;
    padding-right: 3rem;
    cursor: pointer;
}

.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 2rem;
    background: rgba(10, 14, 39, 0.6);
    border: 2px dashed rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(16, 185, 129, 0.05);
}

.file-upload-label i {
    width: 48px;
    height: 48px;
    color: #10b981;
}

.file-upload-text {
    font-weight: 600;
    color: var(--text-primary);
}

.file-upload-info {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.file-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.file-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.file-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.file-preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(16, 185, 129, 0.3);
    aspect-ratio: 1;
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remove-file {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.remove-file:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.1);
}

.remove-file i {
    width: 20px;
    height: 20px;
}

.ticket-attachments-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.attachment-thumb {
    position: relative;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.attachment-thumb:hover {
    border-color: var(--primary-green);
    transform: scale(1.05);
}

.attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.ticket-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 2rem;
}

.ticket-detail-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
    color: var(--text-secondary);
}

.ticket-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticket-detail-meta i {
    width: 16px;
    height: 16px;
}

.messages-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.message-card {
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
}

.message-card.admin {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.message-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-card.admin .author-avatar {
    background: var(--gradient-secondary);
}

.author-avatar i {
    width: 20px;
    height: 20px;
    color: white;
}

.message-time {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.message-body {
    color: var(--text-primary);
    line-height: 1.6;
}

.message-attachment {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-attachment a {
    display: block;
    position: relative;
    overflow: hidden;
}

.message-attachment img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.message-attachment a:hover img {
    transform: scale(1.05);
}

.reply-card {
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.reply-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.reply-card h3 i {
    width: 24px;
    height: 24px;
    color: #10b981;
}

.ticket-closed-notice {
    text-align: center;
    padding: 2rem;
    background: rgba(107, 114, 128, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 16px;
}

.ticket-closed-notice i {
    width: 48px;
    height: 48px;
    color: #6b7280;
    margin-bottom: 1rem;
}

.ticket-closed-notice p {
    margin: 0;
    color: var(--text-secondary);
}

.ticket-info-card {
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.ticket-info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.ticket-info-card h3 i {
    width: 20px;
    height: 20px;
    color: #10b981;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.info-item span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .tickets-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tickets-grid {
        grid-template-columns: 1fr;
    }
    
    .ticket-detail-header {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.custom-modal.show {
    display: flex;
}

.custom-modal-content {
    background: rgba(26, 31, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.custom-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-modal-header i {
    width: 32px;
    height: 32px;
    color: #10b981;
}

.custom-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.custom-modal-body {
    margin-bottom: 1.5rem;
}

.custom-modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    white-space: pre-line;
}

.bot-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bot-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
    background: linear-gradient(135deg, #006699 0%, #1a8ec9 100%);
    color: white;
}

.bot-link i {
    width: 20px;
    height: 20px;
}

.custom-modal-footer {
    display: flex;
    justify-content: flex-end;
}

.custom-modal-footer .btn {
    min-width: 120px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .custom-modal-content {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .custom-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .custom-modal-body p {
        font-size: 0.95rem;
    }
    
    .bot-link {
        margin-top: 0;
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .otp-group {
        flex-direction: column;
    }
    
    .otp-group .btn {
        width: 100%;
    }
}

.blog-section {
    padding: 120px 0 80px 0;
    min-height: calc(100vh - 200px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.blog-card {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.blog-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.blog-card-date i {
    width: 16px;
    height: 16px;
}

.blog-card-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.blog-card-link:hover {
    gap: 0.75rem;
    color: #06b6d4;
}

.blog-card-link i {
    width: 18px;
    height: 18px;
}

.blog-detail-section {
    padding: 120px 0 80px 0;
    min-height: calc(100vh - 200px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
}

.back-link:hover {
    gap: 0.75rem;
    color: #06b6d4;
}

.back-link i {
    width: 20px;
    height: 20px;
}

.blog-detail {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.blog-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.blog-detail-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.blog-detail-date i {
    width: 18px;
    height: 18px;
}

.blog-detail-content {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .blog-section,
    .blog-detail-section {
        padding: 120px 0 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .blog-section .row.mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .blog-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .blog-detail {
        padding: 1.5rem;
    }
    
    .blog-detail-title {
        font-size: 1.75rem;
    }
    
    .blog-detail-content {
        font-size: 1rem;
    }
}

.blog-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    max-width: fit-content;
}

.blog-category-duyuru {
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.blog-category-güvenlik {
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.blog-category-rehber {
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.event-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    max-width: fit-content;
}

.event-category-etkinlik {
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.event-category-turnuva {
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.event-category-kampanya {
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 3px;
    animation: pulse-dot 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        transform: scale(1);
    }
}

.live-dot-red {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    margin-right: 3px;
    animation: pulse-dot-red 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

@keyframes pulse-dot-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
        transform: scale(1);
    }
}

#eventJoinModal .modal-content {
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#eventJoinModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

#eventJoinModal .modal-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.25rem;
}

#eventJoinModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

#eventJoinModal .btn-close:hover {
    opacity: 1;
}

#eventJoinModal .modal-body {
    padding: 1.5rem;
}

#eventJoinModal .form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

#eventJoinModal .form-control,
#eventJoinModal .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#eventJoinModal .form-control:focus,
#eventJoinModal .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    color: var(--text-primary);
}

#eventJoinModal .form-control::placeholder {
    color: var(--text-secondary);
}

#eventJoinModal textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

#eventJoinModal .input-group {
    gap: 0.5rem;
}

#eventJoinModal .input-group .form-control {
    border-radius: 10px;
}

#eventJoinModal .input-group .btn {
    border-radius: 10px;
}

#eventJoinModal .text-danger {
    color: #ef4444 !important;
}

#eventJoinModal .text-muted {
    color: var(--text-secondary) !important;
    font-size: 0.875rem;
}

#eventJoinModal .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

#eventJoinModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

#eventJoinModal .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#eventJoinModal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 576px) {
    #eventJoinModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #eventJoinModal .modal-body {
        padding: 1rem;
    }
    
    #eventJoinModal .form-control,
    #eventJoinModal .form-select {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }
    
    #eventJoinModal .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
}

.site-banner-wrapper {
    width: 100%;
    margin-bottom: 0.5rem;
    padding-top: 70px;
    position: relative;
    z-index: 2;
}

.site-banner-link {
    display: block;
    width: 100%;
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.site-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.site-banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 200px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .site-banner-wrapper {
        margin-bottom: 0.5rem;
        padding-top: 60px;
    }
    
    .site-banner-image {
        max-height: 150px;
        border-radius: 12px;
    }
    
    .site-banner-link {
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .site-banner-wrapper {
        margin-bottom: 0;
        padding-top: 40px;
    }
    
    .site-banner-image {
        max-height: 100px;
        border-radius: 10px;
    }
    
    .site-banner-link {
        border-radius: 10px;
    }
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-notification {
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease;
    transition: all 0.3s ease;
}

.toast-notification.hiding {
    animation: slideOutRight 0.3s ease;
    opacity: 0;
    transform: translateX(100%);
}

.toast-notification.success {
    border-left: 4px solid #10b981;
}

.toast-notification.error {
    border-left: 4px solid #ef4444;
}

.toast-notification.info {
    border-left: 4px solid #3b82f6;
}

.toast-notification.warning {
    border-left: 4px solid #f59e0b;
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast-icon.success {
    color: #10b981;
}

.toast-icon.error {
    color: #ef4444;
}

.toast-icon.info {
    color: #3b82f6;
}

.toast-icon.warning {
    color: #f59e0b;
}

.toast-content {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--text-primary);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@media (max-width: 576px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast-notification {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-detail-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .blog-detail-image {
        max-height: 250px;
    }
}
