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


.all-content {
  background-image: url('../images/store_imgs/03f725167362109.webp');
  width: 100%;
  background-repeat: no-repeat;
  object-fit: cover;
  min-height: 100vh;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  filter: blur(20px);
}

.comming-soon{
    display: flex;
    position: absolute;
    width: 100vw;
    z-index: 8;
    font-size: 50px;
    background: #0000003d;
    height: 100%;
    align-items: center;
    justify-content: center;
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #ffffff;
    /* direction: rtl; */
    overflow: hidden;
}

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

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
    flex-direction: row-reverse;
}

.search-container {
    flex: 1;
    max-width: 300px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.search-box i {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 10px;
}

.search-box input {
    background: none;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

svg.feather.feather-search {
    margin-left: 20px;
}

.nav-tabs {
    display: flex;
    gap: 5px;
}

.nav-tab {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.nav-tab.active {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a2e;
}

.nav-tab:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row-reverse;
}

.discord-icon {
    width: 40px;
    height: 40px;
    background: #5865f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/store_imgs/user2.jpg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    object-fit: cover;
}

.discord-icon i {
    width: 20px;
    height: 20px;
    color: white;
}

.username {
    font-weight: 600;
    font-size: 16px;
}

.coins {
    font-weight: 700;
    color: #ffd700;
    font-size: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
        flex-direction: row-reverse;
}

.user-coins { 
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f9f9f929;
    padding: 10px;
    border-radius: 20px;
    color: #ffd70f;
    font-weight: 600;
    flex-direction: row-reverse;
}


/* Main Content */
.main-content {
    display: grid;
    gap: 30px;
    padding-top: 5rem;
}



.all-banner {
    display: flex;
    width: 100%;
}

/* Featured Section */
.featured-section {
    display: flex;
    grid-template-columns: -1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    flex-direction: row-reverse;
    direction: rtl;
}

.featured-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.featured-card.large {
    display: flex;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    /* background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'); */
    background-image: url('../images/store_imgs/123456.png');
    background-position: center;
    background-size: cover;
    object-fit: cover;
    background-repeat: no-repeat;
    width: 100%;
    justify-content: flex-start;
    flex-direction: row-reverse;
}

.featured-card.medium {
    background: linear-gradient(135deg, #ffffff5e 0%, #1a202c38 100%);
    position: absolute;
    margin-right: 2rem;
    margin-top: 2rem;
    min-width: 20%;
    min-height: 30
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    align-items: flex-start;
    direction: ltr;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    width: 24px;
    height: 24px;
    color: white;
}

.featured-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.featured-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.buy-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 20px;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.buy-btn i {
    width: 16px;
    height: 16px;
}

/* Hot Offers */
.hot-offers {
    margin-bottom: 30px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.offer-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.offer-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
}

.offer-name {
    flex: 1;
    font-weight: 500;
}

.offer-price {
    font-weight: 700;
    color: #ffd700;
}

/* Game Center */
.game-center {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.filter-tags {
    display: flex;
    gap: 10px;
}

.tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.game-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.game-image.nitro {
    /* background: linear-gradient(45deg, #ff6b9d, #c44569); */
    background-image: url('../images/store_imgs/12.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: cover;
    background-position: center;
}

.game-image.nitro::after {
    content: "NITRO";
    font-size: 16px;
    font-weight: 900;
}


.api-service {
  display: flex;
  border-radius: 15px;
  object-fit: cover;
  width: 40%;
  height: 90%;
  justify-content: center;
  background: rgba(255 255 255 / 9%);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  flex-direction: column;
  padding: 10px;
}


.api-service::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg, #00383b, #ffffff75, #ffffff54);
  border-radius: inherit;
  z-index: -1;
  filter: blur(8px);
  animation: pulse 2s infinite linear;
}

@keyframes pulse {
  0% { filter: blur(6px); opacity: 0.8; }
  50% { filter: blur(10px); opacity: 1; }
  100% { filter: blur(6px); opacity: 0.8; }
}


.api-service:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
}

.game-image.playstation {
    background: linear-gradient(45deg, #0070f3, #0051cc);
}

.game-image.playstation::after {
    content: "PS";
    font-size: 20px;
    font-weight: 900;
}

.game-image.fortnite {
    background: linear-gradient(45deg, #ff8c00, #ff4500);
}

.game-image.fortnite::after {
    content: "FN";
    font-size: 18px;
    font-weight: 900;
}

.game-image.windows {
    background: linear-gradient(45deg, #0078d4, #106ebe);
}

.game-image.windows::after {
    content: "WIN";
    font-size: 16px;
    font-weight: 900;
}

.game-image.steam {
    background: linear-gradient(45deg, #171a21, #2a475e);
}

.game-image.steam::after {
    content: "STEAM";
    font-size: 14px;
    font-weight: 900;
}

.game-info {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.game-price {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.discount {
    background: #ff4757;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}

/* Discord Section */
.discord-section {
    margin-top: 30px;
}

.discord-card {
    background: linear-gradient(135deg, #5865f2 0%, #4f46e5 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.discord-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.discord-logo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-logo i {
    width: 30px;
    height: 30px;
    color: white;
}

.discord-card h2 {
    font-size: 36px;
    font-weight: 700;
}

.discord-character {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    position: relative;
}

.discord-character::after {
    content: "🎮";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .search-container {
        max-width: none;
    }
    
    .nav-tabs {
        justify-content: center;
    }
    
    .user-info {
        justify-content: center;
    }
    
    .featured-section {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .filter-tags {
        justify-content: center;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .discord-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .featured-card {
        padding: 20px;
    }
    
    .featured-card h2 {
        font-size: 22px;
    }
    
    .games-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .game-image {
        height: 100px;
    }
    
    .discord-card h2 {
        font-size: 28px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.6s ease-out;
}

.game-card:nth-child(2) { animation-delay: 0.1s; }
.game-card:nth-child(3) { animation-delay: 0.2s; }
.game-card:nth-child(4) { animation-delay: 0.3s; }
.game-card:nth-child(5) { animation-delay: 0.4s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}