/**
 * CRAZY TIME NZ/AU - Base Styles
 * crazytime.nz
 */

/* ═══════════════════════════════════════════════════════════════════════════ */
/* CSS RESET & BASE                                                            */
/* ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --primary-color: #1a1a2e;
  --accent-color: #ff6b35;
  --accent-secondary: #f7931e;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #f8f9fa;
  --white: #fff;
  --border-radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* LAYOUT                                                                       */
/* ═══════════════════════════════════════════════════════════════════════════ */

.wrapBody {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.free-slots-no-download-site-container {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.free-slots-no-download-page-wrapper {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin: 20px 0;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HEADER                                                                       */
/* ═══════════════════════════════════════════════════════════════════════════ */

.free-slots-no-download-header {
  background: linear-gradient(135deg, var(--primary-color), #16213e);
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.free-slots-no-download-header-top-block {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.free-slots-no-download-logo {
  flex-shrink: 0;
}

.logo-header {
  height: 50px;
  width: auto;
}

.free-slots-no-download-right-side {
  flex: 1;
  display: none;
}

@media (min-width: 992px) {
  .free-slots-no-download-right-side {
    display: block;
  }
}

/* Navigation */
.menu-main-menu-header-container {
  width: 100%;
}

.top-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.top-menu li a {
  color: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
  display: block;
}

.top-menu li a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* Header CTA Button */
.header-buttons-group {
  flex-shrink: 0;
}

.header-pp-btn a {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
  color: var(--white);
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-pp-btn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,107,53,0.4);
  color: var(--white);
}

/* Mobile Menu Icon */
.adapt-menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

@media (min-width: 992px) {
  .adapt-menu-icon {
    display: none;
  }
}

.line-white-menu {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* MOBILE MENU                                                                  */
/* ═══════════════════════════════════════════════════════════════════════════ */

.cover-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--primary-color);
  z-index: 1001;
  padding: 60px 20px 20px;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.cover-menu.showmenu {
  right: 0;
}

.menu-close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.menu-close-button .line-white-menu {
  position: absolute;
  top: 50%;
  left: 0;
}

.menu-close-button .line-white-menu:first-child {
  transform: rotate(45deg);
}

.menu-close-button .line-white-menu:last-child {
  transform: rotate(-45deg);
}

.menu-close-button .line-white-menu:nth-child(2) {
  display: none;
}

.cover-menu .top-menu {
  flex-direction: column;
  gap: 10px;
}

.cover-menu .top-menu li a {
  padding: 12px 15px;
  font-size: 1rem;
}

.icon-menu-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.icon-menu-bg.showbg {
  opacity: 1;
  visibility: visible;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* CONTENT                                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* Title & Rating Block */
.title-rating-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.title h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0;
}

@media (min-width: 768px) {
  .title h1 {
    font-size: 2.2rem;
  }
}

/* Rating */
.rating-block {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8f0;
  padding: 10px 15px;
  border-radius: 8px;
}

.rating-stars {
  color: #ffc107;
  font-size: 1.2rem;
}

.rating-value {
  font-weight: bold;
  color: var(--primary-color);
}

.rating-count {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Game Preview */
.play-cnt {
  margin: 20px 0;
}

.block-to-hide {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.block-to-hide img {
  display: block;
  width: 100%;
}

.demo-btn-wrp {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.buttongame {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
  color: var(--white);
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.buttongame:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255,107,53,0.4);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* TABLES                                                                       */
/* ═══════════════════════════════════════════════════════════════════════════ */

.game-specs-table,
.cover-table {
  margin: 25px 0;
  overflow-x: auto;
}

.game-specs-table table,
.cover-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.game-specs-table th,
.cover-table th {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
}

.game-specs-table td,
.cover-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.game-specs-table tr:hover,
.cover-table tr:hover {
  background: #f8f9fa;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* ABOUT SECTION                                                                */
/* ═══════════════════════════════════════════════════════════════════════════ */

.crazytime-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 40px 0;
  align-items: center;
}

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

.crazytime-image {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.crazytime-text h2 {
  color: var(--primary-color);
  margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* WHERE TO PLAY                                                                */
/* ═══════════════════════════════════════════════════════════════════════════ */

.where-to-play {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 30px;
  border-radius: var(--border-radius);
  margin: 40px 0;
}

.where-to-play h2 {
  color: var(--primary-color);
  margin-top: 0;
}

.where-to-play ol {
  padding-left: 25px;
}

.where-to-play li {
  margin-bottom: 15px;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* FAQ                                                                          */
/* ═══════════════════════════════════════════════════════════════════════════ */

.faq {
  margin: 40px 0;
}

.faq-general-title {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-item__question-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-item__question-wrapper:hover {
  background: #f8f9fa;
}

.faq-item__question {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-color);
  flex: 1;
}

.faq-item__question-icon::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: bold;
}

.faq-item__question.open + .faq-item__question-icon::after {
  content: '−';
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 20px;
}

.faq-item__answer.open {
  max-height: 500px;
  padding: 0 20px 20px;
}

.faq-item__answer p {
  margin: 0;
  color: var(--text-light);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* FOOTER                                                                       */
/* ═══════════════════════════════════════════════════════════════════════════ */

.free-slots-no-download-footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 40px 20px;
  margin-top: auto;
}

.free-slots-no-download-footer-cover {
  max-width: 1200px;
  margin: 0 auto 30px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
}

.footer-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--white);
}

.free-slots-no-download-copyright-footer {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-top: 20px;
}

.free-slots-no-download-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
}

.footer__images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer__images-img {
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer__images-img:hover {
  opacity: 1;
}

.footer-bottom-text {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* Flex Utilities */
.flex-display { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-justify-between { justify-content: space-between; }
.flex-justify-center { justify-content: center; }
.flex-align-start { align-items: flex-start; }
.flex-align-center { align-items: center; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .free-slots-no-download-page-wrapper {
    padding: 15px;
    margin: 10px;
  }
  
  .title-rating-block {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .demo-btn-wrp {
    position: static;
    transform: none;
    margin-top: 15px;
  }
  
  .crazytime-wrapper {
    grid-template-columns: 1fr;
  }
}
