:root {
  --bg1: #0ea5e9;
  --bg2: #6366f1;
  --bg3: #ec4899;
  --bg4: #d946ef;
  --bg5: #22c55e;
}

html, body {
  height: 100%;
}

body {
  min-height: 100%;
  background-color: #2a2a30;
  background-attachment: fixed;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
  line-height: 1.6;
}

header.navbar {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.blog-footer{
  padding: 2rem;
}
header.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.bg-primary {
  --bs-bg-opacity: 1;
  background-color: #10412a !important;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #198754;
  --bs-btn-border-color: #198754;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #198754;
  --bs-btn-hover-border-color: #198754;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #198754;
  --bs-btn-active-border-color: #198754;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #198754;
  --bs-btn-disabled-border-color: #198754;
}
.logo-img {
  width: 100px;
  height: auto;
  margin-right: .5rem;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .5));
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #111;
  transition: transform 0.3s ease;
}

.carousel-item:hover img {
  transform: scale(1.02);
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--bg1);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  background: rgba(0, 0, 0, 0.6);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb {
  background: transparent;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  color: #9ca3af;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #38bdf8;
}

.breadcrumb-item.active {
  color: #ffffff;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #6b7280;
  margin: 0 0.5rem;
}

/* Hero Section */
.navbar-nav .nav-link.active, 
.navbar-nav .nav-link.show {
  color: #ffc107 !important;
}

.navbar-nav .nav-link:hover {
  color: var(--bg1) !important;
  transform: translateY(-2px);
}

.game-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--bg1);
}

.game-card:focus-within {
  outline: 3px solid var(--bg1);
  outline-offset: 2px;
}

.game-thumb {
  width: 100%;
  height: 100%;
  background: #222;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-thumb {
  transform: scale(1.05);
}

.providers-logos img {
  object-fit: contain;
  background: #444;
  border-radius: .5rem;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.providers-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

footer {
  background: linear-gradient(135deg, #000, #1a1a1a);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-login,
.btn-register {
  min-width: 120px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-login:hover,
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .game-card {
    margin-bottom: 1rem;
  }
  
  .carousel-item img {
    height: 250px;
  }
  
  .btn-login,
  .btn-register {
    min-width: 100px;
    font-size: 0.9rem;
  }
  
  .logo-img {
    width: 80px;
  }
}

@media (max-width: 576px) {
  .game-card {
    margin-bottom: 0.75rem;
  }
  
  .carousel-item img {
    height: 200px;
  }
  
  .btn-login,
  .btn-register {
    min-width: 90px;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Loading States */
.loading {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* Focus States untuk Accessibility */
.btn:focus,
.nav-link:focus,
.game-card:focus {
  outline: 3px solid var(--bg1);
  outline-offset: 2px;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Hover Effects untuk Interactive Elements */
.navbar-brand:hover {
  transform: scale(1.05);
}

.carousel-control-prev,
.carousel-control-next {
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: var(--bg1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #0ea5e9, #3b82f6, #8b5cf6, #ef4444);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: -22px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #0ea5e9;
  backdrop-filter: blur(10px);
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  color: #fbbf24;
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .carousel-controls {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

 
 / *   G a l l e r y   S t y l e s   * / 
 . g a l l e r y - i t e m   { 
     t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
     b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
 } 
 
 . g a l l e r y - i t e m : h o v e r   { 
     t r a n s f o r m :   t r a n s l a t e Y ( - 5 p x ) ; 
     b o r d e r - c o l o r :   v a r ( - - b g 1 ) ; 
     b o x - s h a d o w :   0   8 p x   2 5 p x   r g b a ( 1 4 ,   1 6 5 ,   2 3 3 ,   0 . 3 ) ; 
 } 
 
 . g a l l e r y - i t e m   i m g   { 
     t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
     c u r s o r :   p o i n t e r ; 
 } 
 
 . g a l l e r y - i t e m : h o v e r   i m g   { 
     t r a n s f o r m :   s c a l e ( 1 . 0 5 ) ; 
 } 
 
 . g a l l e r y - s e c t i o n   h 2   { 
     c o l o r :   v a r ( - - b g 1 ) ; 
     b o r d e r - b o t t o m :   2 p x   s o l i d   v a r ( - - b g 1 ) ; 
     p a d d i n g - b o t t o m :   1 r e m ; 
     m a r g i n - b o t t o m :   2 r e m ; 
 } 
 
 . i m a g e - s t a t s   { 
     b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   r g b a ( 1 4 ,   1 6 5 ,   2 3 3 ,   0 . 1 ) ,   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 1 ) ) ; 
     b o r d e r :   1 p x   s o l i d   r g b a ( 1 4 ,   1 6 5 ,   2 3 3 ,   0 . 3 ) ; 
     b o r d e r - r a d i u s :   1 5 p x ; 
     p a d d i n g :   2 r e m ; 
 } 
 
 . i m a g e - s t a t s   h 3   { 
     c o l o r :   v a r ( - - b g 1 ) ; 
     m a r g i n - b o t t o m :   1 . 5 r e m ; 
 } 
 
 . i m a g e - s t a t s   u l   { 
     l i s t - s t y l e :   n o n e ; 
     p a d d i n g :   0 ; 
 } 
 
 . i m a g e - s t a t s   l i   { 
     p a d d i n g :   0 . 5 r e m   0 ; 
     b o r d e r - b o t t o m :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
     c o l o r :   # f f f ; 
 } 
 
 . i m a g e - s t a t s   l i : l a s t - c h i l d   { 
     b o r d e r - b o t t o m :   n o n e ; 
 } 
 
 . i m a g e - s t a t s   s t r o n g   { 
     c o l o r :   v a r ( - - b g 1 ) ; 
 } 
 
 
 
 / *   S h o w c a s e   S t y l e s   * / 
 . s h o w c a s e - i t e m   { 
     t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
     b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
 } 
 
 . s h o w c a s e - i t e m : h o v e r   { 
     t r a n s f o r m :   t r a n s l a t e Y ( - 5 p x ) ; 
     b o r d e r - c o l o r :   v a r ( - - b g 1 ) ; 
     b o x - s h a d o w :   0   8 p x   2 5 p x   r g b a ( 1 4 ,   1 6 5 ,   2 3 3 ,   0 . 3 ) ; 
 } 
 
 . s h o w c a s e - i t e m   i m g   { 
     t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
     c u r s o r :   p o i n t e r ; 
 } 
 
 . s h o w c a s e - i t e m : h o v e r   i m g   { 
     t r a n s f o r m :   s c a l e ( 1 . 0 5 ) ; 
 } 
 
 . s h o w c a s e - s e c t i o n   h 2   { 
     c o l o r :   v a r ( - - b g 1 ) ; 
     b o r d e r - b o t t o m :   2 p x   s o l i d   v a r ( - - b g 1 ) ; 
     p a d d i n g - b o t t o m :   1 r e m ; 
     m a r g i n - b o t t o m :   2 r e m ; 
 } 
 
 . s h o w c a s e - s t a t s   { 
     b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   r g b a ( 1 4 ,   1 6 5 ,   2 3 3 ,   0 . 1 ) ,   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 1 ) ) ; 
     b o r d e r :   1 p x   s o l i d   r g b a ( 1 4 ,   1 6 5 ,   2 3 3 ,   0 . 3 ) ; 
     b o r d e r - r a d i u s :   1 5 p x ; 
     p a d d i n g :   2 r e m ; 
 } 
 
 . s h o w c a s e - s t a t s   h 3   { 
     c o l o r :   v a r ( - - b g 1 ) ; 
     m a r g i n - b o t t o m :   1 . 5 r e m ; 
 } 
 
 . s h o w c a s e - s t a t s   h 4   { 
     c o l o r :   # f f f ; 
     f o n t - w e i g h t :   b o l d ; 
 } 
 
 . s h o w c a s e - s t a t s   s m a l l   { 
     c o l o r :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 8 ) ; 
 } 
 
 / *   R e s p o n s i v e   s h o w c a s e   * / 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
     . s h o w c a s e - i t e m   { 
         m a r g i n - b o t t o m :   1 r e m ; 
     } 
     
     . s h o w c a s e - i t e m   i m g   { 
         m a x - h e i g h t :   1 0 0 p x ; 
     } 
     
     . s h o w c a s e - s t a t s   { 
         p a d d i n g :   1 r e m ; 
     } 
 } 
 
 