/* PH889 Login Gaming Portal - Main Stylesheet */
/* Author: AI Website Generator */
/* Version: 1.0 */

/* CSS Variables for PH889 Color Scheme */
:root {
  --v495-primary: #FFA500;      /* Orange */
  --v495-secondary: #D3D3D3;    /* Light Gray */
  --v495-dark: #2C2C2C;         /* Dark Gray */
  --v495-accent: #FFB347;       /* Light Orange */
  --v495-gold: #FFD700;         /* Gold */
  --v495-blue: #0000FF;         /* Blue */
  --v495-white: #FFFFFF;
  --v495-black: #000000;
  --v495-gradient: linear-gradient(135deg, var(--v495-primary) 0%, var(--v495-accent) 100%);
  --v495-shadow: 0 4px 20px rgba(255, 165, 0, 0.15);
  --v495-border-radius: 10px;
  --v495-transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--v495-dark);
  background: linear-gradient(135deg, var(--v495-white) 0%, #FAFAFA 100%);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; color: var(--v495-primary); }
h2 { font-size: 2rem; color: var(--v495-dark); }
h3 { font-size: 1.5rem; color: var(--v495-dark); }

p {
  margin-bottom: 1rem;
  color: var(--v495-dark);
}

a {
  color: var(--v495-primary);
  text-decoration: none;
  transition: var(--v495-transition);
}

a:hover {
  color: var(--v495-accent);
}

/* Layout Components */
.v495-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.v495-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.v495-section {
  padding: 80px 0;
  position: relative;
}

.v495-section:nth-child(even) {
  background: linear-gradient(135deg, #FAFAFA 0%, var(--v495-white) 100%);
}

/* Header Styles */
.v495-header {
  background: var(--v495-white);
  box-shadow: var(--v495-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--v495-transition);
}

.v495-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.v495-logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--v495-primary);
  text-decoration: none;
  transition: var(--v495-transition);
}

.v495-logo:hover {
  transform: scale(1.05);
  color: var(--v495-accent);
}

.v495-logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: var(--v495-border-radius);
}

.v495-nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Button Styles */
.v495-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--v495-border-radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--v495-transition);
  text-align: center;
  white-space: nowrap;
}

.v495-btn-primary {
  background: var(--v495-gradient);
  color: var(--v495-white);
  box-shadow: var(--v495-shadow);
}

.v495-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 165, 0, 0.3);
  color: var(--v495-white);
}

.v495-btn-secondary {
  background: transparent;
  color: var(--v495-primary);
  border: 2px solid var(--v495-primary);
}

.v495-btn-secondary:hover {
  background: var(--v495-primary);
  color: var(--v495-white);
}

.v495-btn-large {
  padding: 18px 35px;
  font-size: 1.2rem;
  border-radius: 25px;
}

/* Mobile Menu */
.v495-hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.v495-hamburger span {
  width: 25px;
  height: 3px;
  background: var(--v495-primary);
  margin: 3px 0;
  transition: var(--v495-transition);
}

.v495-hamburger.v495-active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.v495-hamburger.v495-active span:nth-child(2) {
  opacity: 0;
}

.v495-hamburger.v495-active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.v495-mobile-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--v495-white);
  box-shadow: var(--v495-shadow);
  transform: translateY(-20px);
  transition: var(--v495-transition);
}

.v495-mobile-menu.v495-menu-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.v495-mobile-nav {
  padding: 20px;
}

.v495-mobile-nav a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--v495-secondary);
  color: var(--v495-dark);
  font-weight: 600;
}

.v495-mobile-nav a:hover {
  color: var(--v495-primary);
}

/* Main Content */
.v495-main {
  flex: 1;
  margin-top: 80px;
}

/* Hero Section */
.v495-hero {
  background: linear-gradient(135deg, var(--v495-primary) 0%, var(--v495-accent) 50%, var(--v495-gold) 100%);
  color: var(--v495-white);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.v495-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  animation: v495-sparkle 20s linear infinite;
}

@keyframes v495-sparkle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

.v495-hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.v495-hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Section Styles */
.v495-section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2rem;
  background: var(--v495-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.v495-section-subtitle {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--v495-primary);
}

.v495-section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--v495-dark);
}

/* Grid Layouts */
.v495-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.v495-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.v495-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

/* Feature Cards */
.v495-feature-card {
  background: var(--v495-white);
  border-radius: var(--v495-border-radius);
  padding: 40px 25px;
  text-align: center;
  box-shadow: var(--v495-shadow);
  transition: var(--v495-transition);
  border: 2px solid transparent;
}

.v495-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 165, 0, 0.2);
  border-color: var(--v495-accent);
}

.v495-feature-icon {
  width: 80px;
  height: 80px;
  background: var(--v495-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--v495-white);
  font-size: 2rem;
}

.v495-feature-title {
  font-size: 1.5rem;
  color: var(--v495-primary);
  margin-bottom: 15px;
}

.v495-feature-description {
  color: var(--v495-dark);
  line-height: 1.6;
}

/* Game Cards */
.v495-game-item {
  background: var(--v495-white);
  border-radius: var(--v495-border-radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--v495-shadow);
  transition: var(--v495-transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.v495-game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 165, 0, 0.2);
  border-color: var(--v495-primary);
}

.v495-game-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--v495-border-radius);
  margin-bottom: 15px;
  transition: var(--v495-transition);
}

.v495-game-icon:hover {
  transform: scale(1.1);
}

.v495-game-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--v495-dark);
  margin-bottom: 5px;
}

.v495-game-category {
  font-size: 0.8rem;
  color: var(--v495-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Stats Cards */
.v495-stat-item {
  background: var(--v495-white);
  border-radius: var(--v495-border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--v495-shadow);
  border: 3px solid var(--v495-accent);
}

.v495-stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--v495-primary);
  display: block;
  margin-bottom: 10px;
}

.v495-stat-label {
  font-size: 1rem;
  color: var(--v495-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Filter Buttons */
.v495-filter-container {
  text-align: center;
  margin: 40px 0;
}

.v495-filter-btn {
  background: transparent;
  border: 2px solid var(--v495-primary);
  color: var(--v495-primary);
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: var(--v495-border-radius);
  cursor: pointer;
  transition: var(--v495-transition);
  font-weight: 600;
}

.v495-filter-btn:hover,
.v495-filter-btn.v495-active {
  background: var(--v495-primary);
  color: var(--v495-white);
}

/* Footer */
.v495-footer {
  background: var(--v495-dark);
  color: var(--v495-white);
  padding: 60px 0 30px;
  margin-top: auto;
}

.v495-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.v495-footer-section h3 {
  color: var(--v495-gold);
  margin-bottom: 20px;
}

.v495-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.v495-footer-link {
  color: var(--v495-secondary);
  transition: var(--v495-transition);
  font-weight: 500;
}

.v495-footer-link:hover {
  color: var(--v495-primary);
}

.v495-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.v495-partner-logo {
  height: 50px;
  opacity: 0.7;
  transition: var(--v495-transition);
  filter: grayscale(100%);
}

.v495-partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.v495-copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  color: var(--v495-secondary);
}

/* Utility Classes */
.v495-text-center { text-align: center; }
.v495-text-left { text-align: left; }
.v495-text-right { text-align: right; }

.v495-mb-1 { margin-bottom: 1rem; }
.v495-mb-2 { margin-bottom: 2rem; }
.v495-mb-3 { margin-bottom: 3rem; }

.v495-mt-1 { margin-top: 1rem; }
.v495-mt-2 { margin-top: 2rem; }
.v495-mt-3 { margin-top: 3rem; }

.v495-p-1 { padding: 1rem; }
.v495-p-2 { padding: 2rem; }
.v495-p-3 { padding: 3rem; }

/* Animation Classes */
.v495-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.v495-fade-up.v495-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes v495-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.v495-pulse {
  animation: v495-pulse 2s infinite;
}

@keyframes v495-glow {
  0% { box-shadow: 0 0 5px var(--v495-primary); }
  50% { box-shadow: 0 0 20px var(--v495-primary), 0 0 30px var(--v495-accent); }
  100% { box-shadow: 0 0 5px var(--v495-primary); }
}

.v495-glow {
  animation: v495-glow 2s ease-in-out infinite alternate;
}

/* Loading States */
.v495-loading {
  position: relative;
  overflow: hidden;
}

.v495-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.2), transparent);
  animation: v495-shimmer 2s infinite;
}

@keyframes v495-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .v495-nav-actions .v495-btn {
    display: none;
  }
  
  .v495-hamburger {
    display: flex;
  }
  
  .v495-hero-title {
    font-size: 2.5rem;
  }
  
  .v495-section-title {
    font-size: 2rem;
  }
  
  .v495-section-subtitle {
    font-size: 1.8rem;
  }
  
  .v495-feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .v495-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
  }
  
  .v495-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .v495-nav {
    padding: 1rem;
  }
  
  .v495-section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .v495-container {
    padding: 0 15px;
  }
  
  .v495-btn-large {
    padding: 15px 25px;
    font-size: 1rem;
  }
  
  .v495-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  
  .v495-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Print Styles */
@media print {
  .v495-header,
  .v495-mobile-menu,
  .v495-btn,
  .v495-hamburger {
    display: none !important;
  }
  
  .v495-main {
    margin-top: 0;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}