/* Home Page Styles - Clean Cute Theme */

/* Main Layout */
.fp-main {
  margin-top: var(--fp-header-height);
  min-height: calc(100vh - var(--fp-header-height));
}

/* Hero Section */
.fp-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #FFE5F1 0%, #E8F4FD 50%, #F0F8E8 100%);
}

.fp-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.fp-hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.fp-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: fp-float 6s ease-in-out infinite;
}

.fp-shape-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #FFB6C1, #FFC0CB);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.fp-shape-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #87CEEB, #98D8E8);
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.fp-shape-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #DDA0DD, #E6E6FA);
  bottom: 20%;
  left: 20%;
  animation-delay: 2s;
}

.fp-shape-4 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #F0E68C, #FFFFE0);
  bottom: 30%;
  right: 10%;
  animation-delay: 3s;
}

.fp-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fp-space-4xl);
  align-items: center;
  width: 100%;
}

@media (max-width: 1023px) {
  .fp-hero-content {
    grid-template-columns: 1fr;
    gap: var(--fp-space-2xl);
    text-align: center;
  }
}

.fp-hero-text {
  color: var(--fp-text-dark);
}

.fp-hero-title {
  margin-bottom: var(--fp-space-lg);
}

.fp-hero-title-main {
  display: block;
  font-size: var(--fp-text-2xl);
  font-weight: var(--fp-weight-medium);
  color: #8B4B8C;
  margin-bottom: var(--fp-space-sm);
}

.fp-hero-title-brand {
  display: block;
  font-size: var(--fp-text-6xl);
  font-weight: var(--fp-weight-bold);
  background: linear-gradient(135deg, #FF69B4 0%, #FF1493 30%, #DA70D6 60%, #9370DB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 767px) {
  .fp-hero-title-brand {
    font-size: var(--fp-text-5xl);
  }
}

.fp-hero-subtitle {
  font-size: var(--fp-text-xl);
  line-height: var(--fp-leading-relaxed);
  color: #6B4C7A;
  margin-bottom: var(--fp-space-2xl);
  max-width: 500px;
}

@media (max-width: 1023px) {
  .fp-hero-subtitle {
    max-width: none;
  }
}

.fp-hero-actions {
  display: flex;
  gap: var(--fp-space-lg);
  flex-wrap: wrap;
}

@media (max-width: 1023px) {
  .fp-hero-actions {
    justify-content: center;
  }
}

@media (max-width: 639px) {
  .fp-hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

.fp-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fp-hero-game-preview {
  width: 400px;
  height: 300px;
  background: transparent;
  border-radius: 25px;
  position: relative;
  animation: fp-float 4s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

@media (max-width: 767px) {
  .fp-hero-game-preview {
    width: 300px;
    height: 225px;
  }
}

.fp-hero-card-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  background: #000;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.fp-hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fp-hero-game-preview:hover .fp-hero-card-img {
  transform: scale(1.1);
}

.fp-hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  z-index: 1;
}

.fp-hero-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #FF6B9D;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.fp-hero-game-preview:hover .fp-hero-card-badge {
  transform: translateY(-2px);
}

.fp-hero-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.fp-hero-game-preview:hover .fp-hero-play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.fp-hero-card-content {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  z-index: 2;
  text-align: left;
}

.fp-hero-card-title {
  color: white;
  margin: 0 0 8px 0;
  font-size: 1.6rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transform: translateY(5px);
  transition: transform 0.3s ease;
  line-height: 1.2;
}

.fp-hero-game-preview:hover .fp-hero-card-title {
  transform: translateY(0);
}

.fp-hero-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.9;
  transform: translateY(5px);
  transition: all 0.3s ease 0.1s;
}

.fp-hero-game-preview:hover .fp-hero-card-meta {
  opacity: 1;
  transform: translateY(0);
}

.fp-hero-card-category {
  background: rgba(78, 205, 196, 0.9);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.fp-hero-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #FFD700;
  font-weight: 700;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Categories Section */
.fp-categories {
  padding: var(--fp-space-4xl) 0;
  background: linear-gradient(135deg, #FFF8DC 0%, #F0F8FF 50%, #F5FFFA 100%);
}

.fp-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--fp-space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.fp-category-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: var(--fp-space-2xl);
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.2);
  transition: all var(--fp-transition-normal);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 182, 193, 0.3);
}

.fp-category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
  border-color: rgba(255, 105, 180, 0.5);
}

.fp-category-icon {
  font-size: 4rem;
  margin-bottom: var(--fp-space-lg);
  display: block;
  animation: fp-bounce 3s ease-in-out infinite;
}

.fp-category-title {
  font-size: var(--fp-text-2xl);
  font-weight: var(--fp-weight-bold);
  color: #8B4B8C;
  margin-bottom: var(--fp-space-md);
}

.fp-category-description {
  font-size: var(--fp-text-base);
  color: #6B4C7A;
  line-height: var(--fp-leading-relaxed);
  margin-bottom: var(--fp-space-lg);
}

.fp-category-count {
  font-size: var(--fp-text-sm);
  font-weight: var(--fp-weight-semibold);
  color: #FF1493;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(255, 105, 180, 0.1));
  padding: var(--fp-space-sm) var(--fp-space-lg);
  border-radius: var(--fp-radius-full);
  display: inline-block;
  border: 2px solid rgba(255, 20, 147, 0.2);
}

/* Featured Games Section */
.fp-featured-games {
  padding: var(--fp-space-4xl) 0;
  background: linear-gradient(135deg, #F8F8FF 0%, #FFF0F5 50%, #F0FFFF 100%);
}

.fp-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--fp-space-xl);
  justify-items: center;
}

@media (max-width: 639px) {
  .fp-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--fp-space-lg);
  }
}

/* New Games Section */
.fp-new-games {
  padding: var(--fp-space-4xl) 0;
  background: linear-gradient(135deg, #FFFACD 0%, #FFF8DC 50%, #FFEFD5 100%);
}

.fp-games-carousel {
  position: relative;
  margin: 0 var(--fp-space-3xl);
}

@media (max-width: 767px) {
  .fp-games-carousel {
    margin: 0 var(--fp-space-lg);
  }
}

/* Override carousel styles for New Games grid layout */
.fp-new-games .fp-carousel-track {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: var(--fp-space-xl) !important;
  justify-items: center !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 639px) {
  .fp-new-games .fp-carousel-track {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: var(--fp-space-lg) !important;
  }
}

/* Popular Games Section */
.fp-popular-games {
  padding: var(--fp-space-4xl) 0;
  background: linear-gradient(135deg, #E6E6FA 0%, #F0E68C 50%, #FFE4E1 100%);
}

/* Animations */
@keyframes fp-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes fp-bounce {
  0%, 20%, 53%, 80%, 100% {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -15px, 0);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -7px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .fp-hero {
    min-height: 500px;
    padding: var(--fp-space-2xl) 0;
  }
}

@media (max-width: 767px) {
  .fp-hero {
    min-height: 400px;
    padding: var(--fp-space-xl) 0;
  }
  
  .fp-categories,
  .fp-featured-games,
  .fp-new-games,
  .fp-popular-games {
    padding: var(--fp-space-3xl) 0;
  }
}

/* Footer Styles */
.fp-footer {
  background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
  color: var(--fp-text-white);
  padding: var(--fp-space-4xl) 0 var(--fp-space-xl);
  margin-top: 0;
  position: relative;
}

.fp-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF69B4, #FF1493, #DA70D6, #9370DB);
}

.fp-footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--fp-space-2xl);
  margin-bottom: var(--fp-space-2xl);
}

@media (max-width: 1023px) {
  .fp-footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--fp-space-xl);
  }
}

@media (max-width: 639px) {
  .fp-footer-content {
    grid-template-columns: 1fr;
    gap: var(--fp-space-lg);
    text-align: center;
  }
}

.fp-footer-brand {
  grid-column: span 1;
}

@media (max-width: 1023px) {
  .fp-footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 639px) {
  .fp-footer-brand {
    grid-column: span 1;
  }
}

.fp-footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--fp-space-lg);
  line-height: var(--fp-leading-relaxed);
  font-size: var(--fp-text-base);
  max-width: 400px;
}

@media (max-width: 639px) {
  .fp-footer-description {
    max-width: none;
  }
}

.fp-footer-links {
  display: contents;
}

.fp-footer-column h4 {
  color: var(--fp-text-white);
  font-size: var(--fp-text-lg);
  font-weight: var(--fp-weight-semibold);
  margin-bottom: var(--fp-space-lg);
  background: linear-gradient(135deg, #FF69B4, #FF1493);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.fp-footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #FF69B4, #FF1493);
  border-radius: 1px;
}

@media (max-width: 639px) {
  .fp-footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.fp-footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-footer-column li {
  margin-bottom: var(--fp-space-sm);
}

.fp-footer-column a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--fp-transition-fast);
  font-size: var(--fp-text-base);
  display: inline-block;
  padding: var(--fp-space-xs) 0;
  position: relative;
}

.fp-footer-column a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--fp-transition-fast);
  color: #FF69B4;
}

.fp-footer-column a:hover {
  color: #FF69B4;
  transform: translateX(5px);
}

.fp-footer-column a:hover::before {
  opacity: 1;
  left: -15px;
}

.fp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--fp-space-xl);
  text-align: center;
  position: relative;
}

.fp-footer-bottom::before {
  content: '✨';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  animation: fp-sparkle 2s ease-in-out infinite;
}

.fp-footer-bottom::after {
  content: '✨';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  animation: fp-sparkle 2s ease-in-out infinite 1s;
}

@media (max-width: 639px) {
  .fp-footer-bottom::before,
  .fp-footer-bottom::after {
    display: none;
  }
}

.fp-footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: var(--fp-text-base);
}

/* Footer Logo Styles */
.fp-footer .fp-logo {
  margin-bottom: var(--fp-space-md);
  transition: var(--fp-transition-normal);
}

.fp-footer .fp-logo:hover {
  transform: scale(1.05);
}

.fp-footer .fp-logo-icon {
  background: linear-gradient(135deg, #FF69B4, #FF1493);
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.fp-footer .fp-logo-main {
  color: var(--fp-text-white);
}

.fp-footer .fp-logo-sub {
  color: rgba(255, 255, 255, 0.8);
}

/* Sparkle Animation */
@keyframes fp-sparkle {
  0%, 100% {
    opacity: 0.6;
    transform: translateY(-50%) scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.2) rotate(180deg);
  }
}
/* Carousel Styles */
.fp-games-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 var(--fp-space-2xl);
}

@media (max-width: 767px) {
  .fp-games-carousel {
    margin: 0 var(--fp-space-lg);
  }
}

.fp-carousel-container {
  overflow: hidden;
  width: 100%;
}

.fp-carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  gap: var(--fp-space-lg);
}

.fp-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 105, 180, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--fp-transition-normal);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
}

.fp-carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #FF69B4;
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.fp-carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%) scale(0.9);
}

.fp-carousel-btn svg {
  width: 20px;
  height: 20px;
  color: #FF1493;
}

.fp-carousel-prev {
  left: -25px;
}

.fp-carousel-next {
  right: -25px;
}

@media (max-width: 767px) {
  .fp-carousel-prev {
    left: 10px;
  }
  
  .fp-carousel-next {
    right: 10px;
  }
  
  .fp-carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .fp-carousel-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Carousel Track Items */
.fp-carousel-track .fp-game-card {
  flex-shrink: 0;
  width: 280px;
}

@media (max-width: 1279px) {
  .fp-carousel-track .fp-game-card {
    width: 300px;
  }
}

@media (max-width: 1023px) {
  .fp-carousel-track .fp-game-card {
    width: 320px;
  }
}

@media (max-width: 639px) {
  .fp-carousel-track .fp-game-card {
    width: 280px;
  }
}
/* Game Card Styles (backup) */
.fp-game-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.2);
  transition: all var(--fp-transition-normal);
  cursor: pointer;
  border: 2px solid rgba(255, 182, 193, 0.3);
  position: relative;
  width: 280px;
}

.fp-game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
}

.fp-game-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.fp-game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--fp-transition-normal);
}

.fp-game-card:hover .fp-game-card-image img {
  transform: scale(1.05);
}

.fp-game-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #FF69B4, #FF1493);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: var(--fp-text-xs);
  font-weight: var(--fp-weight-semibold);
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(255, 105, 180, 0.4);
}

.fp-game-card-content {
  padding: var(--fp-space-lg);
}

.fp-game-card-title {
  font-size: var(--fp-text-lg);
  font-weight: var(--fp-weight-semibold);
  color: var(--fp-text-primary);
  margin: 0 0 var(--fp-space-sm) 0;
  line-height: var(--fp-leading-tight);
}

.fp-game-card-category {
  font-size: var(--fp-text-sm);
  color: var(--fp-text-secondary);
  margin-bottom: var(--fp-space-md);
}

.fp-game-card-actions {
  display: flex;
  gap: var(--fp-space-sm);
  align-items: center;
}

.fp-play-btn {
  background: linear-gradient(135deg, #FF69B4, #FF1493);
  color: white;
  padding: var(--fp-space-sm) var(--fp-space-md);
  border-radius: 20px;
  text-decoration: none;
  font-size: var(--fp-text-sm);
  font-weight: var(--fp-weight-semibold);
  transition: var(--fp-transition-fast);
  flex: 1;
  text-align: center;
}

.fp-play-btn:hover {
  background: linear-gradient(135deg, #FF1493, #DA70D6);
  transform: scale(1.05);
  color: white;
}

