/* 
Theme Name: GCRP Theme
Theme URI: http://example.com/gcrp-theme/
Author: Your Name
Author URI: http://example.com/
Description: Professional modern theme for German Classic Roleplay GTA RP server
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gcrp-theme
*/

:root {
  --primary-color: #ffffff;
  --secondary-color: #e0e0e0;
  --background-color: #000000;
  --text-color: #ffffff;
  --accent-color: rgba(255, 255, 255, 0.1);
  --transition-speed: 0.3s;
  --glow-color: rgba(255, 255, 255, 0.7);
}

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, var(--background-color) 0%, #001a1a 100%);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--accent-color);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  transition: all var(--transition-speed);
}

.site-header:hover {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.site-logo {
  width: 50px;
  height: auto;
  transition: transform var(--transition-speed);
}

.site-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.main-navigation ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.main-navigation li {
  margin-left: 1.5rem;
}

.main-navigation a {
  color: var(--text-color);
  text-decoration: none;
  transition: all var(--transition-speed);
  position: relative;
  padding: 0.5rem 0;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.main-navigation a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--glow-color);
}

.main-navigation a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-image: url('/images/3.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeIn 1.5s ease-out;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: var(--primary-color);
  animation: glow 2s ease-in-out infinite alternate, float 6s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--background-color);
  text-decoration: none;
  border-radius: 25px;
  transition: all var(--transition-speed);
  border: 2px solid transparent;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.3s;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  box-shadow: 0 0 20px var(--glow-color);
  transform: translateZ(20px) rotateX(10deg) rotateY(10deg);
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--accent-color);
  padding: 1.5rem;
  border-radius: 10px;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-color) 10%, transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.feature-card:hover {
  transform: translateZ(30px) rotateX(10deg) rotateY(10deg);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: all var(--transition-speed);
  animation: rotate3D 10s linear infinite;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  color: var(--secondary-color);
}
/* Stats Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Individual Stat Card */
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--accent-color);
  padding: 1.5rem;
  border-radius: 10px;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-color) 10%, transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.feature-card:hover {
  transform: translateZ(30px) rotateX(10deg) rotateY(10deg);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.feature-card:hover::before {
  opacity: 0.1;
}

/* Stat Value */
.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: all var(--transition-speed);
  animation: rotate3D 10s linear infinite;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  color: var(--secondary-color);
}



/* Whitelist Process */
.whitelist-steps {
  max-width: 600px;
  margin: 0 auto;
}

.whitelist-step {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.whitelist-step::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-color) 10%, transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.whitelist-step:hover {
  transform: translateZ(20px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.whitelist-step:hover::before {
  opacity: 0.1;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--background-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: all var(--transition-speed);
  animation: pulse 2s infinite;
}

.whitelist-step:hover .step-number {
  transform: scale(1.1) rotate(360deg);
}

/* Footer */
.site-footer {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2rem 0;
  border-top: 1px solid var(--accent-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-color) 10%, transparent 40%);
  opacity: 0.05;
}

.footer-logo {
  width: 40px;
  height: auto;
  margin-bottom: 1rem;
  transition: transform var(--transition-speed);
}

.footer-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: #808080;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: all var(--transition-speed);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -3px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.footer-links a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--glow-color);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Additional Styles */
header {
  max-height: 70px;
}

article {
  padding-top: 70px;
}

.text-link a {
  color: var(--text-color);
  text-decoration: none;
  transition: all var(--transition-speed);
}

.text-link a:visited {
  color: var(--text-color);
}

.text-link a:hover,
.text-link a:active {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--glow-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-navigation {
    display: none; /* Consider implementing a mobile menu */
  }

  .hero h1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
  }

  .hero p {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }

  .section {
    padding: 3rem 0;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
  from { text-shadow: 0 0 5px var(--glow-color), 0 0 10px var(--glow-color); }
  to { text-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* @keyframes rotate3D {
  0% { transform: rotate3d(1, 1, 1, 0deg); }
  100% { transform: rotate3d(1, 1, 1, 360deg); }
} */

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

.rotate3d-animation {
  animation: rotate3D 10s linear infinite;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* 3D Transforms */
.feature-card, .whitelist-step, .btn {
  transform-style: preserve-3d;
  perspective: 1000px;
}


/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Statistics Section */
.statistics-section {
  position: relative;
  overflow: hidden;
}

.statistics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.stat-item {
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-color);
}
