/* =================================================
   PREMIUM SPONSORS CSS
   GameMarket 2026
   Minimal bo‘shliq, ixcham, animatsiyalar bilan
================================================= */

/* ===== GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== VARIABLES ===== */
:root {
    --primary-color: #ff4c00;
    --secondary-color: #ffb84c;
    --bg-dark: #111;
    --card-bg: #1b1b1b;
    --text-light: #ccc;
    --text-dark: #111;
    --shadow-color: rgba(255, 76, 0, 0.3);
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(90deg, #1f1f1f, #2a2a2a);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.6);
    transition: all 0.3s;
}

.navbar:hover {
    box-shadow: 0 2px 25px rgba(0,0,0,0.8);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: transform 0.3s;
}

.navbar .logo:hover {
    transform: scale(1.1);
}

.navbar nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.navbar nav a.active::after,
.navbar nav a:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    border-radius: 2px;
    transition: 0.3s;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: var(--primary-color);
}

/* ===== HERO ===== */
.hero {
    background: url('hero-bg.jpg') center/cover no-repeat;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.hero h1 {
    position: relative;
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
    z-index: 1;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    position: relative;
    font-size: 1.2rem;
    color: #ddd;
    z-index: 1;
    animation: fadeInUp 1.2s ease forwards;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px);}
    100% { opacity: 1; transform: translateY(0);}
}

/* ===== TRUSTED SECTION ===== */
.trusted {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-dark);
    position: relative;
}

.trusted h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.trusted h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ===== SPONSOR GRID ===== */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== SPONSOR CARD ===== */
.sponsor-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.sponsor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.05;
    z-index: 0;
}

.sponsor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

/* ===== LOGO BOX ===== */
.logo-box {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 10px;
    transition: transform 0.3s;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.logo-box img {
    width: 140%;
    height: 140%;
    object-fit: cover;   /* rasm konteynerga sigadi va tortilmaydi */
    border-radius: 50%;   /* dumaloq qiladi */
    display: block;
}

.sponsor-card:hover .logo-box {
    transform: scale(1.1) rotate(5deg);
}

/* ===== ICONS (Platform Icon) ===== */
.sponsor-card .logo-box .icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    margin: 0 auto;
}

/* ===== SPONSOR CARD TEXT ===== */
.sponsor-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
    z-index: 1;
    position: relative;
}

.sponsor-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    z-index: 1;
    position: relative;
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-dark);
    text-align: center;
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: rgba(255,255,255,0.05);
    transform: rotate(45deg);
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.cta p {
    font-size: 1rem;
    margin-bottom: 25px;
    z-index: 1;
    position: relative;
}

.cta .btn {
    text-decoration: none;
    padding: 14px 35px;
    background: var(--text-dark);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.cta .btn:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    transform: scale(1.05);
}

/* Button shine effect */
.cta .btn::after {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.2), rgba(255,255,255,0.5), rgba(255,255,255,0.2));
    transform: skewX(-20deg);
    transition: all 0.3s;
}

.cta .btn:hover::after {
    left: 125%;
    transition: all 0.5s;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 25px 20px;
    background: var(--bg-dark);
    color: #888;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .trusted h2,
    .cta h2 { font-size: 1.8rem; }
    .sponsor-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 15px;}
    .sponsor-card { padding: 15px; }
    .logo-box { width: 70px; height: 70px; }
}

/* ===================================================
   KEYFRAME MICRO-INTERACTIONS (LOGO, BUTTON, CARD)
=================================================== */
@keyframes pulse {
    0% { transform: scale(1);}
    50% { transform: scale(1.05);}
    100% { transform: scale(1);}
}

@keyframes shine {
    0% { background-position: -200%;}
    100% { background-position: 200%;}
}