/* General Styles */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #1f4e79;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --neutral-100: #ffffff;
    --neutral-200: #f8f9fa;
    --neutral-300: #e9ecef;
    --neutral-400: #dee2e6;
    --neutral-500: #adb5bd;
    --neutral-600: #6c757d;
    --neutral-700: #495057;
    --neutral-800: #343a40;
    --neutral-900: #212529;
    --gradient-primary: linear-gradient(135deg, #ff6b35, #f7931e);
    --gradient-secondary: linear-gradient(135deg, #1f4e79, #3b82f6);
    --gradient-accent: linear-gradient(135deg, #e74c3c, #ff6b35);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.25);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
}

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

a {
	text-decoration: none;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-100);
    overflow-x: hidden;
}

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

/* Running Line */
.running-line {
    background: var(--gradient-primary);
    color: var(--neutral-100);
    padding: 8px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    overflow: hidden;
}

.running-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.running-content span {
    margin-right: 50px;
    font-weight: 500;
    font-size: 14px;
}

@keyframes scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* Navigation */
.navbar {
    background: rgba(31, 78, 121, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 999;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 24px;
    color: var(--neutral-100);
}

.nav-logo img {
    margin-right: 8px;
    height: 50px;
    width: 50px;
		border-radius: 50%;
    object-fit: contain;
    vertical-align: middle;
}

@keyframes glow {
    from { text-shadow: 0 0 5px var(--secondary-color); }
    to { text-shadow: 0 0 20px var(--secondary-color); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--neutral-100);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 16px;
}

.btn-login,
.btn-register {
    padding: 8px 20px;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login {
    color: var(--secondary-color);
    background: transparent;
}

.btn-login:hover {
    background: var(--secondary-color);
    color: var(--neutral-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-register {
    color: var(--neutral-100);
    background: var(--gradient-primary);
    border: 2px solid transparent;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--neutral-100);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--neutral-100);
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 30px;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--neutral-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-action {
    background: var(--gradient-accent);
    color: var(--neutral-100);
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color); }
}

.btn-action:hover {
    transform: translateY(-2px) scale(1.05);
    animation: none;
    box-shadow: var(--shadow-xl);
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    background: var(--warning-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
}

.float-btn {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--gradient-primary);
    color: var(--neutral-100);
    text-decoration: none;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    min-width: 120px;
}

.float-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.float-btn:hover {
    transform: translateX(-8px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.register-float {
    background: var(--gradient-secondary);
}

.bonus-float {
    background: var(--success-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: 48px 0 24px;
    margin-top: 80px;
}

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

.footer-section h3 {
    font-family: 'Orbitron', monospace;
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-size: 20px;
}

.footer-section h4 {
    color: var(--neutral-100);
    margin-bottom: 16px;
    font-size: 16px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--neutral-800);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--neutral-700);
    color: var(--neutral-500);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .running-line {
        font-size: 12px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(31, 78, 121, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .floating-buttons {
        position: fixed;
        bottom: 24px;
        right: 16px;
        left: 16px;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
    }

    .float-btn {
        flex: 1;
        justify-content: center;
        min-width: auto;
        padding: 12px 8px;
        font-size: 12px;
    }

    .float-btn span {
        display: none;
    }

    .float-btn:hover {
        transform: translateY(-4px);
    }

    .btn-primary,
    .btn-secondary,
    .btn-action {
        width: 100%;
        text-align: center;
        margin-bottom: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-action {
        font-size: 14px;
        padding: 12px 24px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

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

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.p-8 { padding: 8px; }
.p-16 { padding: 16px; }
.p-24 { padding: 24px; }
.p-32 { padding: 32px; }

.hidden { display: none; }
.visible { display: block; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}