/* Rostilom.com - Social Casino Demo Site */
/* Warm beige tones, premium-casual style */

:root {
  /* Warm beige color palette */
  --primary-beige: #F5E6D3;
  --secondary-beige: #E8D5B7;
  --accent-gold: #D4AF37;
  --warm-brown: #8B7355;
  --light-cream: #FFF8F0;
  --soft-shadow: rgba(139, 115, 85, 0.2);
  --text-dark: #5D4E37;
  --text-light: #8B7355;
  --border-soft: rgba(212, 175, 55, 0.3);
  --hover-gold: #B8941F;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, var(--light-cream) 0%, var(--primary-beige) 100%);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header Styles */
.header {
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px var(--soft-shadow);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: var(--secondary-beige);
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--light-cream) 0%, var(--primary-beige) 50%, var(--secondary-beige) 100%);
  position: relative;
  overflow: hidden;
}

.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="20" cy="20" r="2" fill="%23D4AF37" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%23D4AF37" opacity="0.15"/><circle cx="40" cy="80" r="1" fill="%23D4AF37" opacity="0.1"/></svg>');
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 800;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--hover-gold));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--soft-shadow);
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--soft-shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: white;
}

/* Cards */
.card {
  background: rgba(255, 248, 240, 0.8);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px var(--soft-shadow);
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--soft-shadow);
}

.game-card {
  background: rgba(255, 248, 240, 0.9);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-soft);
  position: relative;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px var(--soft-shadow);
}

.game-image {
  height: 200px;
  background: var(--secondary-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.game-content {
  padding: 1.5rem;
}

.game-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.game-description {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Age Badge */
.age-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-gold);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
  box-shadow: 0 2px 10px var(--soft-shadow);
}

/* Header Age Badge */
.header-badge {
  position: static;
  display: inline-block;
  margin-left: 1rem;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

/* Grid Layouts */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Footer */
.footer {
  background: var(--warm-brown);
  color: var(--light-cream);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section a {
  color: var(--light-cream);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--secondary-beige);
}

/* Disclaimer */
.disclaimer {
  background: rgba(139, 115, 85, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin-top: 2rem;
  border: 1px solid var(--border-soft);
}

.disclaimer .age-badge {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 248, 240, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-soft);
  padding: 1.5rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px var(--soft-shadow);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.cookie-text p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-btn.accept {
  background: var(--accent-gold);
  color: white;
}

.cookie-btn.accept:hover {
  background: var(--hover-gold);
}

.cookie-btn.decline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-soft);
}

.cookie-btn.decline:hover {
  background: var(--secondary-beige);
  color: var(--text-dark);
}

/* Form Styles */
.form-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(255, 248, 240, 0.5);
  color: var(--text-dark);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Game Demo Section */
.game-demo {
  background: rgba(255, 248, 240, 0.9);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid var(--border-soft);
  display: none;
}

.game-demo.active {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

.demo-header {
  text-align: center;
  margin-bottom: 2rem;
}

.demo-header h2 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.demo-header p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Game Warning */
.game-warning {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--accent-gold);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  color: var(--text-dark);
  font-weight: 600;
  margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav > div {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .header-badge {
    margin-left: 0;
    align-self: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
