/*
Theme Name: Kent Casino
Theme URI: https://silvengame.ru
Author: Kent Casino Team
Author URI: https://silvengame.ru
Description: Modern casino theme with dark purple-pink design
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kentcasino
*/

/* Design System - CSS Variables */
:root {
  --background: hsl(340, 45%, 8%);
  --foreground: hsl(0, 0%, 98%);
  --card: hsl(340, 40%, 12%);
  --card-foreground: hsl(0, 0%, 98%);
  --primary: hsl(330, 100%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(270, 100%, 65%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(340, 30%, 20%);
  --muted-foreground: hsl(0, 0%, 70%);
  --border: hsl(340, 40%, 25%);
  --radius: 0.75rem;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: linear-gradient(180deg, var(--background), hsl(340, 50%, 5%));
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, hsla(330, 100%, 60%, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, hsla(270, 100%, 65%, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(37, 13, 25, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 1rem;
}

.logo img {
  height: 48px;
  width: auto;
}

.header-buttons {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.5rem;
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-login {
  background: hsl(330, 100%, 50%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px hsla(330, 100%, 50%, 0.4);
}

.btn-login:hover {
  background: hsl(330, 100%, 55%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(330, 100%, 50%, 0.6);
}

.btn-register {
  background: linear-gradient(135deg, hsl(250, 100%, 60%), hsl(330, 100%, 60%));
  color: white;
  position: relative;
  box-shadow: 0 4px 20px hsla(270, 100%, 60%, 0.5);
  border: 2px solid hsla(250, 100%, 70%, 0.3);
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px hsla(270, 100%, 60%, 0.7);
  border-color: hsla(250, 100%, 70%, 0.5);
}

.btn-register .bonus-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, hsl(0, 84%, 60%), hsl(330, 100%, 60%));
  color: white;
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  font-weight: 900;
  box-shadow: 0 2px 10px hsla(0, 84%, 60%, 0.5);
  border: 2px solid white;
}

.btn-neon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 0 35px hsla(330, 100%, 60%, 0.6), 0 4px 15px hsla(270, 100%, 60%, 0.4);
  letter-spacing: 0.05em;
  border: 2px solid hsla(330, 100%, 70%, 0.3);
}

.btn-neon:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 45px hsla(330, 100%, 60%, 0.8), 0 6px 20px hsla(270, 100%, 60%, 0.6);
  border-color: hsla(330, 100%, 70%, 0.6);
}

/* Hero Banners */
.hero-section {
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--card), var(--muted));
  padding: 2rem;
  border: 2px solid hsla(330, 100%, 60%, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px hsla(340, 50%, 5%, 0.5);
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, hsla(330, 100%, 60%, 0.1), hsla(270, 100%, 65%, 0.1));
  opacity: 0;
  transition: opacity 0.4s;
}

.hero-banner:hover {
  border-color: hsla(330, 100%, 60%, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 15px 50px hsla(330, 100%, 60%, 0.3);
}

.hero-banner:hover::before {
  opacity: 1;
}

.banner-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.banner-content {
  position: relative;
  z-index: 10;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.banner-title {
  font-size: 3.75rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-subtitle {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.banner-image {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 16rem;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

/* Categories */
.categories-section {
  padding: 2rem 0;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: bold;
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.category-btn:hover,
.category-btn.active {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  border-color: transparent;
  box-shadow: 0 0 30px hsla(330, 100%, 60%, 0.5);
}

.category-content {
  margin-top: 2rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.game-card {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--card), var(--muted));
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px hsla(330, 100%, 60%, 0.3);
  border-color: hsla(330, 100%, 60%, 0.5);
}

/* Promo Banners */
.promo-section {
  padding: 2rem 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--card), var(--muted));
  padding: 2rem;
  border: 1px solid var(--border);
}

.promo-title {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  max-width: 60%;
}

.android-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.android-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.android-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Content Section */
.content-section {
  padding: 3rem 0;
}

.content-card {
  background: rgba(51, 26, 38, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
}

.content-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: hsla(0, 0%, 98%, 0.9);
  margin-bottom: 1.5rem;
}

/* Slots Section */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.slot-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.slot-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px hsla(330, 100%, 50%, 0.3);
}

.slot-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 140%;
  overflow: hidden;
}

.slot-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
}

.slot-image-wrapper:hover .slot-overlay {
  opacity: 1;
}

.btn-slot-real,
.btn-slot-demo {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: bold;
  font-size: 0.875rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-slot-real {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 0 20px hsla(330, 100%, 50%, 0.5);
}

.btn-slot-real:hover {
  box-shadow: 0 0 30px hsla(330, 100%, 50%, 0.8);
  transform: scale(1.05);
}

.btn-slot-demo {
  background: transparent;
  color: white;
  border: 2px solid var(--primary);
}

.btn-slot-demo:hover {
  background: var(--primary);
  transform: scale(1.05);
}

.slot-name {
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  color: var(--foreground);
}

/* FAQ */
.faq-section {
  padding: 3rem 0;
}

.faq-title {
  font-size: 2.25rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-item {
  background: rgba(51, 26, 38, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  font-weight: bold;
  font-size: 1.125rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: hsla(0, 0%, 98%, 0.8);
  line-height: 1.75;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: rgba(51, 26, 38, 0.3);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-title {
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px hsla(330, 100%, 50%, 0.5);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 30px hsla(330, 100%, 50%, 0.7);
}

/* Demo Modal */
.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.demo-modal.active {
  display: flex;
}

.demo-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.demo-modal-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  max-height: 90vh;
  background: var(--card);
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  box-shadow: 0 0 50px hsla(330, 100%, 60%, 0.3);
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.demo-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--primary);
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px hsla(330, 100%, 60%, 0.5);
}

.demo-modal-close:hover {
  background: var(--secondary);
  transform: rotate(90deg);
  box-shadow: 0 0 30px hsla(270, 100%, 65%, 0.7);
}

.demo-modal-title {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.demo-iframe-container {
  flex: 1;
  width: 100%;
  min-height: 600px;
  padding: 0 1rem 1rem 1rem;
  overflow: hidden;
}

.demo-iframe-container iframe {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border-radius: calc(var(--radius) - 4px);
}

/* Responsive */
@media (max-width: 768px) {
  .demo-modal-content {
    max-height: 95vh;
  }
  
  .demo-modal-title {
    font-size: 1.125rem;
    padding: 1rem;
  }
  
  .demo-iframe-container {
    min-height: 500px;
  }
  
  .demo-iframe-container iframe {
    min-height: 500px;
  }
  
  .demo-modal-close {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }
  
  .header-content {
    height: auto;
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .logo img {
    height: 32px;
  }
  
  .header-buttons {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    white-space: nowrap;
  }
  
  .btn-register .bonus-badge {
    top: -8px;
    right: -8px;
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
  
  .hero-section {
    padding-top: 6rem;
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-image {
    height: 12rem;
  }
  
  .android-download {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .android-icon {
    width: 48px !important;
    height: 48px !important;
  }
  
  .promo-title {
    max-width: 100%;
    font-size: 1.5rem;
  }
  
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .categories-grid {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .btn-slot-real,
  .btn-slot-demo {
    font-size: 0.75rem;
    padding: 0.625rem 0.75rem;
  }
  
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 0.5rem;
  }
  
  .logo img {
    height: 28px;
  }
  
  .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
  }
  
  .hero-section {
    padding-top: 5rem;
  }
}
