* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f172a;
    color: white;
    font-family: Arial, sans-serif;
    padding: 40px 20px;
    min-height: 100vh;
}

.container {
    max-width: 750px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 18px;
}

.calculator-card,
.results-card {
    background: #1e293b;
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.input-group {
    margin-bottom: 22px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-weight: bold;
}

input[type="number"] {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #334155;
    color: white;
    font-size: 16px;
}

input[type="number"]::placeholder {
    color: #94a3b8;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-group label {
    margin-bottom: 0;
}

#advancedToggle {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.hidden {
    display: none;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

button {
    width: 100%;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s;
}

#calculateBtn {
    background: #22c55e;
    color: white;

    padding: 18px;

    font-size: 18px;
    font-weight: bold;
}

#calculateBtn:hover {
    background: #16a34a;
}

#clearBtn {
    background: transparent;
    color: #94a3b8;

    border: 1px solid #475569;

    padding: 12px;

    font-size: 15px;
    font-weight: 600;
}

#clearBtn:hover {
    background: #334155;
    color: white;
}

#shareBtn {
    background: #3b82f6;
    color: white;

    margin-top: 25px;

    padding: 18px;

    font-size: 18px;
    font-weight: bold;
}

#shareBtn:hover {
    background: #2563eb;
}

.results-card h2 {
    text-align: center;
    margin-bottom: 25px;
}

.result-box {
    background: #334155;

    border-radius: 16px;

    padding: 18px;

    margin-bottom: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 18px;
}

.commentary-box {
    margin-top: 30px;

    background: #0f172a;

    border: 2px solid #334155;

    border-radius: 18px;

    padding: 24px;
}

.commentary-box h3 {
    color: #facc15;
    margin-bottom: 12px;
}

#commentary {
    color: #e2e8f0;
    line-height: 1.7;
    font-size: 17px;
}

@media (max-width: 768px) {

    h1 {
        font-size: 32px;
    }

    .calculator-card,
    .results-card {
        padding: 22px;
    }

    .result-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}
.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    width: 120px;
    max-width: 100%;
    margin-bottom: 20px;
}
.affiliate-section {
    margin-top: 35px;
}

.affiliate-card {
    background: #0f172a;

    border: 2px solid #334155;

    border-radius: 18px;

    padding: 24px;

    margin-bottom: 20px;

    text-align: center;
}

.affiliate-card h3 {
    margin-bottom: 12px;
    color: #22c55e;
}

.affiliate-card p {
    color: #cbd5e1;

    line-height: 1.6;

    margin-bottom: 18px;
}

.affiliate-btn {
    display: inline-block;

    background: #22c55e;

    color: white;

    text-decoration: none;

    padding: 14px 24px;

    border-radius: 14px;

    font-weight: bold;

    transition: 0.3s;
}

.affiliate-btn:hover {
    background: #16a34a;
}
.toolhub-section {
    text-align: center;
    margin-top: 30px;
}

.toolhub-btn {
    display: inline-block;

    background: #ff3b3b;
    color: white;

    text-decoration: none;

    padding: 16px 34px;

    border-radius: 16px;

    font-weight: bold;
    font-size: 18px;

    transition: 0.3s;
}

.toolhub-btn:hover {
    background: #e02828;
}