/* Home widgets */
.home-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.home-card .icon-wrapper {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 0 auto;
}

.home-card .icon-wrapper i {
    font-size: 2rem;
}

.home-cta {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Live streamers carousel widget */
.live-streamers-carousel-widget {
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 100%);
    padding: 3rem 0;
}

.live-carousel-card {
    background: linear-gradient(135deg, #1e1e2f 0%, #2a2a3e 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.live-carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
}

.live-carousel-card img {
    border-radius: 8px;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.5);
}

.live-pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse-animation 1.5s ease-in-out infinite;
}

@keyframes pulse-animation {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.streamer-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #667eea;
}

.streamer-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.premium-badge {
    width: 24px;
    height: 24px;
    margin-left: 8px;
    vertical-align: middle;
    filter: drop-shadow(0 0 8px rgba(155, 89, 182, 0.8));
    animation: premium-glow 2s ease-in-out infinite;
}

@keyframes premium-glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(155, 89, 182, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(155, 89, 182, 1));
    }
}

.stream-title {
    font-size: 1.1rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.game-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.stream-stats .badge {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 6px;
}

.stream-stats .badge i {
    margin-right: 4px;
}

.card-body-custom {
    padding: 1rem 2rem;
}

/* Swiper customization */
.liveStreamersSwiper {
    padding-bottom: 50px;
}

.liveStreamersSwiper .swiper-button-next,
.liveStreamersSwiper .swiper-button-prev {
    color: #667eea;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.liveStreamersSwiper .swiper-button-next:hover,
.liveStreamersSwiper .swiper-button-prev:hover {
    background: rgba(102, 126, 234, 0.3);
}

.liveStreamersSwiper .swiper-button-next::after,
.liveStreamersSwiper .swiper-button-prev::after {
    font-size: 24px;
}

.liveStreamersSwiper .swiper-pagination-bullet {
    background: #667eea;
    opacity: 0.5;
}

.liveStreamersSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #667eea;
}

.gotomarket-widget {
    background: none;
    border: none;
}

.gotomarket-widget-inner {
    background: linear-gradient(135deg, rgba(6, 2, 18, 0.95), rgba(43, 12, 77, 0.92));
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px rgba(6, 1, 20, 0.65);
    padding: 1.5rem;
}

.gotomarket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.gotomarket-header .badge {
    background: rgba(146, 70, 255, 0.15);
    color: #e2d8ff;
    border: 1px solid rgba(146, 70, 255, 0.5);
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

.gotomarket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 220px);
    gap: 0.75rem;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 1260px;
    margin-inline: auto;
}

.gotomarket-link {
    display: contents;
    text-decoration: none;
    color: inherit;
}

.gotomarket-card {
    background: rgba(14, 7, 32, 0.9);
    margin: 0;
    border-radius: 1rem;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 210px;
}

.gotomarket-card-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0.8rem;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gotomarket-card-cover-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

.gotomarket-card-body h4 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
    color: #fff;
    min-height: 2.4rem;
}

.gotomarket-card-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.gotomarket-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #b48cff;
}

.gotomarket-card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
}

.gotomarket-card-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.gotomarket-card-author {
    font-size: 0.8rem;
    color: #fff;
    flex: 1;
    font-weight: 500;
}

.btn-gotomarket {
    border-radius: 0.75rem;
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.btn-gotomarket:hover {
    background: rgba(255, 255, 255, 0.05);
}

.journal-form {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 4, 25, 0.85);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.journal-card {
    background: rgba(7, 5, 24, 0.9);
    border-radius: 1.25rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 45px rgba(12, 6, 45, 0.65);
}

.journal-card-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
}

.journal-card-body {
    padding: 1.25rem;
}

.journal-card-title {
    margin-bottom: 0.4rem;
    font-size: 1.35rem;
    color: #fff;
}

.journal-detail-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    background: rgba(6, 2, 18, 0.95);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.journal-detail-card .journal-card-img.detail {
    height: 280px;
}

.journal-link-wrap {
    color: inherit;
}

.journal-link-wrap:hover .journal-card {
    transform: translateY(-4px);
}

.journal-card-meta {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.journal-card-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-wrap: break-word;
}
