/* PJOK Casino - Main Styles */
:root {
  --primary: #8921e0;
  --secondary: #ff9800;
  --dark: #1c1c2c;
  --darker: #141428;
  --light: #f0f0f0;
  --success: #4caf50;
  --warning: #ff5722;
  --accent: #00bcd4;
  --text: #ffffff;
  --text-secondary: #cccccc;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--darker);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background: rgba(28, 28, 44, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

.top-bar {
    background: var(--dark);
    padding: 8px 0;
    font-size: 14px;
    position: relative;
}

.ticker-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.exchange-rates {
    white-space: nowrap;
    color: var(--text-secondary);
    padding-right: 20px;
    min-width: 200px;
}

.ticker {
    white-space: nowrap;
    overflow: hidden;
    color: var(--text-secondary);
    flex: 1;
}

.top-buttons {
    display: flex;
    gap: 15px;
    white-space: nowrap;
    padding-left: 20px;
    min-width: 200px;
    justify-content: flex-end;
}

.top-button {
    background-color: var(--secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-button i {
    font-size: 14px;
}

.top-button.primary {
    background-color: var(--primary);
}

.ticker-content {
  display: inline-block;
  animation: ticker 30s linear infinite;
  padding-left: 100%;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 50px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
	width: 100%;
	object-fit: cover;
}

.logo span {
  font-size: 24px;
  font-weight: 800;
  margin-left: 10px;
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  font-weight: 600;
  padding: 10px 15px;
  border-radius: var(--border-radius);
}

nav ul li a:hover,
nav ul li a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary);
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: white;
}

.btn-secondary {
  background: var(--secondary);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
}

.btn-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  z-index: 99;
}

.btn-floating i {
  font-size: 24px;
}

.btn-floating:hover {
  transform: scale(1.1);
	color: #000;
}

/* Hero Section */
.hero {
  padding: 140px 0 0 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 30px;
}

.hero-cards {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.hero-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    color: white;
    transition: transform 0.3s ease;
    min-height: 350px;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.hero-card.blue {
    background: url('../images/4.avif') no-repeat center center;
}

.hero-card.purple {
    background: url('../images/2.png') no-repeat center center;
}

.hero-card.dark-blue {
    background: url('../images/2.avif') no-repeat center center;
		background-size: cover;
}

.hero-card.dark-blue h2 {
	padding-right: 300px;
}

.hero-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-card .bonus-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-card .btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 100%;
}

.hero-card .btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

.game-providers {
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.game-providers img {
	width: auto;
	height: 30px;
	object-fit: cover;
}

.game-providers a:hover {
	transform: scale(1.1);
	transition: transform 0.3s ease;
}

/* Cards */
.cards {
  display: flex;
  gap: 20px;
  margin: 50px 0;
}

.card {
  flex: 1;
  background: linear-gradient(145deg, rgba(40, 40, 70, 0.8), rgba(30, 30, 60, 0.8));
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  z-index: -1;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
}

.card:hover::before {
  transform: rotate(45deg);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.card p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.card .icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--dark);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h1 {
	font-size: 2.5rem;
	color: var(--secondary);
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 10px;
}

.section-title h2 {
	font-size: 2rem;
	color: var(--secondary);
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 10px;
}

.section-title p {
  color: var(--text-secondary);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-item {
  flex: 1 1 300px;
  text-align: center;
  padding: 30px;
  background: rgba(28, 28, 44, 0.6);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(40, 40, 70, 0.6);
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Games Section */
.games {
  padding: 80px 0;
  background: var(--darker);
}

.game-categories {
  display: flex;
  justify-content: center;

  gap: 15px;
  margin-bottom: 40px;
}

.category-btn {
  padding: 10px 20px;
  background: var(--dark);
  border: none;
  border-radius: var(--border-radius);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
  background: var(--primary);
  transform: translateY(-3px);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.game-card {
  background: linear-gradient(145deg, rgba(40, 40, 70, 0.8), rgba(30, 30, 60, 0.8));
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.game-img {
  height: 200px;
  background: linear-gradient(to bottom right, var(--primary), var(--accent));
  position: relative;
  overflow: hidden;
}

.game-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('') center/cover no-repeat;
  opacity: 0.6;
}

.game-img .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.game-card:hover .overlay {
  opacity: 1;
}

.game-info {
  padding: 20px;
}

.game-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.game-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: var(--dark);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  text-align: center;
  padding: 40px;
  background: rgba(28, 28, 44, 0.6);
  border-radius: var(--border-radius);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-author {
  color: var(--secondary);
  font-weight: 600;
}

/* CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

/* Footer */
footer {
  background: var(--darker);
  padding-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
}

.footer-about p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-menu h4, .footer-info h4, .footer-newsletter h4 {
  color: var(--secondary);
  margin-bottom: 20px;
}

.footer-menu ul {
  list-style: none;
}

.footer-menu ul li {
  margin-bottom: 10px;
}

.footer-menu ul li a {
  color: var(--text-secondary);
}

.footer-menu ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-info p {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.footer-info i {
  margin-right: 10px;
  color: var(--primary);
}

.newsletter-form {
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: 15px;
  border-radius: var(--border-radius);
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  margin-bottom: 15px;
}

.newsletter-form button {
  background: var(--secondary);
  border: none;
  color: white;
  padding: 15px;
  border-radius: var(--border-radius);
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .cards {
    flex-direction: column;
  }
}

/* Game Categories Section */
.game-categories-section {
    margin-bottom: 50px;
}

.game-category-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.game-category-card {
    background: linear-gradient(to bottom, #23233f, #181830);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    color: white;
}

.category-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    position: relative;
    z-index: 1;
}

.category-icon i {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.category-content {
    flex: 1;
}

.category-content h3 {
    margin: 0 0 5px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.category-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .hero-cards {
        grid-template-columns: 2fr 1fr;
        max-width: 600px;
        margin: 0 auto 40px;
    }
		header {
			position: relative;
		}
		.hero {
			padding-top: 20px;
		}
		.hero-card.dark-blue h2 {
			padding-right: 0;
		}
    
    .hero-card {
        min-height: 200px;
    }
    
    .exchange-rates, .top-buttons {
        display: none;
    }
    
    .game-category-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
  .header-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
  }
  
  .logo {
    height: 40px;
  }
  
  .menu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    transition: left 0.3s ease;
    z-index: 100;
    display: flex;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  nav {
    width: 100%;
    order: 3;
    margin: 0;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    display: none;
  }
  
  nav.active ul {
    display: flex;
  }
  
  nav ul li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  
  .auth-buttons {
    order: 2;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
    display: flex;
    gap: 10px;
  }
  
  .game-providers {
    margin: 15px auto;
    justify-content: center;
    order: 1;
    width: 100%;
  }
  
  .game-providers img {
    height: 20px;
  }
}

@media (max-width: 576px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 5px 0;
  }
  
  .auth-buttons {
    width: 100%;
  }
  
  .auth-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }

	.hero-cards {
		grid-template-columns: 1fr;
	}
  
  .hero h1 {
    font-size: 1.8rem;
  }

    .game-category-cards {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom pages styles */

/* Promotions Page */
.promotions {
  padding: 140px 0 80px;
}

.promo-card {
  margin-bottom: 30px;
  background: linear-gradient(145deg, rgba(40, 40, 70, 0.8), rgba(30, 30, 60, 0.8));
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.promo-card-horizontal {
  flex-direction: row;
}

.promo-img {
  flex: 1;
  min-height: 250px;
  background: linear-gradient(to bottom right, var(--primary), var(--accent));
}

.promo-img img, .dealer-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.promo-content {
  flex: 2;
  padding: 30px;
}

.promo-title {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.promo-details {
  margin: 20px 0;
}

.promo-details ul {
  list-style: none;
}

.promo-details li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.promo-details i {
  color: var(--success);
  margin-right: 10px;
}

/* Live Casino Page */
.live-dealers {
  padding: 140px 0 80px;
}

.dealer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.dealer-card {
  background: linear-gradient(145deg, rgba(40, 40, 70, 0.8), rgba(30, 30, 60, 0.8));
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.dealer-card:hover {
  transform: translateY(-10px);
}

.dealer-img {
  height: 200px;
  background: linear-gradient(to bottom right, var(--primary), var(--accent));
  position: relative;
}

.dealer-info {
  padding: 20px;
  text-align: center;
}

.dealer-name {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.dealer-game {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 15px;
}

.dealer-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-secondary);
}

.dealer-meta span {
  display: flex;
  align-items: center;
}

.dealer-meta i {
  margin-right: 5px;
}

/* About Page */
.about {
  padding: 140px 0 80px;
}

/* About Page - Improved About Content */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  align-items: center;
  margin: 50px 0;
  position: relative;
  overflow: visible;
}

.about-content:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  opacity: 0.5;
  z-index: 0;
}

.about-text {
  color: var(--text-secondary);
  position: relative;
  background: rgba(28, 28, 44, 0.6);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 1;
}

.about-text:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top right, rgba(137, 33, 224, 0.1), transparent 70%);
  z-index: -1;
}

.about-text h2 {
  color: var(--secondary);
  font-size: 2.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-text h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.values {
  margin-top: 40px;
}

.values h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.value-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
  padding: 15px;
  border-radius: 15px;
  background: rgba(28, 28, 44, 0.3);
}

.value-item:hover {
  transform: translateX(10px);
  background: rgba(40, 40, 70, 0.5);
}

.value-icon {
  background: var(--primary);
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(137, 33, 224, 0.3);
}

/* Timeline for Why PJOK is Bangladesh's #1 Casino Choice */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 60px;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 40px;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 40px;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  border: 4px solid var(--dark);
  box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.3);
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  background: rgba(40, 40, 70, 0.6);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.timeline-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

.timeline-content p {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .timeline:before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 70px;
    padding-right: 0;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) {
    padding-right: 0;
    padding-left: 70px;
    text-align: left;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot {
    left: 20px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 20px;
  }
}

/* Immersive Live Casino Experience - Creative Design */
.immersive-experience {
  padding: 80px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.immersive-experience:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(137, 33, 224, 0.2), transparent 80%);
  z-index: 0;
}

.immersive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.experience-card {
  position: relative;
  background: linear-gradient(145deg, rgba(40, 40, 70, 0.8), rgba(30, 30, 60, 0.8));
  padding: 30px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.experience-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.experience-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(28, 28, 44, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.experience-icon:after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  z-index: -1;
  opacity: 0.5;
}

.experience-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.experience-card p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.experience-features {
  width: 100%;
  text-align: left;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-feature {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.experience-feature i {
  color: var(--success);
  margin-right: 10px;
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .immersive-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .immersive-grid {
    grid-template-columns: 1fr;
  }
	.game-categories {
		flex-direction: column;
	}
	.promo-card-horizontal {
		flex-direction: column;
	}
	.container {
		overflow-y: hidden;
	}
} 


@media (max-width: 576px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Fix for extra margin/padding issues */
  .hero, .features, .games, .cta, section {
    width: 100%;
		height: 100%;
    max-width: 100vw;
		overflow-y: hidden;
  }
  
  /* Fix for game grid items */
  .game-grid, .dealer-grid {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  .game-card, .dealer-card {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Fix for text elements that might be too wide */
  p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Исправление мобильной навигации */
@media (max-width: 768px) {
  .nav-menu {
    display: flex;
    width: 100%;
    position: fixed;
    top: 80px;
    left: -100%;
    height: calc(100vh - 80px);
    background-color: var(--dark);
    flex-direction: column;
    transition: left 0.3s ease;
    padding: 20px 0;
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu li a {
    width: 100%;
    display: block;
    padding: 10px 0;
  }
	.about-content {
		grid-template-columns: 1fr;
		margin-top: 0;
	}
} 

/* Хедер мобильная адаптация */
@media (max-width: 768px) {
  .header-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
  }

	.promo-img {
		width: 100%;
		height: 100%;
		min-height: 50px;
	}
  
  .logo {
    height: 40px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    transition: left 0.3s ease;
    z-index: 100;
    display: flex;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  nav {
    width: 100%;
    order: 3;
    margin: 0;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
  }
  
  nav ul li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  
  .auth-buttons {
    order: 2;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
    display: flex;
    gap: 10px;
  }
  
  .game-providers {
    margin: 15px auto;
    justify-content: center;
    order: 1;
    width: 100%;
  }
  
  .game-providers img {
    height: 20px;
  }
	.promotions, .about {
		padding-top: 20px;
	}
}

/* Дополнительные улучшения для мобильной версии */
@media (max-width: 576px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
  }
  
  body {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  
  .container {
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }
  
  .hero-card {
    min-height: 250px;
    padding: 20px;
  }
  
  .dealer-grid, .game-grid {
    grid-template-columns: 1fr;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  .ticker {
    display: none;
  }
  
  .dealer-card, .game-card {
    margin-bottom: 15px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .dealer-img {
    height: 150px;
  }
  
  .section-title h1 {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  /* Fix for extra margin/padding issues */
  .hero, .features, .games, .cta, section {
    width: 100%;
    overflow: hidden;
    max-width: 100%;
  }
  
  /* Fix for text elements that might be too wide */
  p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
} 