/*
Theme Name: VictoriusVibe
Theme URI: https://victoriusvibe.com
Author: VictoriusVibe Team
Author URI: https://victoriusvibe.com
Description: A modern, vibrant social casino WordPress theme featuring virtual currency gaming, entertainment focus, and responsible gaming. Built for VictoriusVibe - Where Winners Play!
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: victoriusvibe
*/

/* ====================
   CSS RESET & BASE
   ==================== */

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

:root {
  /* Primary Colors */
  --color-purple: #8b5cf6;
  --color-teal: #14b8a6;
  --color-gold: #fbbf24;
  --color-navy: #1e293b;

  /* Neutral Colors */
  --color-dark: #0f172a;
  --color-gray: #64748b;
  --color-light-gray: #e2e8f0;
  --color-white: #ffffff;

  /* Background Colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #334155;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-gold);
}

/* ====================
   TOP BANNER
   ==================== */

.top-banner {
  background: linear-gradient(90deg, var(--color-purple), var(--color-teal));
  color: var(--text-primary);
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */

header {
  background-color: var(--bg-secondary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover {
  color: var(--color-gold);
}

.member-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-login {
  background-color: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.btn-login:hover {
  background-color: var(--color-gold);
  color: var(--color-navy);
}

.btn-signup {
  background: linear-gradient(135deg, var(--color-purple), var(--color-teal));
  color: var(--text-primary);
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ====================
   HERO SECTION
   ==================== */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 4rem 1rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero-background.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-purple), var(--color-teal), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-purple));
  color: var(--text-primary);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

/* ====================
   FEATURES SECTIONS
   ==================== */

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

.feature-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-teal);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.2);
}

.feature-card img {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ====================
   SECTION HEADERS
   ==================== */

.section {
  padding: 4rem 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-purple), var(--color-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ====================
   VIRTUAL CURRENCY SECTION
   ==================== */

.virtual-currency {
  background-color: var(--bg-secondary);
}

.currency-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.currency-image {
  position: relative;
}

.currency-image img {
  width: 100%;
  border-radius: var(--radius-xl);
}

.currency-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-teal);
}

.currency-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ====================
   GAME SECTION
   ==================== */


.game-container {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: center;
}

.game-info {
  text-align: center;
}

.game-image {
  margin-bottom: 1.5rem;
}

.game-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.game-info h3 {
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.game-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.btn-play {
  background: linear-gradient(135deg, var(--color-purple), var(--color-teal));
  color: var(--text-primary);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.btn-play:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

.game-frame {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 600px;
  min-height: 600px;
}

.game-frame iframe,
.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ====================
   REWARDS SECTION
   ==================== */

.rewards {
  background-color: var(--bg-secondary);
}

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

.reward-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
  padding: 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  border: 2px solid var(--color-gold);
  transition: var(--transition);
}

.reward-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.reward-label {
  display: inline-block;
  background-color: var(--color-purple);
  color: var(--text-primary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.reward-card h3 {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.reward-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ====================
   DISCLAIMER SECTION
   ==================== */

.disclaimer {
  background-color: rgba(251, 191, 36, 0.1);
  border-left: 4px solid var(--color-gold);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.disclaimer-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.disclaimer h3 {
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.disclaimer p,
.disclaimer ul {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.disclaimer ul {
  padding-left: 1.5rem;
}

/* ====================
   CREDITS SECTION
   ==================== */


.credits-icon {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* ====================
   ABOUT SECTION
   ==================== */

.about {
  background-color: var(--bg-secondary);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* ====================
   RESPONSIBLE GAMING
   ==================== */


.rg-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.rg-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
}

.rg-card h3 {
  font-size: 1.4rem;
  color: var(--color-purple);
  margin-bottom: 1rem;
}

.rg-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ====================
   CONTACT FORM
   ==================== */

.contact {
  background-color: var(--bg-secondary);
}

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

.contact-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-intro p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.contact-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-form {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  background-color: var(--bg-secondary);
  border: 2px solid var(--color-gray);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--color-purple), var(--color-teal));
  color: var(--text-primary);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  font-size: 1.05rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-info {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
}

.contact-info h3 {
  color: var(--color-teal);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item h4 {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-secondary);
}

/* Form Messages */
.form-message {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  background-color: rgba(20, 184, 166, 0.2);
  color: var(--color-teal);
  border: 1px solid var(--color-teal);
}

.form-message.error {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid #ef4444;
}

/* Loading Spinner */
.spinner {
  border: 3px solid var(--bg-secondary);
  border-top: 3px solid var(--color-teal);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ====================
   LEGAL DISCLAIMER
   ==================== */

.legal-disclaimer {
  background-color: rgba(139, 92, 246, 0.1);
  border-left: 4px solid var(--color-purple);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.legal-disclaimer h3 {
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-disclaimer p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ====================
   FOOTER
   ==================== */

footer {
  background-color: var(--bg-secondary);
  padding: 3rem 1rem 1.5rem;
  border-top: 2px solid var(--bg-card);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--color-teal);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--bg-card);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ====================
   PAGE TEMPLATES
   ==================== */

.page-header {
  background: linear-gradient(135deg, var(--color-purple), var(--color-teal));
  padding: 4rem 1rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.page-content h2 {
  color: var(--color-teal);
  font-size: 2rem;
  margin: 2rem 0 1rem;
}

.page-content h3 {
  color: var(--color-gold);
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
}

.page-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.page-content ul {
  color: var(--text-secondary);
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.notice-box {
  background-color: rgba(251, 191, 36, 0.15);
  border-left: 4px solid var(--color-gold);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.notice-box h3 {
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.notice-box ul {
  margin-left: 1.5rem;
}

.notice-box a {
  color: var(--color-teal);
  text-decoration: underline;
}

/* ====================
   MEMBER AREA MODALS
   ==================== */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 450px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--color-gold);
}

.modal-content h2 {
  color: var(--color-teal);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */

@media (max-width: 968px) {
  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s ease;
  }

  nav ul.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .currency-content,
  .game-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .member-actions {
    flex-direction: column;
    width: 100%;
  }

  .member-actions .btn {
    width: 100%;
  }
}

/* ====================
   UTILITY CLASSES
   ==================== */

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

.hidden {
  display: none;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
