/* PHTALA Website - Main Stylesheet
 * All classes use the "g745-" prefix for namespace isolation
 * Mobile-first design (max-width: 430px) */

/* CSS Variables for Color Palette */
:root {
  --g745-primary: #CD853F;
  --g745-secondary: #D2B48C;
  --g745-accent: #FF1493;
  --g745-dark-bg: #262626;
  --g745-pink: #C71585;
  --g745-bg: #262626;
  --g745-text: #ffffff;
  --g745-text-light: #e0e0e0;
  --g745-border: #404040;
  --g745-hover: #FF1493;
  --g745-success: #28a745;
  --g745-warning: #ffc107;
  --g745-error: #dc3545;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--g745-bg);
  color: var(--g745-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--g745-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--g745-pink);
}

/* Container */
.g745-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.g745-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(38, 38, 38, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g745-border);
  z-index: 1000;
}

.g745-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.g745-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.g745-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.g745-site-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--g745-primary);
}

.g745-nav-buttons {
  display: flex;
  gap: 10px;
}

.g745-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.g745-btn-primary {
  background: var(--g745-primary);
  color: var(--g745-bg);
}

.g745-btn-primary:hover {
  background: var(--g745-secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(205, 133, 63, 0.3);
}

.g745-btn-secondary {
  background: transparent;
  color: var(--g745-text);
  border: 2px solid var(--g745-border);
}

.g745-btn-secondary:hover {
  border-color: var(--g745-primary);
  color: var(--g745-primary);
}

.g745-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--g745-text);
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

/* Mobile Menu */
.g745-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(38, 38, 38, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--g745-border);
  padding: 20px;
  z-index: 999;
}

.g745-mobile-menu-list {
  list-style: none;
}

.g745-mobile-menu-item {
  margin-bottom: 10px;
}

.g745-mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--g745-text);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.g745-mobile-menu-link:hover {
  background: rgba(205, 133, 63, 0.2);
  color: var(--g745-primary);
}

.g745-mobile-menu-link.active {
  background: rgba(205, 133, 63, 0.3);
  color: var(--g745-primary);
}

/* Main Content */
main {
  padding-top: 80px;
  padding-bottom: 100px;
  min-height: 100vh;
}

.g745-section {
  margin-bottom: 40px;
}

.g745-module {
  background: rgba(64, 64, 64, 0.3);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid var(--g745-border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.g745-heading-1 {
  font-size: 28px;
  color: var(--g745-primary);
  margin-bottom: 20px;
  text-align: center;
}

.g745-heading-2 {
  font-size: 24px;
  color: var(--g745-text);
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px;
}

.g745-heading-2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--g745-primary);
  border-radius: 2px;
}

.g745-text-md {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.g745-text-sm {
  font-size: 14px;
  color: var(--g745-text-light);
}

.g745-text-sm.mb-4 {
  margin-bottom: 1.5rem;
}

/* Button Styles */
.g745-promo-btn {
  display: inline-block;
  background: linear-gradient(45deg, var(--g745-primary), var(--g745-pink));
  color: var(--g745-bg);
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
  border: none;
  margin-top: 15px;
}

.g745-promo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(205, 133, 63, 0.4);
}

.g745-promo-btn i {
  margin-right: 8px;
}

/* Stats Grid */
.g745-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.g745-stat-card {
  background: rgba(38, 38, 38, 0.8);
  border: 1px solid var(--g745-border);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.g745-stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--g745-primary);
  margin-bottom: 5px;
}

.g745-stat-label {
  font-size: 12px;
  color: var(--g745-text-light);
  text-transform: uppercase;
}

/* Lists */
.g745-list {
  list-style: none;
  margin: 20px 0;
}

.g745-list li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  color: var(--g745-text-light);
  font-size: 14px;
}

.g745-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--g745-primary);
  font-weight: bold;
}

/* Feature Grid */
.g745-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.g745-feature-card {
  background: rgba(38, 38, 38, 0.8);
  border: 1px solid var(--g745-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.g745-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(205, 133, 63, 0.2);
  border-color: var(--g745-primary);
}

.g745-feature-icon {
  width: 50px;
  height: 50px;
  background: var(--g745-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
  color: var(--g745-bg);
}

.g745-feature-title {
  font-size: 18px;
  color: var(--g745-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.g745-feature-desc {
  font-size: 13px;
  color: var(--g745-text-light);
  line-height: 1.5;
}

/* Game Grid */
.g745-game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.g745-game-card {
  background: rgba(38, 38, 38, 0.8);
  border: 1px solid var(--g745-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.g745-game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(205, 133, 63, 0.3);
}

.g745-game-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.g745-game-info {
  padding: 12px;
}

.g745-game-name {
  font-size: 14px;
  color: var(--g745-text);
  margin-bottom: 5px;
  font-weight: 600;
}

.g745-game-type {
  font-size: 11px;
  color: var(--g745-text-light);
  text-transform: uppercase;
}

/* VIP Tiers */
.g745-vip-tier {
  background: rgba(38, 38, 38, 0.8);
  border: 1px solid var(--g745-border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.g745-vip-tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(205, 133, 63, 0.2);
}

.g745-tier-header {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.g745-tier-header.bronze {
  background: linear-gradient(45deg, #CD7F32, #CD853F);
}

.g745-tier-header.silver {
  background: linear-gradient(45deg, #C0C0C0, #D3D3D3);
}

.g745-tier-header.gold {
  background: linear-gradient(45deg, #FFD700, #FFA500);
}

.g745-tier-header.platinum {
  background: linear-gradient(45deg, #E5E4E2, #BCC6CC);
}

.g745-tier-header.diamond {
  background: linear-gradient(45deg, #B9F2FF, #0CF0F0);
}

.g745-tier-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--g745-bg);
}

.g745-tier-min {
  font-size: 12px;
  color: var(--g745-bg);
  opacity: 0.8;
}

.g745-tier-benefits {
  padding: 15px 20px;
}

.g745-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--g745-text-light);
}

.g745-benefit-item i {
  color: var(--g745-success);
  font-size: 16px;
}

/* Promotions */
.g745-promotion-card {
  background: linear-gradient(135deg, var(--g745-bg), rgba(64, 64, 64, 0.8));
  border: 1px solid var(--g745-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.g745-promotion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--g745-primary), var(--g745-pink));
}

.g745-promotion-title {
  font-size: 18px;
  color: var(--g745-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.g745-promotion-desc {
  font-size: 14px;
  color: var(--g745-text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}

.g745-promotion-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--g745-success);
  margin-bottom: 5px;
}

.g745-promotion-terms {
  font-size: 11px;
  color: var(--g745-text-light);
  font-style: italic;
}

/* Footer */
.g745-footer {
  background: var(--g745-dark-bg);
  border-top: 1px solid var(--g745-border);
  padding: 30px 0 20px;
}

.g745-footer-content {
  text-align: center;
}

.g745-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.g745-footer-link {
  color: var(--g745-text-light);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.g745-footer-link:hover {
  color: var(--g745-primary);
}

.g745-footer-link.active {
  color: var(--g745-primary);
}

.g745-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.g745-partner {
  width: 40px;
  height: 40px;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.g745-partner:hover {
  opacity: 1;
}

.g745-copyright {
  color: var(--g745-text-light);
  font-size: 12px;
  margin-bottom: 5px;
}

.g745-copyright p {
  margin-bottom: 5px;
}

/* Mobile Bottom Navigation */
.g745-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(38, 38, 38, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--g745-border);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  height: 64px;
}

.g745-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--g745-text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
}

.g745-nav-item:hover {
  color: var(--g745-primary);
  transform: translateY(-2px);
}

.g745-nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.g745-nav-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .g745-mobile-menu {
    display: block;
  }

  .g745-menu-toggle {
    display: block;
  }

  .g745-nav-buttons {
    display: none;
  }

  main {
    padding-bottom: 100px;
  }
}

@media (min-width: 769px) {
  .g745-bottom-nav {
    display: none;
  }

  .g745-mobile-menu {
    display: none;
  }

  .g745-menu-toggle {
    display: none;
  }

  .g745-nav-buttons {
    display: flex;
  }
}

/* Loading Animation */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.g745-loading {
  animation: pulse 2s infinite;
}

/* Utility Classes */
.g745-mt-4 {
  margin-top: 1.5rem;
}

.g745-mb-4 {
  margin-bottom: 1.5rem;
}

.g745-mt-20 {
  margin-top: 5rem;
}

.g745-text-center {
  text-align: center;
}

.g745-hidden {
  display: none !important;
}

.g745-block {
  display: block !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--g745-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--g745-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--g745-pink);
}

/* Focus States for Accessibility */
.g745-btn:focus,
.g745-nav-item:focus,
.g745-mobile-menu-link:focus {
  outline: 2px solid var(--g745-primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .g745-header,
  .g745-bottom-nav,
  .g745-mobile-menu {
    display: none !important;
  }

  main {
    padding-top: 0;
    padding-bottom: 0;
  }
}