/*
 Theme Name:   DerGamingTrupp Theme V2
 Theme URI:    https://dergamingtrupp.de
 Description:  DGT Portfolio & Tools Theme (Redesign V2)
 Author:       Antigravity
 Author URI:   https://dergamingtrupp.de
 Template:     dergamingtrupp-theme
 Version:      2.0.0
 Text Domain:  dergamingtrupp-theme-v2
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --accent: #9333ea; /* Vibrant Purple */
  --accent-light: #a855f7;
  --accent-glow: rgba(147, 51, 234, 0.3);
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --border: #27272a;
  --glass: rgba(18, 18, 18, 0.8);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  margin: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px -5px var(--accent-glow);
}

.btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -5px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

/* Sections */
section {
  padding: 6rem 0;
}

/* Header */
header {
  padding: 1.2rem 0;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-decoration: none;
  color: #fff;
}

.logo span {
  color: var(--accent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

nav a:hover, nav .current-menu-item a {
  color: #fff;
}

/* Dropdown Styles - Forced Visibility */
.dropdown {
  position: relative !important;
  display: inline-block !important;
}

.dropdown-trigger {
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.dropdown-trigger:hover {
  color: #fff !important;
}

.dropdown-content {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  width: 280px !important;
  background: #141414 !important; /* var(--bg-card) */
  border: 1px solid #27272a !important; /* var(--border) */
  border-radius: 16px !important;
  padding: 1rem !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
  margin-top: 1rem !important;
  backdrop-filter: blur(20px) !important;
  z-index: 9999 !important;
}

.dropdown:hover .dropdown-content {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}

.dropdown-content a {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 0.8rem !important;
  border-radius: 12px !important;
  color: #fff !important;
  text-decoration: none !important;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.dropdown-content .icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(147, 51, 234, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
}

.dropdown-content .info {
  display: flex;
  flex-direction: column;
}

.dropdown-content .info strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.dropdown-content .info span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.8rem 0;
}

.sub-tool .icon {
  background: rgba(168, 85, 247, 0.1);
}

/* Hero */
.hero {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

/* About Section */
.about-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: 32px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.tool-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tool-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.6);
}

.tool-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.tool-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.tool-card .btn {
  margin-top: auto;
}

/* Socials */
.social-bar {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none; /* Mobile menu needed */
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

