:root {
    --primary-color-start: #11998e;
    --primary-color-end: #38ef7d;
    --secondary-color: #64748b;
    --background-color: #f4f7fc;
    --card-background: #ffffff;
    --text-color-primary: #1e293b;
    --text-color-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-color: rgba(17, 153, 142, 0.1);
    --hover-bg: #f8f9fa;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}
.main-container { width: 100%; max-width: 900px; }
.tool-card {
    background: var(--card-background);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    margin-bottom: 25px;
}
h1 { text-align: center; color: var(--text-color-primary); font-size: 28px; font-weight: 700; margin: 0 0 10px 0; }
.tagline { text-align: center; color: var(--text-color-secondary); font-size: 16px; margin: 0 0 30px 0; }

/* IP Tool Specific Styles */
.ip-display-box {
    background-color: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 30px;
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.ip-display-box h2 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color-start);
    letter-spacing: 2px;
}
#copyBtn {
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--primary-color-start);
    cursor: pointer;
    transition: all 0.2s ease;
}
#copyBtn:hover { background-color: var(--primary-color-start); color: white; }

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.detail-item {
    background-color: var(--hover-bg);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}
.detail-item p { margin: 0 0 5px 0; font-size: 14px; color: var(--text-color-secondary); }
.detail-item h4 { margin: 0; font-size: 18px; color: var(--text-color-primary); }

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
#locationMap, #locationMap iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.vpn-promo-box { border: 2px solid var(--primary-color-start); text-align: center; }

/* Other Sections */
.extra-section, .ad-container { margin-top: 25px; }
.ad-container { text-align: center; }
.extra-section { background: var(--card-background); padding: 30px; border-radius: 20px; box-shadow: 0 10px 40px var(--shadow-color); border: 1px solid var(--border-color); }
.section-title { font-size: 22px; font-weight: 600; color: var(--text-color-primary); margin-bottom: 20px; border-bottom: 3px solid var(--primary-color-start); padding-bottom: 10px; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.tool-button { display: inline-block; padding: 12px 25px; background-color: var(--primary-color-start); color: white; text-decoration: none; font-weight: 600; text-align: center; border-radius: 10px; transition: all 0.3s ease; }
.tool-button:hover { opacity: 0.9; }
.how-to-use-list { list-style-type: none; padding-left: 0; counter-reset: steps-counter; }
.how-to-use-list li { position: relative; padding-left: 45px; margin-bottom: 15px; font-size: 16px; color: var(--text-color-secondary); }
.how-to-use-list li::before { counter-increment: steps-counter; content: counter(steps-counter); position: absolute; left: 0; top: 0; width: 30px; height: 30px; background-color: var(--primary-color-start); color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 600; }

/* === FOOTER STYLE HAS BEEN FIXED === */
footer { 
    text-align: center; 
    padding: 20px; 
    margin-top: 10px; 
    color: var(--text-color-secondary); 
    font-size: 14px; 
}


/* Sticky Ads and Media Queries */
.sticky-ad-left, .sticky-ad-right { display: none; }
@media (min-width: 1300px) {
    .sticky-ad-left, .sticky-ad-right { display: block; position: fixed; top: 100px; width: 160px; height: 600px; z-index: 10; }
    .sticky-ad-left { left: 20px; }
    .sticky-ad-right { right: 20px; }
}
@media (max-width: 600px) {
    .details-grid { grid-template-columns: 1fr; }
    .ip-display-box h2 { font-size: 24px; }
}