/* 
 * theporndude.love CSS
 * Red/Purple Design Theme with Card-Based Layout
 */

:root {
  /* Color scheme - completely different from previous sites */
  --primary: #D32F2F;
  --secondary: #7B1FA2;
  --primary-light: #FFCDD2;
  --secondary-light: #E1BEE7;
  --dark: #212121;
  --light: #FFFFFF;
  --gray: #757575;
  --dark-gray: #424242;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--light);
  background-color: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

h2 span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

p {
  margin-bottom: var(--space-md);
  color: #CCCCCC;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-weight: 700;
  color: var(--light);
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  z-index: -1;
  transition: all 0.5s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  color: var(--light);
}

.btn.primary::before {
  background: var(--gradient);
}

.btn.secondary {
  background: transparent;
  border: 2px solid var(--primary);
}

.btn.secondary::before {
  opacity: 0;
}

.btn.secondary:hover::before {
  opacity: 0.1;
}

.btn.glow {
  animation: glow 2s infinite;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.8), 0 0 30px rgba(123, 31, 162, 0.5);
  }
  100% {
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
  }
}

.center-button {
  text-align: center;
  margin-top: var(--space-lg);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(33, 33, 33, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon {
  display: block;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary);
  margin-left: 5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

nav a {
  color: var(--light);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gradient);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

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

nav a:hover::after {
  width: 100%;
}

.nav-btn {
  background: var(--gradient);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--light);
  border-radius: 3px;
  transition: all 0.3s ease;
  left: 0;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* Main Content */
main {
  padding-top: 80px;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, #0a0a0a, #212121);
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  text-align: left;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
}

.stat-label {
  color: var(--light);
  opacity: 0.8;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Categories Section */
.categories {
  background-color: #151515;
  position: relative;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: var(--space-md);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
  margin: 0 auto var(--space-md);
  width: 80px;
  height: 80px;
}

.card h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

/* Featured Section */
.featured {
  background-color: #121212;
  position: relative;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.featured-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.featured-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.featured-item svg {
  display: block;
  aspect-ratio: 16/9;
  width: 100%;
}

.featured-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-sm);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.featured-info h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.featured-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Popular Section */
.popular {
  background-color: #1a1a1a;
  position: relative;
}

.popular-list {
  max-width: 800px;
  margin: 0 auto;
}

.popular-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.popular-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
}

.popular-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.5;
  font-family: 'Montserrat', sans-serif;
}

.popular-content {
  flex: 1;
}

.popular-content h3 {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}

.popular-content p {
  margin-bottom: 0;
  font-size: 1rem;
}

.popular-icon {
  margin-left: auto;
}

/* CTA Section */
.cta {
  background: var(--gradient);
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  animation: rotate 60s linear infinite;
}

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

.cta h2, .cta p {
  position: relative;
  z-index: 1;
  color: var(--light);
}

.cta .btn {
  background: var(--dark);
  color: var(--light);
  position: relative;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.cta .btn:hover {
  background: var(--dark-gray);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
  background: #0a0a0a;
  color: var(--light);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-logo h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.footer-logo p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-light);
}

.footer-column a {
  margin-bottom: var(--space-xs);
  color: var(--light);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary-light);
  opacity: 1;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav ul {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(33, 33, 33, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding-top: var(--space-xl);
    transition: right 0.3s ease;
  }
  
  nav ul.active {
    right: 0;
  }
  
  nav li {
    width: 80%;
    text-align: center;
  }
  
  nav a {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 1.2rem;
  }
  
  nav a::after {
    display: none;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .footer-top {
    flex-direction: column;
  }
  
  .footer-logo {
    margin-bottom: var(--space-md);
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .popular-item {
    flex-wrap: wrap;
  }
  
  .popular-icon {
    display: none;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-md);
  }
}
