/**
 * Big Bunny App - CSS Stylesheet
 * Class prefix: sccd-
 * All classes use this prefix to avoid namespace conflicts
 */

/* CSS Variables */
:root {
  --sccd-primary: #BAE1FF;
  --sccd-secondary: #FF0000;
  --sccd-accent: #FA8072;
  --sccd-light: #FFFFBA;
  --sccd-dark: #1A1A1A;
  --sccd-text: #FFFFFF;
  --sccd-text-muted: #CCCCCC;
  --sccd-border: #333333;
  --sccd-shadow: rgba(0, 0, 0, 0.5);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--sccd-text);
  background-color: var(--sccd-dark);
  min-height: 100vh;
}

/* Container */
.sccd-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.sccd-wrapper {
  padding-top: 70px;
  padding-bottom: 80px;
}

@media (min-width: 769px) {
  .sccd-wrapper {
    padding-bottom: 20px;
  }
}

/* Header */
.sccd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--sccd-dark) 0%, #2a2a2a 100%);
  border-bottom: 2px solid var(--sccd-secondary);
  z-index: 1000;
  padding: 0.8rem 0;
  box-shadow: 0 2px 10px var(--sccd-shadow);
}

.sccd-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sccd-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--sccd-text);
  font-weight: bold;
  font-size: 1.4rem;
}

.sccd-logo img {
  width: 32px;
  height: 32px;
  margin-right: 0.8rem;
}

.sccd-header-buttons {
  display: flex;
  gap: 1rem;
}

.sccd-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.sccd-btn-register {
  background: linear-gradient(135deg, var(--sccd-secondary) 0%, var(--sccd-accent) 100%);
  color: var(--sccd-light);
}

.sccd-btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.sccd-btn-login {
  background: transparent;
  color: var(--sccd-primary);
  border: 2px solid var(--sccd-primary);
}

.sccd-btn-login:hover {
  background: var(--sccd-primary);
  color: var(--sccd-dark);
}

.sccd-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--sccd-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .sccd-menu-btn {
    display: block;
  }
}

/* Mobile Menu */
.sccd-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--sccd-dark);
  border-bottom: 2px solid var(--sccd-secondary);
  z-index: 9999;
  padding: 1rem 0;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.sccd-mobile-menu.sccd-active {
  display: block;
}

.sccd-menu-list {
  list-style: none;
  padding: 0 1.5rem;
}

.sccd-menu-item {
  margin-bottom: 0.5rem;
}

.sccd-menu-link {
  display: block;
  padding: 1rem;
  color: var(--sccd-text);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 1.4rem;
}

.sccd-menu-link:hover,
.sccd-menu-link.sccd-active {
  background: var(--sccd-secondary);
  color: var(--sccd-light);
}

/* Hero Slider */
.sccd-slider {
  position: relative;
  margin: 2rem 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--sccd-shadow);
}

.sccd-slider img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.sccd-slider:hover img {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Section Styles */
.sccd-section {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 10px;
  border: 1px solid var(--sccd-border);
}

.sccd-section-title {
  font-size: 2rem;
  color: var(--sccd-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: bold;
}

.sccd-section-title h2 {
  font-size: 2rem;
  color: var(--sccd-primary);
}

/* Game Grid */
.sccd-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.sccd-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.sccd-game-item:hover {
  transform: translateY(-5px);
}

.sccd-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border: 2px solid var(--sccd-border);
  transition: border-color 0.3s ease;
}

.sccd-game-item:hover .sccd-game-icon {
  border-color: var(--sccd-primary);
}

.sccd-game-name {
  font-size: 1rem;
  color: var(--sccd-text);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

/* Game Category */
.sccd-category {
  margin: 3rem 0;
}

.sccd-category-title {
  font-size: 1.8rem;
  color: var(--sccd-accent);
  margin-bottom: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sccd-category-title::before {
  content: '';
  width: 4px;
  height: 2rem;
  background: var(--sccd-secondary);
  border-radius: 2px;
}

/* Cards */
.sccd-card {
  background: linear-gradient(135deg, #333 0%, #222 100%);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--sccd-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sccd-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--sccd-shadow);
}

.sccd-card-title {
  font-size: 1.6rem;
  color: var(--sccd-primary);
  margin-bottom: 1rem;
  font-weight: bold;
}

.sccd-card-content {
  font-size: 1.4rem;
  color: var(--sccd-text-muted);
  line-height: 1.6;
}

/* Links */
.sccd-link {
  color: var(--sccd-primary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  cursor: pointer;
}

.sccd-link:hover {
  color: var(--sccd-accent);
  text-decoration: underline;
}

/* Buttons */
.sccd-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--sccd-secondary) 0%, var(--sccd-accent) 100%);
  color: var(--sccd-light);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.sccd-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* Bottom Navigation */
.sccd-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #2a2a2a 0%, var(--sccd-dark) 100%);
  border-top: 2px solid var(--sccd-secondary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  box-shadow: 0 -2px 10px var(--sccd-shadow);
}

@media (min-width: 769px) {
  .sccd-bottom-nav {
    display: none;
  }
}

.sccd-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--sccd-text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0.5rem;
}

.sccd-nav-item:hover,
.sccd-nav-item.sccd-active {
  color: var(--sccd-primary);
  transform: scale(1.1);
}

.sccd-nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.sccd-nav-text {
  font-size: 10px;
  font-weight: 500;
}

/* Footer */
.sccd-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 3rem 0;
  margin-top: 3rem;
  border-top: 2px solid var(--sccd-border);
}

.sccd-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sccd-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.sccd-footer-link {
  color: var(--sccd-text-muted);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.sccd-footer-link:hover {
  color: var(--sccd-primary);
}

.sccd-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.sccd-partner-logo {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.sccd-partner-logo:hover {
  opacity: 1;
}

.sccd-copyright {
  text-align: center;
  color: var(--sccd-text-muted);
  font-size: 1.2rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .sccd-game-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 360px) {
  .sccd-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
