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

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e  60%, #0f0f0f 100%);
    color: #ffffff;
    overflow-x: hidden;
}

a {
	text-decoration: none;
}

/* Running Line */
.running-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd700, #00ff88);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    z-index: 1001;
    height: 40px;
    overflow: hidden;
}

.running-content {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.running-content span {
    margin-right: 50px;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 40px;
    width: 280px;
    height: calc(100vh - 40px);
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f0f0f 100%);
    border-right: 3px solid #ffd700;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 20px rgba(255, 215, 0, 0.3);
    overflow-y: auto;
}

.logo {
    padding: 30px 20px;
		display: flex;
		gap: 10px;
		align-items: center;
		justify-content: center;
    text-align: center;
    border-bottom: 2px solid #ffd700;
}

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

.logo h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #ffd700;
    text-shadow: 0 0 20px #ffd700;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { text-shadow: 0 0 20px #ffd700; }
    to { text-shadow: 0 0 30px #ffd700, 0 0 40px #ffd700; }
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 5px 15px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

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

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover,
.nav-item.active {
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    color: #000;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.nav-item i {
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
}

.sidebar-bottom {
    padding: 20px;
    border-top: 2px solid #ffd700;
}

.btn-login,
.btn-signup {
    display: block;
    text-align: center;
    padding: 12px;
    margin: 10px 0;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000;
}

.btn-signup {
    background: linear-gradient(45deg, #ff6b35, #ff4757);
    color: #fff;
}

.btn-login:hover,
.btn-signup:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding-top: 40px;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    padding: 60px 40px;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    position: relative;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    margin-bottom: 20px;
}

.gradient-text {
    font-size: 3.5rem;
    background: linear-gradient(45deg, #ffd700, #ff6b35, #ff4757, #ffd700);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    display: block;
}

.subtitle {
    font-size: 1.8rem;
    color: #ffffff;
    display: block;
    margin-top: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-bonus {
    font-size: 1.5rem;
    color: #ffd700;
    margin: 20px 0;
    text-shadow: 0 0 15px #ffd700;
    animation: pulse 2s infinite;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 30px 0;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-primary,
.btn-secondary,
.btn-live {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    color: #000;
}

.btn-secondary {
    background: linear-gradient(45deg, #ff4757, #ff6b35);
    color: #fff;
}

.btn-live {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000;
}

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

.pulse {
    animation: pulse 2s infinite;
}

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

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.coin,
.dice {
    position: absolute;
    font-size: 2rem;
    color: #ffd700;
    opacity: 0.7;
}

.coin-1 {
    top: 20%;
    left: 10%;
    animation: float 3s ease-in-out infinite;
}

.coin-2 {
    top: 60%;
    right: 15%;
    animation: float 4s ease-in-out infinite reverse;
}

.coin-3 {
    bottom: 30%;
    left: 20%;
    animation: float 5s ease-in-out infinite;
}

.dice-1 {
    top: 40%;
    right: 25%;
    animation: rotate 6s linear infinite;
}

.dice-2 {
    bottom: 20%;
    right: 10%;
    animation: rotate 8s linear infinite reverse;
}

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

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

/* Sections */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Section */
.features {
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.1));
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ffd700, #ff6b35, #ff4757);
    z-index: -1;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    color: #000;
}

.feature-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

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

/* Featured Games */
.featured-games {
    padding: 80px 40px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.game-card:hover::before {
    animation: shine 1.5s ease-in-out;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.game-icon {
    font-size: 4rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.game-card h3 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.game-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(45deg, #ff6b35, #ff4757);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.game-btn:hover {
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    color: #000;
    transform: translateY(-2px);
}

/* Live Betting */
.live-betting {
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.betting-matches {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.match-card {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    padding: 20px 30px;
    border-radius: 15px;
    border: 2px solid #00ff88;
    color: #00ff88;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.match-card:hover {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000;
    transform: scale(1.05);
}

/* Fixed Actions */
.fixed-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fixed-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.fixed-btn:hover {
    transform: scale(1.1);
}

.fixed-btn i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 50px;
    left: 20px;
    z-index: 1002;
    background: #ffd700;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 40px 20px;
        min-height: 70vh;
    }
    
    .gradient-text {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features,
    .featured-games,
    .live-betting {
        padding: 60px 20px;
    }
    
    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .betting-matches {
        flex-direction: column;
        align-items: center;
    }
    
    .fixed-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .running-content span {
        margin-right: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 15px;
    }
    
    .gradient-text {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-bonus {
        font-size: 1.2rem;
    }
    
    .features,
    .featured-games,
    .live-betting {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, #ffd700, #ff6b35, #ffd700);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    animation: slideInTimeline 0.6s ease forwards;
    opacity: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    border: 3px solid #1a1a2e;
    top: 50%;
    border-radius: 50%;
    z-index: 1;
    transform: translateY(-50%);
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    position: relative;
    border-radius: 15px;
    border: 2px solid #ffd700;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
}

.timeline-content h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.timeline-content .timeline-date {
    color: #ff6b35;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

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

/* Alternating Layout */
.alternating-section {
    padding: 80px 40px;
}

.alternating-item {
    display: flex;
    align-items: center;
    margin: 60px 0;
    gap: 50px;
    opacity: 0;
    animation: slideInAlternating 0.8s ease forwards;
}

.alternating-item:nth-child(even) {
    flex-direction: row-reverse;
}

.alternating-content {
    flex: 1;
    padding: 30px;
}

.alternating-content h3 {
		font-size: 1.5rem;
		margin-bottom: 10px;
		font-weight: 600;
		color: #ffd700;
}

.alternating-visual {
    flex: 1;
    position: relative;
    min-height: 300px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 20px;
    border: 2px solid #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.alternating-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

.alternating-icon {
    font-size: 4rem;
    color: #ffd700;
    z-index: 2;
}

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

/* Steps Layout */
.steps-container {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.step-item {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid #ffd700;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    animation: stepAppear 0.6s ease forwards;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ffd700, #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    color: #ffd700;
    font-size: 2rem;
    z-index: 1;
}

.step-item:last-child .step-arrow {
    display: none;
}

@keyframes stepAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Carousel Styles */
.carousel-container {
    padding: 80px 40px;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 30px;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.carousel-item {
    min-width: 300px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #ffd700;
    text-align: center;
    transition: all 0.3s ease;
}

.carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
    animation-play-state: paused;
}

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

/* Progress Bar Section */
.progress-section {
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.02);
}

.progress-item {
    margin: 40px 0;
    opacity: 0;
    animation: progressSlideIn 0.8s ease forwards;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-title {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 600;
}

.progress-value {
    color: #ff6b35;
    font-weight: 600;
}

.progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ff6b35);
    border-radius: 10px;
    transition: width 2s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

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

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

/* Zigzag Layout */
.zigzag-section {
    padding: 80px 40px;
    position: relative;
}

.zigzag-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.zigzag-item {
    display: flex;
    align-items: center;
    margin: 80px 0;
    position: relative;
    opacity: 0;
    animation: zigzagSlide 0.8s ease forwards;
}

.zigzag-item:nth-child(even) {
    flex-direction: row-reverse;
}

.zigzag-item:nth-child(even) .zigzag-content {
    padding-left: 60px;
    padding-right: 0;
}

.zigzag-content {
    flex: 1;
    padding-right: 60px;
}

.zigzag-content h3 {
	font-size: 1.5rem;
	margin-bottom: 10px;
	font-weight: 600;
	color: #ffd700;
}

.zigzag-visual {
    flex: 1;
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 20px;
    border: 2px solid #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.zigzag-line {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ff6b35);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.zigzag-item:nth-child(odd) .zigzag-line {
    right: -50px;
    left: auto;
    transform: translateY(-50%);
}

.zigzag-item:nth-child(even) .zigzag-line {
    left: -50px;
    right: auto;
    transform: translateY(-50%);
}

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

/* Responsive adjustments for new layouts */
@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 10px;
    }
    
    .timeline-right {
        left: 0;
    }
    
    .alternating-item,
    .alternating-item:nth-child(even) {
        flex-direction: column;
    }
    
    .zigzag-item,
    .zigzag-item:nth-child(even) {
        flex-direction: column;
    }
    
    .zigzag-content,
    .zigzag-item:nth-child(even) .zigzag-content {
        padding: 20px 0;
    }
    
    .zigzag-line {
        display: none;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-arrow {
        display: none;
    }
} 