/* Global Styles */
:root {
    --primary: #9c27b0;
    --primary-dark: #7b1fa2;
    --primary-light: #e1bee7;
    --secondary: #00c853;
    --secondary-dark: #009624;
    --accent: #ffc107;
    --dark: #0a0013;
    --dark-gray: #1c1124;
    --light-gray: #2d1f35;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: var(--text);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(156, 39, 176, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--secondary), var(--secondary-dark));
    color: var(--text);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 200, 83, 0.6);
}

.btn-tertiary {
    background: linear-gradient(45deg, var(--accent), #ffab00);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-tertiary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(255, 193, 7, 0.6);
}

.btn-login {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--text);
}

.btn-register {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: var(--text);
}

/* Ticker/Running Line */
.ticker-container {
    background-color: var(--dark-gray);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.exchange-rates {
    display: flex;
    padding: 0 20px;
    gap: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.exchange-rates span {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 14px;
    color: var(--text-secondary);
}

.winners-ticker {
    overflow: hidden;
    flex: 1;
    position: relative;
    height: 20px;
    margin: 0 20px;
    background-color: transparent;
}

.winner-item {
    position: absolute;
    top: 0;
    right: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    color: var(--accent);
    font-weight: 500;
    font-size: 14px;
    animation: tickerAnimation 25s linear infinite;
}

/* Winner items will have their animation delays set dynamically by JavaScript */

@keyframes tickerAnimation {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(-150%);
        opacity: 0;
    }
}

.ticker-buttons {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    flex-shrink: 0;
}

.btn-free-money {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
}

.btn-free-money:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.6);
}

.btn-bonuses {
    background: linear-gradient(45deg, #00c853, #00e676);
    color: white;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.4);
    animation: pulse 2s infinite 1s;
}

.btn-bonuses:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.6);
}

/* Header Styles */
header {
    background-color: var(--dark);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav ul li a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav ul li a:hover,
.main-nav ul li.active a {
    color: var(--text);
}

.main-nav ul li.active a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero {
    padding: 40px 0;
    background-color: var(--dark);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 20px;
}

.hero-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 300px;
    display: flex;
    align-items: flex-end;
}

.hero-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.hero-item.main-promo {
    background: url('images/1.avif');
    background-size: cover;
    animation: gradientBG 10s ease infinite;
}

.hero-item.cashback {
    background: url('images/11.png');
    background-size: cover;
}

.hero-item.bonus {
    background: url('images/4.avif');
    background-size: cover;
}

.game-providers {
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
	padding: 10px;
	background-color: var(--dark-gray);
	border-radius: 10px;
}

.game-providers a:hover {
	transform: scale(1.1);
}

.game-providers img {
	width: auto;
	height: 20px;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-item .content {
    padding: 30px;
    width: 100%;
		padding-right: 200px;
    position: relative;
    z-index: 2;
}

.hero-item h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-item p, .hero-item h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-secondary);
}

/* Game Categories */
.game-categories {
    padding: 50px 0;
    background-color: var(--dark-gray);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-item {
		background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" viewBox="0 0 800 600"><rect width="800" height="600" fill="%231c1124"/><path d="M0 0L800 600" stroke="%233c2d48" stroke-width="2"/><path d="M800 0L0 600" stroke="%233c2d48" stroke-width="2"/></svg>');
		background-size: cover;
		border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.category-item i {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--primary);
}

.category-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.category-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Main Content Section */
.main-content {
    padding: 60px 0;
}

.welcome-section h1 {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.welcome-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary);
}

.welcome-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.7;
}

.features {
    background-color: var(--dark-gray);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 50px;
}

.features h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 18px;
}

.feature-list li i {
    color: var(--secondary);
}

.games-preview {
    margin-bottom: 30px;
}

.games-preview h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.games-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-type {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.game-type span {
    font-size: 24px;
}

.closing-text {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.btn-float {
    width: 150px;
    text-align: center;
    padding: 15px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-float.register {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: var(--text);
}

.btn-float.play-now {
    background: linear-gradient(45deg, var(--secondary), var(--secondary-dark));
    color: var(--text);
}

.btn-float:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--text);
}

.footer-column ul li i {
    margin-right: 10px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-item.main-promo {
        grid-column: 1 / 3;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .ticker-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }
    
    .exchange-rates {
        display: none;
    }
    
    .winners-ticker {
        margin: 0;
        height: 30px;
    }
    
    .ticker-buttons {
        padding: 0 10px;
    }
    
    .btn-free-money,
    .btn-bonuses {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .main-nav ul li a {
        padding: 15px 20px;
        border-radius: 8px;
        background-color: var(--light-gray);
        display: block;
        transition: all 0.3s ease;
    }

		.hero-item {
			height: 100%;
		}

		.hero-item .content {
			padding-right: 0;
		}
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .auth-buttons .btn-login {
        display: none;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-item.main-promo {
        grid-column: auto;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .ticker-container {
        padding: 8px 0;
    }
    
    .winners-ticker {
        height: 25px;
    }
    
    .btn-free-money,
    .btn-bonuses {
        font-size: 10px;
        padding: 4px 8px;
    }

		.btn-register {
			padding: 5px 10px;
		}
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-section h1 {
        font-size: 28px;
    }
    
    .welcome-section h2 {
        font-size: 20px;
    }
    
    .btn-float {
        width: 120px;
        font-size: 14px;
    }
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-register {
    animation: pulse 2s infinite;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-item, .category-item, .welcome-section, .features {
    animation: fadeInUp 0.8s ease-out forwards;
} 

@media screen and (max-width: 1300px) {
	.game-providers {
		display: none;
	}
}