/* GoLearn Gopher Theme - Fun and Playful CSS */

:root {
  --gopher-blue: #00ADD8;
  --gopher-light-blue: #5DC9E2;
  --gopher-red: #FF6B6B;
  --gopher-green: #4ECDC4;
  --gopher-yellow: #FFE66D;
  --gopher-purple: #A8E6CF;
  --gopher-dark: #2D3748;
  --gopher-light: #F7FAFC;
  --gopher-white: #FFFFFF;
  --gopher-gray: #718096;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--gopher-dark);
  background: linear-gradient(135deg, var(--gopher-light) 0%, #E2E8F0 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Gopher Header */
.gopher-header {
  background: linear-gradient(135deg, var(--gopher-blue) 0%, var(--gopher-light-blue) 100%);
  color: var(--gopher-white);
  padding: 20px 0;
  box-shadow: 0 4px 20px rgba(0, 173, 216, 0.3);
  position: relative;
  overflow: hidden;
}

/* decorative header background removed */

.gopher-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

/* avatar and bounce removed */

.gopher-title h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.gopher-title h1 a {
  color: var(--gopher-white);
  text-decoration: none;
}

.gopher-subtitle {
  margin: 5px 0 0 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.gopher-nav {
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.gopher-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.gopher-nav a {
  color: var(--gopher-white);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.gopher-nav a:hover,
.gopher-nav a.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Main Content */
.gopher-main {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
}

/* Gopher Cards */
.gopher-card {
  background: var(--gopher-white);
  border-radius: 15px;
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 8px 25px rgba(0, 173, 216, 0.1);
  border: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gopher-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gopher-blue), var(--gopher-green), var(--gopher-yellow), var(--gopher-red));
}

.gopher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 173, 216, 0.2);
  border-color: var(--gopher-blue);
}

/* Exercise Layout */
.gopher-exercise {
  background: var(--gopher-white);
  border-radius: 20px;
  padding: 40px;
  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(0, 173, 216, 0.15);
  border: 3px solid var(--gopher-blue);
}

.gopher-exercise-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px dashed var(--gopher-light-blue);
}

.gopher-exercise-icon {
  font-size: 3rem;
  animation: gopher-spin 3s linear infinite;
}

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

.gopher-exercise-info h1 {
  color: var(--gopher-blue);
  margin: 0 0 10px 0;
  font-size: 2.2rem;
}

.gopher-exercise-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.gopher-difficulty {
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.difficulty-beginner { background: var(--gopher-green); color: var(--gopher-white); }
.difficulty-intermediate { background: var(--gopher-yellow); color: var(--gopher-dark); }
.difficulty-advanced { background: var(--gopher-red); color: var(--gopher-white); }

.gopher-topics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gopher-topic {
  background: var(--gopher-light-blue);
  color: var(--gopher-white);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Hints Section */
.gopher-hints {
  background: linear-gradient(135deg, var(--gopher-purple), var(--gopher-light-blue));
  padding: 25px;
  border-radius: 15px;
  margin: 30px 0;
  color: var(--gopher-white);
}

.gopher-hints h3 {
  margin: 0 0 15px 0;
  font-size: 1.3rem;
}

.gopher-hints ul {
  margin: 0;
  padding-left: 20px;
}

.gopher-hints li {
  margin: 8px 0;
  font-size: 1.1rem;
}

/* Buttons */
.gopher-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 5px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.gopher-btn-primary {
  background: linear-gradient(135deg, var(--gopher-blue), var(--gopher-light-blue));
  color: var(--gopher-white);
}

.gopher-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 173, 216, 0.4);
}

.gopher-btn-secondary {
  background: var(--gopher-white);
  color: var(--gopher-blue);
  border: 2px solid var(--gopher-blue);
}

.gopher-btn-secondary:hover {
  background: var(--gopher-blue);
  color: var(--gopher-white);
  transform: translateY(-2px);
}

/* Exercise Actions */
.gopher-exercise-actions {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px dashed var(--gopher-light-blue);
  text-align: center;
}

/* Footer */
.gopher-footer {
  background: linear-gradient(135deg, var(--gopher-dark) 0%, #1A202C 100%);
  color: var(--gopher-white);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.gopher-footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

/* dancing mascot removed */

.gopher-footer-links h4,
.gopher-footer-info h4 {
  color: var(--gopher-blue);
  margin: 0 0 15px 0;
}

.gopher-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gopher-footer-links li {
  margin: 8px 0;
}

.gopher-footer-links a {
  color: var(--gopher-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.gopher-footer-links a:hover {
  color: var(--gopher-blue);
}

.gopher-footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #4A5568;
  color: var(--gopher-gray);
}

/* floating mascots removed */

/* Responsive Design */
@media (max-width: 768px) {
  .gopher-logo {
    flex-direction: column;
    text-align: center;
  }
  
  .gopher-nav ul {
    justify-content: center;
  }
  
  .gopher-footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .gopher-exercise-header {
    flex-direction: column;
    text-align: center;
  }
  
  .gopher-exercise-meta {
    justify-content: center;
  }
}

/* Code blocks */
pre, code {
  background: #2D3748;
  color: #E2E8F0;
  padding: 15px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

code {
  padding: 3px 8px;
  font-size: 0.9em;
}

pre {
  margin: 20px 0;
}

/* Lists */
ul, ol {
  padding-left: 25px;
}

li {
  margin: 8px 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--gopher-blue);
  margin-top: 30px;
  margin-bottom: 15px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Links */
a {
  color: var(--gopher-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gopher-light-blue);
  text-decoration: underline;
}
