/* ============================================
   HOME PAGE STYLES - Cyberpunk Gaming Theme
   ============================================ */

/* Hero section with banner */
.hero-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.hero-banner {
    flex: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    height: 350px;
    /* Neon border glow */
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

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

.hero-banner:hover .hero-banner__img {
    transform: scale(1.05);
}

/* Hero Sidebar - Glass Card */
.hero-sidebar {
    width: 350px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    /* Glassmorphism */
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(188, 19, 254, 0.1);
}

.hero-sidebar__header {
    background: linear-gradient(135deg, #00d4ff, #bc13fe);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-sidebar__content {
    padding: 20px;
    text-align: center;
}

.hero-sidebar__empty {
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
}

.hero-sidebar__list {
    margin-bottom: 20px;
}

.hero-sidebar__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-sidebar__item:last-child {
    border-bottom: none;
}

.hero-sidebar__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-sidebar__name {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-sidebar__amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #39ff14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

/* Rank Badges - Neon Style */
.hero-sidebar__rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-sidebar__rank--gold {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.hero-sidebar__rank--silver {
    background: linear-gradient(135deg, #c0c0c0, #888);
    border-color: #c0c0c0;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.hero-sidebar__rank--bronze {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    border-color: #cd7f32;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.5);
}

.hero-sidebar__btn {
    background: linear-gradient(135deg, #00d4ff, #bc13fe);
    color: white;
    border-radius: var(--border-radius-pill);
    border: none;
    padding: 14px 20px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow:
        0 5px 20px rgba(0, 212, 255, 0.4),
        0 0 30px rgba(188, 19, 254, 0.2);
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.hero-sidebar__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.hero-sidebar__btn:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow:
        0 8px 30px rgba(0, 212, 255, 0.5),
        0 0 40px rgba(188, 19, 254, 0.3);
}

.hero-sidebar__btn:hover::before {
    animation: shine 0.6s ease forwards;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Menu Section Titles */
.menu {
    margin-bottom: 60px;
}

.menu__header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.menu__header__title {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    /* Gradient Text */
    background: linear-gradient(135deg, #00d4ff, #bc13fe, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu__header__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #bc13fe, #ff00ff);
    border-radius: var(--border-radius-pill);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* Transaction List - Quick Actions */
.transaction__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.transaction__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 20px;
    /* Glassmorphism Card */
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.transaction__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(188, 19, 254, 0.1));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.transaction__item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 212, 255, 0.2);
}

.transaction__item:hover::before {
    opacity: 1;
}

.transaction__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(188, 19, 254, 0.2));
    border-radius: var(--border-radius-circle);
    transition: all 0.3s ease;
    color: #00d4ff;
    font-size: 2.4rem;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.transaction__item:hover .transaction__icon {
    background: linear-gradient(135deg, #00d4ff, #bc13fe);
    color: white;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    transform: scale(1.1);
}

.transaction__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.text__transaction__item {
    font-weight: 700;
    font-size: 1.4rem;
    color: #ffffff;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.transaction__item:hover .text__transaction__item {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.transaction__desc {
    margin: 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
}

.transaction__item:hover .transaction__desc {
    color: rgba(255, 255, 255, 0.7);
}

/* Category List - Game Cards */
.category__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.category__item {
    display: flex;
    flex-direction: column;
    /* Glassmorphism Card */
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
}

.category__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: none;
    z-index: 1;
    pointer-events: none;
}

.category__item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 212, 255, 0.15);
}

.category__item:hover::before {
    animation: shine 0.8s ease forwards;
}

.category__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category__item:hover .category__img {
    transform: scale(1.1);
}

.category__title {
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
    margin: 18px 15px 8px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category__desc {
    margin: 0 15px 5px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    text-align: center;
}

.category__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 16px;
    justify-content: center;
}

.category__stats .badge {
    text-align: center;
    padding: 8px 14px;
    font-size: 1.1rem;
    border-radius: 20px;
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
    font-weight: 600;
    display: inline-block;
}

.category__action {
    text-align: center;
    margin: auto 16px 18px;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00d4ff, #bc13fe);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category__action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.category__item:hover .category__action {
    box-shadow:
        0 15px 30px rgba(0, 212, 255, 0.4),
        0 0 20px rgba(188, 19, 254, 0.3);
}

.category__item:hover .category__action::before {
    animation: shine 0.6s ease forwards;
}

/* Recent Transactions - Marquee */
.recent-transactions {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
}

.recent-transactions__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.recent-transactions__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.recent-transactions__title i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.recent-transactions__marquee {
    overflow: hidden;
    position: relative;
    height: 30px;
}

.recent-transactions__list {
    display: flex;
    align-items: center;
    position: absolute;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.recent-transactions__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 25px;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
}

.recent-transactions__username {
    font-weight: 600;
    color: #bc13fe;
    text-shadow: 0 0 8px rgba(188, 19, 254, 0.4);
}

.recent-transactions__time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
}

.recent-transactions__amount {
    font-weight: 700;
    color: #39ff14;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Service Alert */
.service__alert {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.service__alert--success {
    background: rgba(57, 255, 20, 0.1);
    border-color: rgba(57, 255, 20, 0.3);
}

.service__alert--success i {
    color: #39ff14;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.service__alert-content {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
}

.service__alert-content p {
    margin: 0;
    font-size: 1.4rem;
}

.service__alert-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.service__alert-close:hover {
    color: #ff3366;
}

/* Special Menu Section */
.special-menu {
    margin-top: 20px;
}

/* Welcome Modal - Dark Theme */
.welcome-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease-out;
    overflow: auto;
}

.welcome-modal {
    width: 90%;
    max-width: 600px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(0, 212, 255, 0.15),
        0 0 100px rgba(188, 19, 254, 0.1);
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.5s ease-out;
}

.welcome-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #bc13fe, #ff00ff);
}

.welcome-modal__header {
    position: relative;
    padding: 25px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-modal__title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #00d4ff, #bc13fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 51, 102, 0.2);
    border: 1px solid rgba(255, 51, 102, 0.3);
    font-size: 2.2rem;
    color: #ff3366;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.welcome-modal__close:hover {
    background: rgba(255, 51, 102, 0.3);
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
    transform: rotate(90deg);
}

.welcome-modal__body {
    padding: 25px 30px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.welcome-modal__body p {
    margin-bottom: 15px;
}

.welcome-modal__body p:first-child {
    font-size: 1.7rem;
    font-weight: 600;
    color: #ffffff;
}

.welcome-modal__icon {
    display: block;
    width: 30%;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.welcome-modal__feature-list {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-modal__feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.welcome-modal__feature-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.welcome-modal__feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00d4ff, #bc13fe);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.welcome-modal__feature-text {
    flex: 1;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.welcome-modal__footer {
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    background: linear-gradient(135deg, #00d4ff, #bc13fe);
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow:
        0 5px 20px rgba(0, 212, 255, 0.4),
        0 0 30px rgba(188, 19, 254, 0.2);
    position: relative;
    overflow: hidden;
}

.welcome-modal__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.welcome-modal__btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(0, 212, 255, 0.5),
        0 0 40px rgba(188, 19, 254, 0.3);
}

.welcome-modal__btn:hover::before {
    animation: shine 0.5s ease forwards;
}

.welcome-modal__btn i {
    margin-right: 10px;
    font-size: 1.6rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Glass Card Utility (used in templates) */
.glass-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
    }

    .hero-sidebar {
        width: 100%;
    }

    .transaction__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .transaction__list {
        grid-template-columns: 1fr;
    }

    .menu__header__title {
        font-size: 1.8rem;
    }

    .category__list {
        grid-template-columns: 1fr;
    }

    .welcome-modal {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .welcome-modal__header {
        padding: 15px 20px;
    }

    .welcome-modal__title {
        font-size: 1.8rem;
    }

    .welcome-modal__body {
        padding: 20px;
    }

    .welcome-modal__footer {
        padding: 15px 20px;
    }

    .welcome-modal__btn {
        width: 100%;
    }
}