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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a0b2b 0%, #2d1b69 50%, #1a0b2b 100%);
    color: #ffffff;
    overflow-x: hidden;
}

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

/* Typography */
h1 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 1rem;
}

h2 { 
    font-size: 2rem; 
    font-weight: 600; 
    line-height: 1.2; 
    margin-bottom: 1.5rem;
}

h3 { 
    font-size: 1.5rem; 
    font-weight: 500; 
    line-height: 1.2; 
    margin-bottom: 1rem;
}

p { 
    line-height: 1.6; 
    margin-bottom: 1rem;
}

/* Running Ticker */
.ticker-container {
    background: linear-gradient(90deg, #ff006e 0%, #8338ec 50%, #3a86ff 100%);
    padding: 8px 0;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    z-index: 1000;
}

.ticker-content {
    display: inline-block;
    animation: scroll-left 60s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin-right: 50px;
    font-weight: 500;
    font-size: 0.9rem;
}

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

/* Header */
.header {
    background: rgba(26, 11, 43, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff006e;
}

.logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(131, 56, 236, 0.15);
    border: 2px solid #ff006e;
    background: #fff;
    transition: transform 0.2s;
}

.logo img:hover {
    transform: scale(1.08) rotate(-3deg);
}

.navigation {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ff006e;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff006e, #8338ec);
    border-radius: 2px;
}

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

.btn-login,
.btn-register {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login {
    color: #ffffff;
    border: 2px solid #3a86ff;
    background: transparent;
}

.btn-login:hover {
    background: #3a86ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.4);
}

.btn-register {
    background: linear-gradient(135deg, #ff006e, #8338ec);
    color: #ffffff;
    border: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
}

.mobile-menu-toggle {
    display: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn-cta {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta.primary {
    background: linear-gradient(135deg, #ff006e, #8338ec);
    color: #ffffff;
}

.btn-cta.secondary {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #ffffff;
}

.btn-cta.tertiary {
    background: linear-gradient(135deg, #fb8500, #ffb703);
    color: #ffffff;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-cta::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-cta:hover::before {
    left: 100%;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fab.register {
    background: linear-gradient(135deg, #ff006e, #8338ec);
}

.fab.login {
    background: linear-gradient(135deg, #3a86ff, #06ffa5);
}

.fab.bonus {
    background: linear-gradient(135deg, #ffb703, #fb8500);
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Game Cards */
.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #8338ec, #3a86ff);
}

.game-info {
    padding: 1.5rem;
}

.game-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.game-info p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.play-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #ff006e, #8338ec);
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
}

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

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

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    .navigation {
        display: none;
    }
    .navigation.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: rgba(26, 11, 43, 0.98);
        z-index: 1000;
        gap: 0;
        padding: 1.5rem 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        animation: fadeInUp 0.4s;
    }
    .navigation.mobile-active .nav-link {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        width: 100%;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .btn-login,
    .btn-register {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .floating-actions {
        right: 15px;
        gap: 10px;
    }
    
    .fab {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

		.logo span {
			display: none;
		}
    
    .ticker-item {
        margin-right: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .logo i {
        font-size: 1.6rem;
    }
    
    .btn-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .floating-actions {
        right: 10px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}