/* General Styles */
:root {
    --primary-color: #8B5CF6;
    --secondary-color: #EC4899;
    --accent-color: #06B6D4;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --dark-bg: #0F0F23;
    --card-bg: #1A1B3E;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --border-color: #374151;
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --gradient-dark: linear-gradient(135deg, #1A1B3E 0%, #0F0F23 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
}

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

a {
	text-decoration: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

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


/* Running Ticker */
.ticker-container {
    background: var(--gradient-primary);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker 60s linear infinite;
}

.ticker-content span {
    display: inline-flex;
    align-items: center;
    margin-right: 3rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.ticker-content span i {
    margin-right: 0.5rem;
    color: #FFD700;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Navigation */
.navbar {
    background: rgba(26, 27, 62, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn-login,
.btn-register {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-login:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-register {
    background: var(--gradient-primary);
    color: white;
}

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

/* Sticky Action Buttons */
.sticky-actions {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 98;
}

.sticky-btn {
    padding: 0.75rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.register-btn {
    background: var(--gradient-primary);
    color: white;
}

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

.bonus-btn {
    background: var(--gradient-warning);
    color: white;
}

.sticky-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0.5rem;
    box-shadow: var(--shadow-sm);
}

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

.cta-btn.primary {
    background: var(--gradient-primary);
    color: white;
}

.cta-btn.success {
    background: var(--gradient-success);
    color: white;
}

.cta-btn.danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
}

.cta-btn.warning {
    background: var(--gradient-warning);
    color: white;
}

.cta-btn.info {
    background: var(--gradient-secondary);
    color: white;
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-glow {
    animation: glow 2s infinite;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.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 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-buttons {
        gap: 0.5rem;
    }
    
    .btn-login,
    .btn-register {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .sticky-actions {
        right: 1rem;
        transform: translateY(-50%) scale(0.9);
    }
    
    .sticky-btn {
        min-width: 100px;
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .cta-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.25rem;
    }
    
    .ticker-content span {
        font-size: 0.8rem;
        margin-right: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        width: 32px;
        height: 32px;
    }
    
    .sticky-actions {
        right: 0.5rem;
        transform: translateY(-50%) scale(0.8);
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .btn-login,
    .btn-register {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #FFFFFF;
        --text-secondary: #E5E5E5;
        --border-color: #666666;
    }
}

/* Navigation Toggle Button */
.nav-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--text-primary);
	font-size: 2rem;
	cursor: pointer;
	margin-left: 1rem;
	transition: color 0.2s;
}

.nav-toggle:focus {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.nav-toggle.active,
.nav-toggle:hover {
	color: var(--accent);
}

@media (max-width: 991px) {
	.nav-toggle {
			display: block;
			background-color: #000;
			padding: 10px;
			border-radius: 50%;
			position: fixed;
			top: 120px;
			z-index: 100;
			right: 0;
	}
.nav-menu {
		position: fixed;
		top: 70px;
		left: 0;
		right: 0;
		background: rgba(26, 27, 62, 0.98);
		flex-direction: column;
		align-items: flex-start;
		padding: 1.5rem 2rem 1rem 2rem;
		box-shadow: 0 8px 24px rgba(0,0,0,0.12);
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		pointer-events: none;
		transition: max-height 0.3s cubic-bezier(.4,0,.2,1), opacity 0.2s;
		z-index: 100;
		display: flex;
	}

	.nav-menu.active {
		max-height: 800px;
		opacity: 1;
		pointer-events: auto;
	}
	.nav-menu li {
			margin: 1rem 0;
	}
}
