
.card-logo {
  grid-area: logo;
  display: grid;
  place-items: center;
  min-height: 80px;
  max-height: 120px;
  padding: 0.5rem;
  overflow: hidden;
}

.card-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #1a1a1a;
  overflow-x: hidden;
  position: relative;
}



.background-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
  z-index: -1;
}



.main-container {
  min-height: 100vh;
  padding: 1rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}


.site-header {
  text-align: center;
  margin-bottom: 1rem;
  width: 100%;
}

.logo-container {
  display: inline-block;
  position: relative;
}

.site-logo {
  max-width: clamp(150px, 20vw, 250px);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
  animation: logoBreath 3s ease-in-out infinite, logoGlow 4s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.8));
}

@keyframes logoBreath {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
  }
  100% {
    filter: drop-shadow(0 0 35px rgba(255, 107, 53, 0.9)) drop-shadow(0 0 50px rgba(255, 193, 7, 0.3));
  }
}



.promo-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

.promo-banner {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 20px rgba(255, 107, 53, 0.4),
    0 0 0 0 rgba(255, 107, 53, 0.6);
  animation: promoGlow 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  text-align: center;
  width: 90%;
  min-width: 280px;
}

.promo-banner::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.8s ease;
}

.promo-banner:hover::before {
  left: 100%;
}

.promo-banner:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 8px 30px rgba(255, 107, 53, 0.6),
    0 0 0 6px rgba(255, 107, 53, 0.3);
}

.promo-text {
  font-size: clamp(0.6rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.2px;
  position: relative;
  z-index: 2;
}

@keyframes promoGlow {
  0%, 100% {
    box-shadow: 
      0 4px 20px rgba(255, 107, 53, 0.4),
      0 0 0 0 rgba(255, 107, 53, 0.6);
  }
  50% {
    box-shadow: 
      0 6px 25px rgba(255, 107, 53, 0.6),
      0 0 0 4px rgba(255, 107, 53, 0.4);
  }
}



.banner-section {
  width: 100%;
  margin-bottom: 2rem;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.banner-item {
  position: relative;
  aspect-ratio: 10/1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 20px rgba(255, 107, 53, 0.2),
    0 0 0 2px rgba(255, 107, 53, 0.3);
  background: #2a2a2a;
}

.banner-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(255, 107, 53, 0.1) 0%, 
    transparent 50%, 
    rgba(255, 107, 53, 0.1) 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.banner-item:hover::before {
  opacity: 1;
}

.banner-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 8px 30px rgba(255, 107, 53, 0.4),
    0 0 0 3px rgba(255, 107, 53, 0.5);
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.banner-item:hover img {
  transform: scale(1.05);
}



@media (max-width: 768px) {
  .banner-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .banner-item {
    aspect-ratio: 8/1;
  }
  
  .promo-banner {
    padding: 1rem 1.8rem;
    margin: 1rem auto;
    max-width: 420px;
    width: 95%;
    min-width: 260px;
  }
  
  /* VIP ve Normal siteler için mobil grid */
  .vip-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  
  .normal-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  
  .casino-card {
    max-width: none;
    aspect-ratio: 3/4;
  }
  
  /* Mobil için kart içeriği optimizasyonu */
  .casino-card {
    max-width: none;
    aspect-ratio: 3/4;
    overflow: hidden;
  }
  
  .card-content {
    padding: 0.4rem 0.3rem;
    gap: 0.2rem;
    grid-template-rows: auto 1fr auto;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .card-logo {
    min-height: 25px;
    max-height: 35px;
    padding: 0;
    overflow: hidden;
  }
  
  .card-logo img {
    max-width: 80%;
    max-height: 100%;
  }
  
  .card-description {
    padding: 0.1rem;
    margin: auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
  }
  
  .card-description p {
    font-size: clamp(0.45rem, 2vw, 0.6rem);
    line-height: 1.1;
    overflow: visible;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    word-break: break-word;
  }
  
  .card-button-container {
    padding: 0.1rem;
    overflow: hidden;
  }
  
  .card-button {
    padding: clamp(0rem, 1vw, 0.1rem) clamp(0.1rem, 1vw, 2rem) !important;
    font-size: clamp(0.7rem, 1vw, 0.2rem) !important;
    border-radius: 10px;
    margin: 0;
    width: calc(100% - 0.2rem);
    box-shadow: none !important;
  }
  
  .casino-card:hover .card-button {
    background: linear-gradient(135deg, #ff8c5a 0%, #ffae7a 100%) !important;
    box-shadow: 
      0 2px 10px rgba(255, 107, 53, 0.4),
      0 0 0 2px rgba(255, 107, 53, 0.2) !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
  .vip-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding: 0 0.3rem;
  }
  
  .normal-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
    padding: 0 0.3rem;
  }
  
  .casino-card {
    aspect-ratio: 3/4;
  }
  
  /* Çok küçük ekranlar için içerik optimizasyonu */
  .casino-card {
    aspect-ratio: 3/4;
    overflow: hidden;
  }
  
  .card-content {
    padding: 0.25rem 0.2rem;
    gap: 0.15rem;
    grid-template-rows: auto 1fr auto;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .card-logo {
    min-height: 20px;
    max-height: 30px;
    padding: 0;
    overflow: hidden;
  }
  
  .card-logo img {
    max-width: 75%;
    max-height: 100%;
  }
  
  .card-description {
    padding: 0.05rem;
    margin: auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
  }
  
  .card-description p {
    font-size: clamp(0.35rem, 1.5vw, 0.5rem);
    line-height: 1.0;
    overflow: visible;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    word-break: break-word;
  }
  
  .card-button-container {
    padding: 0.05rem;
    overflow: hidden;
  }
  
  .card-button {
    padding: clamp(0rem, 1vw, 0.1rem) clamp(0.1rem, 1vw, 2rem) !important;
    font-size: clamp(0.7rem, 1vw, 0.2rem) !important;
    border-radius: 8px;
    margin: 0;
    width: calc(100% - 0.1rem);
    box-shadow: none !important;
  }
  
  .casino-card:hover .card-button {
    background: linear-gradient(135deg, #ff8c5a 0%, #ffae7a 100%) !important;
    box-shadow: 
      0 2px 8px rgba(255, 107, 53, 0.3),
      0 0 0 1px rgba(255, 107, 53, 0.2) !important;
    transform: none !important;
    animation: none !important;
  }
}

@media (min-width: 1200px) {
  .banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



.casino-section {
  width: 100%;
}

.section-title {
  font-size: clamp(1.4rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #ff6b35;
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  text-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
  letter-spacing: -0.01em;
}




.vip-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  justify-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}


.normal-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
  justify-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}



.casino-card {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 2/3;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background-color: #2a2a2a;
}


.casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--card-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}


.casino-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 2;
  transition: background 0.3s ease;
}


.card-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto 0.8fr;
  grid-template-areas: 
    "logo"
    "description"
    "button";
  padding: clamp(1rem, 2.5vw, 2rem);
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}




.card-logo {
  grid-area: logo;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  max-height: 120px;
  overflow: hidden;
  padding: 0.2rem;
}

.card-logo img {
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}


.card-description {
  grid-area: description;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.2rem;
  overflow: hidden;
  height: max-content;
}

.card-description p {
  height: auto;
  line-height: 1.3;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(1.6rem, 2vw, 0.75rem);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  margin: 0;
  text-align: center;
  width: 100%;
  overflow: visible;
  word-wrap: break-word;
}


.card-button-container {
  grid-area: button;
  display: flex;
  align-items: end;
  justify-content: center;
}

.card-button {
  display: block;
  width: 100%;
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: clamp(0.8rem, 2.2vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(255, 107, 53, 0.4),
    0 0 0 0 rgba(255, 107, 53, 0.6);
  position: relative;
  overflow: hidden;
}

.card-button::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 ease;
}



.casino-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.2);
}

.casino-card:hover::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.casino-card:hover .card-logo img {
  transform: scale(1.1);
}

.casino-card:hover .card-button {
  background: linear-gradient(135deg, #ff8c5a 0%, #ffae7a 100%);
  box-shadow: 
    0 6px 25px rgba(255, 107, 53, 0.6),
    0 0 0 4px rgba(255, 107, 53, 0.3);
  animation: neonPulse 2s infinite;
}

.casino-card:hover .card-button::before {
  left: 100%;
}

.card-button:active {
  transform: scale(0.98);
}




@media (max-width: 767px) {
  .card-logo {
    min-height: 40px;
    max-height: 70px;
  }
  
  .card-logo img {
    max-height: 100%;
    max-width: 90%;
    object-fit: contain;
  }
  
  .card-content {
    grid-template-rows: 0.8fr 1.8fr 0.7fr;
    padding: clamp(0.3rem, 1.5vw, 1.2rem);
  }
  
  .card-description {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
      height: max-content;
    overflow: hidden;
  }
  
  .card-description p {
    font-size: clamp(0.50rem, 1vw, 1.4rem);
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    width: 100%;
    height: auto;
    margin: 0;
    word-break: break-word;
    overflow: visible;
  }
  
  .card-button {
    font-size: clamp(1rem, 4vw, 1.6rem);
    padding: clamp(0.7rem, 2vw, 1rem) clamp(1.2rem, 4vw, 2rem);
  }
}


@media (min-width: 768px) {
  .main-container {
    padding: 2rem;
  }
  
 
  .vip-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
  }
  
 
  .normal-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.2rem, 2vw, 2rem);
  }
  
  .casino-card {
    max-width: 400px;
  }
}


@media (min-width: 1200px) {
  .main-container {
    padding: 3rem;
  }
  
 
  .vip-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
 
  .normal-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .casino-card {
    max-width: 320px;
  }
  
  .card-content {
    padding: 2rem;
  }
}


@media (min-width: 1600px) {
  .vip-cards-grid,
  .normal-cards-grid {
    max-width: 1600px;
  }
  
  .casino-card {
    max-width: 350px;
  }
}



@keyframes neonPulse {
  0%, 100% {
    box-shadow: 
      0 6px 25px rgba(255, 107, 53, 0.6),
      0 0 0 4px rgba(255, 107, 53, 0.3);
  }
  50% {
    box-shadow: 
      0 6px 25px rgba(255, 107, 53, 0.8),
      0 0 0 6px rgba(255, 107, 53, 0.5);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.casino-card {
  animation: fadeInUp 0.6s ease-out;
}



.casino-card img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-contrast;
}


@media (prefers-reduced-motion: reduce) {
  .casino-card,
  .card-button,
  .card-logo img {
    transition: none;
    animation: none;
  }
  
  .casino-card:hover {
    transform: none;
  }
}


@media (prefers-contrast: high) {
  .casino-card::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.9) 100%
    );
  }
  
  .card-description p {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 1);
  }
}



.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;
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}



@media print {
  .background-video-container,
  .background-overlay {
    display: none;
  }
  
  .casino-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .card-button {
    background: #333 !important;
    color: #fff !important;
  }
}
