/* ===========================
   Global Styles & Reset
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e11d48;
    --secondary-color: #dc2626;
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-gradient: linear-gradient(135deg, #e11d48 0%, #dc2626 100%);
    --success-color: #10b981;
    --danger-color: #ef4444;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(225, 29, 72, 0.3);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-logo {
    height: 50px;
    width: auto;
    transition: transform var(--transition-speed);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-brand i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu .btn-primary {
    background: var(--accent-gradient);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all var(--transition-speed);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(225, 29, 72, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-logo {
    width: 250px;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out, float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(225, 29, 72, 0.6));
}

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

.glitch {
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(225, 29, 72, 0.6);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 5px 20px rgba(225, 29, 72, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(225, 29, 72, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 26, 26, 0.8);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(225, 29, 72, 0.4);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: blink 2s infinite;
}

.status-indicator.online {
    background: var(--success-color);
    box-shadow: 0 0 10px var(--success-color);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===========================
   Storyline Section
   =========================== */
.storyline {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.divider {
    width: 100px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 0 auto;
}

.storyline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.storyline-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.storyline-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.storyline-quote {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    position: relative;
}

.storyline-quote i {
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 1.5rem;
}

.storyline-quote p {
    font-style: italic;
    margin: 1rem 0;
    color: var(--text-primary);
}

.storyline-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.image-placeholder i {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all var(--transition-speed);
    border: 1px solid rgba(225, 29, 72, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.4);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* ===========================
   Shop Section
   =========================== */
.shop {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.shop .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.shop-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-speed);
    border: 2px solid rgba(225, 29, 72, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(225, 29, 72, 0.4);
}

.shop-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-badge.vip {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0a0e27;
}

.shop-badge.popular {
    background: linear-gradient(135deg, #ff3366 0%, #ff6b9d 100%);
    color: white;
}

.shop-badge.new {
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    color: #0a0e27;
}

.shop-icon {
    width: 90px;
    height: 90px;
    margin: 1rem auto 1.5rem;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 5px 20px rgba(225, 29, 72, 0.5);
}

.shop-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.shop-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 60px;
}

.shop-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--dark-bg);
    border-radius: 10px;
    flex-grow: 1;
}

.shop-features li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-features li i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.shop-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.shop-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: normal;
}

.shop-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.shop-notice {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shop-notice i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.shop-notice p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===========================
   Car Dealer Section
   =========================== */
.car-dealer {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.car-dealer .section-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.car-dealer .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.car-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 3rem 0;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid rgba(225, 29, 72, 0.3);
    border-radius: 25px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.category-btn:hover {
    border-color: var(--primary-color);
    background: rgba(225, 29, 72, 0.1);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(225, 29, 72, 0.4);
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.car-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-speed);
    border: 2px solid rgba(225, 29, 72, 0.2);
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(225, 29, 72, 0.4);
}

.car-card.hidden {
    display: none;
}

.car-image {
    height: 200px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.car-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(225, 29, 72, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(220, 38, 38, 0.2) 0%, transparent 50%);
}

.car-image i {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.4;
    z-index: 1;
}

.car-label {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

.car-label.hot {
    background: linear-gradient(135deg, #ff3366 0%, #ff6b9d 100%);
    color: white;
}

.car-label.premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0a0e27;
}

.car-label.new {
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    color: #0a0e27;
}

.car-label.rare {
    background: linear-gradient(135deg, #9d4edd 0%, #c77dff 100%);
    color: white;
}

.car-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-info h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.car-class {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.car-stats {
    background: var(--dark-bg);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.stat:last-child {
    margin-bottom: 0;
}

.stat i {
    color: var(--primary-color);
    width: 20px;
}

.car-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--success-color);
    margin: 1rem 0;
    text-align: center;
}

.car-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.car-dealer-notice {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.car-dealer-notice i {
    color: var(--primary-color);
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.car-dealer-notice h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.car-dealer-notice p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===========================
   Call to Action
   =========================== */
.cta {
    padding: 6rem 0;
    background: var(--darker-bg);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   Application Pages
   =========================== */
.application-hero {
    padding: 10rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    border-bottom: 1px solid rgba(225, 29, 72, 0.3);
}

.application-hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.application-hero h1 i {
    margin-right: 1rem;
}

.application-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.application-form {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(225, 29, 72, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--text-secondary);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(225, 29, 72, 0.2);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--dark-bg);
    border: 1px solid rgba(225, 29, 72, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.4);
}

.form-group small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.success-message {
    text-align: center;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 2px solid var(--success-color);
}

.success-message i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-message h3 {
    color: var(--success-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.next-steps {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.next-steps h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.next-steps ul {
    list-style-position: inside;
    color: var(--text-secondary);
}

.next-steps li {
    margin-bottom: 0.5rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(225, 29, 72, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(225, 29, 72, 0.2);
    color: var(--text-secondary);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .glitch {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .storyline-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .application-hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav-logo {
        height: 40px;
    }

    .hero-logo {
        width: 180px;
    }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===========================
   Scrollbar Styling
   =========================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}


/* Discord Login Banner */
.discord-login-banner {
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

.discord-login-content {
    color: white;
}

.discord-login-content i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.discord-login-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: white;
}

.discord-login-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-discord {
    background: white;
    color: #5865F2;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-discord:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-discord i {
    font-size: 24px;
}


/* Discord Connection Status */
#discordConnectionStatus {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Readonly Discord input */
input[name="discord"][readonly] {
    background-color: #2a2a2a !important;
    color: #888 !important;
    cursor: not-allowed !important;
    border-color: #444 !important;
}

input[name="discord"][readonly]:focus {
    outline: none;
    border-color: #444 !important;
    box-shadow: none !important;
}

