/* OVibe.Games - Inspired by OVibe Games logo */

:root {
  --dark-bg: #0a0e27;
  --darker-bg: #060818;
  --cyan: #00d4ff;
  --blue: #0099ff;
  --purple: #b537ff;
  --pink: #ff007a;
  --orange: #ffaa00;
  --text-white: #ffffff;
  --text-gray: #a0a8c0;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
  color: var(--text-white);
  min-height: 100vh;
  line-height: 1.6;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

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

.logo-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Section Titles */
.section-title {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#recentlyPlayedSection .section-title {
  margin-top: 0;
}

/* Game Grid */
.recent-grid {
  margin-bottom: 2rem;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text-white);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink), var(--orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.game-card:hover::before {
  opacity: 1;
}

.game-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.game-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.game-description {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  color: var(--text-gray);
  border-top: 1px solid var(--card-border);
}

footer a {
  color: var(--cyan);
  text-decoration: none;
}

footer a:hover {
  color: var(--purple);
}

/* Code brackets decoration */
.code-bracket {
  color: var(--blue);
  opacity: 0.3;
  font-family: 'Courier New', monospace;
  font-size: 4rem;
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

.code-bracket.left {
  left: 5%;
  top: 20%;
}

.code-bracket.right {
  right: 5%;
  bottom: 20%;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .code-bracket {
    display: none;
  }
}
