@charset "UTF-8";
:root {
  --color-bg: #0b1224;
  --color-bg-alt: #101a33;
  --color-primary: #f6c344;
  --color-secondary: #2f7bff;
  --color-accent: #cde5ff;
  --color-dark: #0f1b2e;
  --color-panel: rgba(22, 33, 62, 0.95);
  --color-text: #ffffff;
  --gradient-bg: linear-gradient(135deg, var(--color-bg), var(--color-bg-alt));
  --transition-fast: 0.3s ease;
  --border-radius-lg: 20px;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0b1224, #101a33);
  background: var(--gradient-bg);
  color: #ffffff;
  color: var(--color-text);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.btn,
.btn-login,
.btn-play,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-login,
.btn-play {
  padding: 10px 24px;
  font-size: 0.95rem;
}

.btn-login {
  background: linear-gradient(135deg, #f6c344, #2f7bff);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #0b1224;
  box-shadow: 0 4px 15px rgb(246, 195, 68);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(246, 195, 68);
}

.btn-play {
  border: 2px solid #f6c344;
  border: 2px solid var(--color-primary);
  color: #f6c344;
  color: var(--color-primary);
  background: transparent;
}

.btn-play:hover {
  background: rgb(246, 195, 68);
}

.btn-primary {
  background: linear-gradient(135deg, #f6c344, #2f7bff);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #0b1224;
  box-shadow: 0 8px 25px rgb(246, 195, 68);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgb(246, 195, 68);
}

.btn-secondary {
  background: transparent;
  color: #f6c344;
  color: var(--color-primary);
  border: 2px solid #f6c344;
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: rgb(246, 195, 68);
  transform: translateY(-2px);
}

.surface-panel {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgb(246, 195, 68);
  border-radius: 20px;
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.surface-panel {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(0, 255, 136, 0.2);
  border-radius: 20px;
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Animated Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(0, 255, 215, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Floating Cards Animation */
.floating-cards {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-card {
  position: absolute;
  width: 60px;
  height: 80px;
  background: rgba(0, 255, 136, 0.1);
  border: 2px solid rgba(0, 255, 136, 0.3);
  border-radius: 8px;
  animation: float 20s infinite linear;
  opacity: 0.3;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}
/* Header & Navigation */
.header {
  background: rgba(22, 33, 62, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 2px solid rgba(0, 255, 136, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(22, 33, 62, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.8rem;
  font-weight: 800;
  color: #f6c344;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

.logo-icon {
  font-size: 2.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: #cde5ff;
  -webkit-text-decoration: none;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f6c344;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #f6c344;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-cards {
  position: relative;
  width: 520px;
  height: 230px;
  perspective: 900px;
}

.hero-card {
  position: absolute;
  width: 100px;
  height: 155px;
  background: transparent;
  border: 2px solid #f6c344;
  border-radius: 10px;
  display: block;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.5), 0 0 14px rgba(246, 195, 68, 0.55), 0 0 24px rgba(246, 195, 68, 0.35), inset 0 0 12px rgba(0, 0, 0, 0.22);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  padding: 0;
  animation: slow-rotate 12s linear infinite;
  transform-origin: center center;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  background: url("../images/cards/back.png") center/cover no-repeat;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.5), 0 0 14px rgba(246, 195, 68, 0.55), 0 0 24px rgba(246, 195, 68, 0.35), inset 0 0 12px rgba(0, 0, 0, 0.22);
}

.card-1 {
  background: url("../images/cards/spades_ace.png") center/cover no-repeat;
}

.card-2 {
  background: url("../images/cards/hearts_king.png") center/cover no-repeat;
}

.card-3 {
  background: url("../images/cards/clubs_queen.png") center/cover no-repeat;
}

.card-4 {
  background: url("../images/cards/diamonds_jack.png") center/cover no-repeat;
}

.hero-card:nth-child(1) {
  top: 10%;
  left: 2%;
  transform: rotate(-4deg) rotateY(0deg) translateZ(6px);
}

.hero-card:nth-child(2) {
  top: 10%;
  left: 28%;
  transform: rotate(3deg) rotateY(0deg) translateZ(10px);
}

.hero-card:nth-child(3) {
  top: 10%;
  left: 54%;
  transform: rotate(-2deg) rotateY(0deg) translateZ(14px);
}

.hero-card:nth-child(4) {
  top: 10%;
  left: 80%;
  transform: rotate(5deg) rotateY(0deg) translateZ(18px);
}

@keyframes slow-rotate {
  0% {
    transform: rotateY(0deg) translateZ(10px);
  }
  50% {
    transform: rotateY(180deg) translateZ(12px);
  }
  100% {
    transform: rotateY(360deg) translateZ(10px);
  }
}
/* Features Section */
.features {
  padding: 100px 5%;
  background: rgba(22, 33, 62, 0.5);
  backdrop-filter: blur(10px);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #f6c344;
  color: var(--color-primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #cde5ff;
  color: var(--color-accent);
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 40px;
  gap: 40px;
}

.feature-card {
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f6c344, transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: #f6c344;
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.feature-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f6c344;
  margin-bottom: 15px;
}

.feature-description {
  color: #cde5ff;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 100px 5%;
  position: relative;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 60px;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  color: #f6c344;
  margin-bottom: 20px;
}

.about-content p {
  color: #cde5ff;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
  gap: 30px;
  margin-top: 40px;
}

.stat-box {
  background: rgba(0, 255, 136, 0.1);
  border: 2px solid rgba(0, 255, 136, 0.3);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: scale(1.05);
  border-color: #f6c344;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f6c344;
  margin-bottom: 5px;
}

.stat-label {
  color: #cde5ff;
  font-size: 1rem;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  background: none;
  border-radius: 24px;
  border: 3px solid #f6c344;
  overflow: hidden;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Poker Variants Section */
.poker-variants {
  padding: 100px 5%;
  background: rgba(22, 33, 62, 0.5);
}

.variants-container {
  max-width: 1200px;
  margin: 0 auto;
}

.variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 40px;
  gap: 40px;
  margin-top: 60px;
}

.variant-card {
  padding: 40px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 215, 0, 0.3);
}

.variant-card:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
}

.variant-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.variant-icon {
  font-size: 3rem;
  color: #ffd700;
}

.variant-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffd700;
}

.variant-description {
  color: #cde5ff;
  line-height: 1.6;
  margin-bottom: 20px;
}

.variant-features {
  list-style: none;
}

.variant-features li {
  color: #cde5ff;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.variant-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f6c344;
  font-weight: 700;
  font-family: inherit;
}

/* FAQ Section */
.faq {
  padding: 100px 5%;
  position: relative;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 60px;
}

.faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #f6c344;
  transform: translateX(5px);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #f6c344;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 255, 136, 0.05);
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: #cde5ff;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 500px;
}

/* CTA Section */
.cta {
  padding: 100px 5%;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 215, 0.1));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.2), transparent 60%);
  animation: rotate 20s linear infinite;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #f6c344;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.4rem;
  color: #cde5ff;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: rgba(22, 33, 62, 0.95);
  padding: 60px 5% 30px;
  border-top: 2px solid rgba(0, 255, 136, 0.3);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  gap: 40px;
}

.footer-section h3 {
  color: #f6c344;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: #cde5ff;
  -webkit-text-decoration: none;
  text-decoration: none;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #f6c344;
}

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

.footer-links li {
  padding: 5px 0;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(0, 255, 136, 0.2);
  border: 2px solid rgba(0, 255, 136, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #f6c344;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #f6c344;
  color: #0b1224;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(0, 255, 136, 0.2);
  color: #cde5ff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #f6c344;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(22, 33, 62, 0.98);
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
    transition: left 0.3s ease;
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-visual {
    display: none;
  }
  .about-container {
    grid-template-columns: 1fr;
  }
  .features-grid,
  .variants-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons,
  .cta-buttons {
    justify-content: center;
  }
}
/* Animations on Scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0b1224;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-cards {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.loader-card {
  width: 40px;
  height: 60px;
  background: linear-gradient(135deg, #f6c344, #2f7bff);
  border-radius: 5px;
  animation: flip 1s infinite;
}

.loader-card:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-card:nth-child(3) {
  animation-delay: 0.4s;
}

.loader-card:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes flip {
  0%, 100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
}
.loader-text {
  color: #f6c344;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Login Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

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

.login-modal {
  background: linear-gradient(135deg, #0f1b2e, #101a33);
  padding: 3rem;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 50px rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.2);
  position: relative;
  animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #f6c344;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(0, 255, 136, 0.1);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-header h2 {
  color: #f6c344;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: #cde5ff;
  font-size: 1rem;
}

.login-form, .register-form {
  display: flex;
  flex-direction: column;
}

.register-form {
  display: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #cde5ff;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(0, 255, 215, 0.3);
  border-radius: 12px;
  background: rgba(0, 57, 55, 0.8);
  color: #9affff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #f6c344;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  transform: scale(1.02);
}

.form-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.form-buttons button {
  padding: 15px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-submit {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.btn-switch {
  background: transparent;
  color: #f6c344;
  border: 2px solid #f6c344 !important;
}

.btn-switch:hover {
  background: rgba(0, 255, 136, 0.1);
}

.form-message {
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid #28a745;
}

.form-message.error {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 1px solid #dc3545;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  color: #cde5ff;
  font-size: 0.9rem;
}

/*# sourceMappingURL=frontpage.css.map */