/* TuldokVerse Custom Styles */

:root {
    --primary-color: #dc3545;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Vanta.js Background */
#vanta-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Ensure content appears above background */
.navbar, main, footer {
    position: relative;
    z-index: 1;
}

/* Fix navbar dropdown z-index */
.navbar {
    z-index: 1030 !important;
}

.dropdown-menu {
    z-index: 1040 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.white{
    color: #ffffff!important;
}

.display-2 {
    font-size: 4rem;
    font-weight: 800;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Spacing */
.mb-5 {
    margin-bottom: 3rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Badge styling */
.badge {
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

/* Text styling */
.opacity-90 {
    opacity: 0.9;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

/* Hero Section */
.hero-section {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

/* Cards */
.card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-header {
    background: rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px 20px 0 0 !important;
    backdrop-filter: blur(20px);
}

/* Buttons */
.btn {
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #000;
    color: #fff;
    border-color: #000;
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

.btn-danger {
    background: #000;
    color: #fff;
    border-color: #000;
}

.btn-danger:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

.btn-success {
    background: #000;
    color: #fff;
    border-color: #000;
}

.btn-success:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

.btn-outline-primary {
    background: transparent;
    color: #000;
    border-color: #000;
}

.btn-outline-primary:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Progress bars */
.progress {
    border-radius: 15px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.2);
    height: 12px;
}

.progress-bar {
    background: #000;
    border-radius: 15px;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff !important;
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Forms */
.form-control {
    border-radius: 15px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.form-select {
    border-radius: 15px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
}

.form-select:focus {
    border-color: #000;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 15px;
    font-weight: 500;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

/* Badges */
.badge {
    border-radius: 20px;
    font-weight: 500;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Manifesto cards */
.manifesto-card {
    border-left: 4px solid #dc3545;
}

.manifesto-card.approved {
    border-left-color: #198754;
}

.manifesto-card.rejected {
    border-left-color: #6c757d;
}

.manifesto-card.burned {
    border-left-color: #ffc107;
}

/* Token burn animation */
@keyframes burn {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.burn-animation {
    animation: burn 0.5s ease-in-out;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem !important;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bs-body-bg: #1a1a1a;
        --bs-body-color: #ffffff;
    }
    
    .card {
        background-color: #2d2d2d;
        color: #ffffff;
    }
    
    .form-control {
        background-color: #3d3d3d;
        border-color: #555;
        color: #ffffff;
    }
    
    .form-control:focus {
        background-color: #3d3d3d;
        border-color: #dc3545;
        color: #ffffff;
    }
}

/* Utility classes */
.text-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #6c757d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, #dc3545 0%, #6c757d 100%) 1;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.1);
}
