/**
 * ArionCasino - Core Stylesheet
 * Prefix: v911-
 * Color Palette: #F5DEB3 | #0E1621 | #FFA500 | #FFAA00 | #FF9500
 */

/* CSS Variables */
:root {
  --v911-primary: #FFA500;
  --v911-secondary: #FFAA00;
  --v911-accent: #FF9500;
  --v911-bg-dark: #0E1621;
  --v911-bg-card: #141e2e;
  --v911-bg-section: #111a28;
  --v911-text-light: #F5DEB3;
  --v911-text-white: #FFFFFF;
  --v911-text-muted: #a0aab8;
  --v911-border: #1e2d42;
  --v911-gradient-gold: linear-gradient(135deg, #FFA500, #FF9500);
  --v911-radius: 8px;
  --v911-radius-lg: 12px;
  --v911-shadow: 0 2px 12px rgba(0,0,0,0.3);
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--v911-text-light);
  background: var(--v911-bg-dark);
  -webkit-font-smoothing: antialiased;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}
a { color: var(--v911-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--v911-secondary); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.v911-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--v911-bg-dark);
  border-bottom: 1px solid var(--v911-border);
  max-width: 430px; margin: 0 auto;
}
.v911-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; height: 52px;
}
.v911-logo-area { display: flex; align-items: center; gap: 8px; }
.v911-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.v911-logo-area span { font-size: 1.5rem; font-weight: 700; color: var(--v911-primary); }
.v911-header-btns { display: flex; gap: 6px; }
.v911-btn-register {
  background: var(--v911-gradient-gold); color: var(--v911-bg-dark);
  border: none; padding: 6px 14px; border-radius: 20px;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.v911-btn-register:active { transform: scale(0.95); }
.v911-btn-login {
  background: transparent; color: var(--v911-primary);
  border: 1px solid var(--v911-primary); padding: 6px 14px;
  border-radius: 20px; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
}
.v911-btn-login:hover { background: rgba(255,165,0,0.1); }
.v911-menu-toggle {
  background: none; border: none; color: var(--v911-text-light);
  font-size: 2rem; cursor: pointer; padding: 4px; line-height: 1;
}

/* Mobile Menu */
.v911-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.v911-overlay-active { opacity: 1; visibility: visible; }
.v911-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--v911-bg-card); z-index: 9999;
  transition: right 0.3s ease; overflow-y: auto; padding: 60px 0 20px;
}
.v911-menu-active { right: 0; }
.v911-mobile-menu a {
  display: block; padding: 12px 20px; color: var(--v911-text-light);
  font-size: 1.4rem; border-bottom: 1px solid var(--v911-border);
  transition: background 0.15s;
}
.v911-mobile-menu a:hover { background: rgba(255,165,0,0.08); color: var(--v911-primary); }
.v911-menu-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: var(--v911-text-light);
  font-size: 2.4rem; cursor: pointer;
}

/* Carousel */
.v911-carousel { position: relative; overflow: hidden; margin-top: 52px; }
.v911-slide {
  display: none; width: 100%; cursor: pointer;
}
.v911-slide-active { display: block; }
.v911-slide img { width: 100%; height: auto; }
.v911-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px;
}
.v911-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(245,222,179,0.4); cursor: pointer;
  transition: background 0.2s;
}
.v911-dot-active { background: var(--v911-primary); }

/* Main Content */
.v911-main { padding: 12px; padding-bottom: 20px; }

/* Section Titles */
.v911-section-title {
  font-size: 2rem; font-weight: 700; color: var(--v911-text-white);
  margin: 20px 0 12px; padding-bottom: 8px;
  border-bottom: 2px solid var(--v911-primary);
}
.v911-section-subtitle {
  font-size: 1.7rem; font-weight: 600; color: var(--v911-primary);
  margin: 16px 0 10px;
}

/* Game Grid */
.v911-game-section { margin: 16px 0; }
.v911-cat-title {
  font-size: 1.6rem; font-weight: 700; color: var(--v911-secondary);
  margin: 14px 0 8px; padding-left: 8px;
  border-left: 3px solid var(--v911-primary);
}
.v911-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.v911-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.15s;
}
.v911-game-item:active { transform: scale(0.93); }
.v911-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--v911-radius);
  border: 1px solid var(--v911-border);
}
.v911-game-name {
  font-size: 1.1rem; color: var(--v911-text-light);
  margin-top: 4px; line-height: 1.3; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

/* Content Sections */
.v911-content-block {
  background: var(--v911-bg-card); border-radius: var(--v911-radius-lg);
  padding: 16px; margin: 12px 0; border: 1px solid var(--v911-border);
}
.v911-content-block h2 {
  font-size: 1.8rem; color: var(--v911-primary); margin-bottom: 10px;
}
.v911-content-block h3 {
  font-size: 1.5rem; color: var(--v911-secondary); margin: 10px 0 6px;
}
.v911-content-block p {
  color: var(--v911-text-muted); margin: 6px 0; line-height: 1.6;
}
.v911-content-block ul {
  padding-left: 18px; color: var(--v911-text-muted);
}
.v911-content-block li { margin: 4px 0; line-height: 1.5; }

/* Promo Link */
.v911-promo-link {
  color: var(--v911-primary); font-weight: 700;
  cursor: pointer; border-bottom: 1px dashed var(--v911-primary);
}
.v911-promo-btn {
  display: inline-block; background: var(--v911-gradient-gold);
  color: var(--v911-bg-dark); padding: 10px 24px;
  border-radius: 25px; font-weight: 700; font-size: 1.4rem;
  cursor: pointer; border: none; margin: 8px 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.v911-promo-btn:active { transform: scale(0.95); }

/* CTA Banner */
.v911-cta-banner {
  background: var(--v911-gradient-gold); border-radius: var(--v911-radius-lg);
  padding: 20px 16px; text-align: center; margin: 16px 0;
  cursor: pointer;
}
.v911-cta-banner h3 {
  color: var(--v911-bg-dark); font-size: 1.8rem; font-weight: 700;
}
.v911-cta-banner p { color: #0E1621; margin: 6px 0; font-size: 1.3rem; }

/* RTP Table */
.v911-rtp-table {
  width: 100%; border-collapse: collapse; font-size: 1.3rem;
}
.v911-rtp-table th {
  background: var(--v911-primary); color: var(--v911-bg-dark);
  padding: 8px 6px; text-align: left; font-weight: 600;
}
.v911-rtp-table td {
  padding: 7px 6px; border-bottom: 1px solid var(--v911-border);
  color: var(--v911-text-muted);
}
.v911-rtp-table tr:nth-child(even) td { background: rgba(255,165,0,0.04); }

/* Testimonials */
.v911-testimonial {
  background: var(--v911-bg-section); border-radius: var(--v911-radius);
  padding: 12px; margin: 8px 0; border-left: 3px solid var(--v911-primary);
}
.v911-testimonial p { font-style: italic; color: var(--v911-text-muted); font-size: 1.3rem; }
.v911-testimonial span { color: var(--v911-secondary); font-weight: 600; font-size: 1.2rem; }

/* Payment Icons */
.v911-payment-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.v911-pay-icon {
  background: var(--v911-bg-section); padding: 6px 12px;
  border-radius: 6px; font-size: 1.2rem; color: var(--v911-text-light);
  border: 1px solid var(--v911-border);
}

/* Winner List */
.v911-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--v911-border);
  font-size: 1.3rem;
}
.v911-winner-name { color: var(--v911-text-light); }
.v911-winner-amount { color: var(--v911-primary); font-weight: 700; }
.v911-winner-game { color: var(--v911-text-muted); font-size: 1.1rem; }

/* Footer */
.v911-footer {
  background: var(--v911-bg-card); border-top: 1px solid var(--v911-border);
  padding: 20px 12px; margin-top: 20px;
}
.v911-footer-brand { color: var(--v911-text-muted); font-size: 1.3rem; margin-bottom: 12px; line-height: 1.5; }
.v911-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0;
}
.v911-footer-links a {
  color: var(--v911-text-light); font-size: 1.2rem;
  padding: 4px 8px; background: var(--v911-bg-section);
  border-radius: 4px; border: 1px solid var(--v911-border);
}
.v911-footer-links a:hover { color: var(--v911-primary); border-color: var(--v911-primary); }
.v911-footer-copy {
  text-align: center; color: var(--v911-text-muted);
  font-size: 1.1rem; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--v911-border);
}

/* Bottom Navigation */
.v911-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #111a28, #0a0f18);
  border-top: 1px solid var(--v911-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  padding: 0 4px;
}
.v911-nav-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 56px;
  color: var(--v911-text-muted); cursor: pointer;
  transition: color 0.2s, transform 0.15s; border: none;
  background: none; padding: 4px 0;
}
.v911-nav-item:active { transform: scale(0.9); }
.v911-nav-item .v911-nav-icon { font-size: 22px; margin-bottom: 2px; }
.v911-nav-item .v911-nav-label { font-size: 10px; line-height: 1.2; }
.v911-nav-item-active { color: var(--v911-primary) !important; }

/* FAQ Accordion */
.v911-faq-item { border-bottom: 1px solid var(--v911-border); }
.v911-faq-q {
  font-weight: 600; color: var(--v911-text-white);
  padding: 10px 0; font-size: 1.4rem;
}
.v911-faq-a { color: var(--v911-text-muted); padding: 0 0 10px; line-height: 1.6; }

/* Utility */
.v911-text-center { text-align: center; }
.v911-mt-10 { margin-top: 10px; }
.v911-mb-10 { margin-bottom: 10px; }
.v911-highlight { color: var(--v911-primary); font-weight: 600; }

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .v911-bottom-nav { display: none; }
}
/* Mobile: add bottom padding */
@media (max-width: 768px) {
  .v911-main { padding-bottom: 80px; }
}
