html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #334155;
    font-size: 13px;
}

* {
    box-sizing: border-box;
}

a {
    color: #334155;
    text-decoration: none;
}

.freeheader {
    background: #0088cc;
    border-bottom: 3px solid #006699;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.freeheaderinner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.freelogo img {
    max-height: 40px;
    vertical-align: middle;
}

.freenav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.freenav a {
    font-weight: bold;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.freenav a:hover, .freenav .active {
    background: #006699;
}

.freewrap {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 10px;
}

.freecard {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.freecardtitle {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffcc00;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #cc9900;
}

.freeimg {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
    border-radius: 4px;
}

.freegrid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.freegriditem {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    transition: all 0.2s;
}

.freegriditem:hover {
    transform: translateY(-2px);
    border-color: #ffcc00;
    box-shadow: 0 4px 12px rgba(255,204,0,0.1);
}

.freegriditemtitle {
    font-size: 12px;
    font-weight: bold;
    margin: 6px 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.freeprice {
    color: #ef4444;
    font-weight: bold;
}

.freebtn {
    display: inline-block;
    background: #ffcc00;
    color: #212529;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.freebtn:hover {
    background: #e0a800;
}

.freepill {
    display: inline-block;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin: 2px;
}

.freecircleicon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fffdf5;
    color: #ffcc00;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: bold;
}

.freefooter {
    background: #ffcc00;
    color: #212529;
    padding: 25px 0;
    text-align: center;
    margin-top: 30px;
}

.freefooternav a {
    margin: 0 10px;
    color: #212529;
    font-size: 12px;
    font-weight: bold;
}

.freecopyright {
    color: #212529;
    font-size: 12px;
    margin-top: 10px;
    font-weight: bold;
}

@media (max-width: 992px) {
    .freegrid3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .freegrid3 { grid-template-columns: repeat(1, 1fr); }
    .freeheaderinner { flex-direction: column; gap: 10px; }
}
