/* ========== MAIN STYLESHEET FOR DOTA 2 PAGE (separated from logic) ========== */
/* ---------- GLOBAL & BASE ---------- */
body {
    background-color: #1a1a2e;
    color: white;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
}

/* ---------- HEADER / STICKY NAV ---------- */
.site-header {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 50px;
    box-sizing: border-box;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
    margin: 0;
    line-height: 1;
    height: 100%;
}

.logo-text {
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00d4ff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* hamburger (mobile) */
.hamburger-trigger {
    font-size: 1.9rem;
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s;
    margin-left: 15px;
    display: flex !important;
    align-items: center;
    margin: 0;
    line-height: 1;
    height: 100%;
}

.hamburger-trigger:hover {
    background: rgba(255,255,255,0.15);
}

.menu-toggle-checkbox {
    display: none;
}

.mobile-nav {
    position: absolute;
    top: 100%;
    right: 15px;
    background: rgba(25, 28, 55, 0.98);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 12px;
    width: 260px;
    padding: 15px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.35s ease;
    z-index: 1100;
}

.menu-toggle-checkbox:checked ~ .mobile-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav a {
    display: block;
    padding: 14px 22px;
    color: #e0e0ff;
    text-decoration: none;
    font-size: 1.08rem;
}

.mobile-nav a:hover {
    background: rgba(0,212,255,0.15);
    color: white;
}

.mobile-nav hr {
    border-color: rgba(255,255,255,0.12);
    margin: 10px 0;
}

.select-row {
    padding: 10px 22px;
    display: flex;
    gap: 12px;
}

.select-row select {
    flex: 1;
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1rem;
}
.dropdown { flex: 1; position: relative; }
.dropdown-toggle {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255,255,255,0.06);
    color: #e9f1ff;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 8px 28px 8px 12px;
    cursor: pointer;
    position: relative;
    transition: border-color .2s;
    font-family: inherit;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}
.dropdown-toggle:hover { border-color: rgba(0,212,255,.4); }
.dropdown-toggle .fa-chevron-down {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #8a9bae;
    transition: transform .25s;
}
.dropdown.open .dropdown-toggle .fa-chevron-down { transform: translateY(-50%) rotate(180deg); }
.dd-label { font-size: 10px; color: #aac8e4; text-transform: uppercase; letter-spacing: .5px; }
.dd-value { font-size: 14px; font-weight: 700; color: #e9f1ff; margin-top: 2px; }
.dropdown-menu {
    display: none;
    background: #0d1830;
    border: 1px solid rgba(0,212,255,.25);
    border-radius: 10px;
    padding: 6px;
    margin-top: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.dropdown.open .dropdown-menu {
    display: block;
}
.dd-item {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #aac8e4;
    cursor: pointer;
    transition: all .15s;
}
.dd-item:hover { background: rgba(0,212,255,.12); color: #00d4ff; }
.dd-item.active { background: rgba(0,212,255,.18); color: #00d4ff; font-weight: 700; }

/* ---------- GRID & CARDS ---------- */
.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.skin-card {
    background: #0f3460;
    border-radius: 12px;
    overflow: hidden;
    color: white;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}

.skin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.card-image-area {
    font-size: 6rem;
    padding: 30px 0;
    background: #1a1a2e;
}

.card-info {
    padding: 15px;
}

.item-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 6px;
}

.item-game {
    font-size: 0.9rem;
    color: #aac8e4;
    margin-bottom: 8px;
}

.item-description {
    font-size: 0.92rem;
    color: #c0c8e0;
    margin-bottom: 12px;
}

.price-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.current-price {
    font-size: 1.6rem;
    font-weight: bold;
    color: #00d4ff;
    margin: 0;
}

.buy-btn {
    background: #00d4ff;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.buy-btn:hover {
    background: #00b8d9;
}

.buy-link {
    color: inherit;
    text-decoration: none;
}

/* section title */
.section-title {
    text-align: center;
    color: white;
    font-size: 1.9rem;
    font-weight: 700;
    margin: 30px 0 20px;
}

.section-title span {
    color: #00d4ff;
}

/* ---------- FOOTER ---------- */
.main-footer {
    margin-top: 60px;
    background: rgba(0,0,0,0.3);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-column h3 {
    color: #00d4ff;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.footer-column p {
    color: #aac8e4;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #aac8e4;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #00d4ff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .footer-column {
        margin-bottom: 25px;
        text-align: center;
    }
}