

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e91e63;
    --primary-dark: #c2185b;
    --secondary: #f06292;
    --accent: #f8bbd0;
    --text: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-alt: #fce4ec;
    --border: #f8bbd0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --hostinger-orange: #FAAE2C;
    --fiverr-green: #1dbf73;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-affiliate-bar {
    background: linear-gradient(95deg, #0a0c15 0%, #1e1a2f 100%);
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 2px solid #FAAE2C;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-affiliate-bar i {
    color: #FAAE2C;
}

.top-affiliate-bar a {
    color: #FAAE2C;
    text-decoration: none;
    font-weight: 800;
    border-bottom: 1px dotted #FAAE2C;
}

.top-affiliate-bar span {
    background: #FAAE2C20;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    color: #FAAE2C;
}

.main-header {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    padding: 50px 0 45px;
    text-align: center;
}

.main-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.main-header h1 i {
    color: #f8bbd0;
    margin-right: 10px;
}

.main-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.tool-with-banners {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin: -30px auto 50px;
    flex-wrap: wrap;
    position: relative;
}

.side-banner {
    flex: 0 0 auto;
    width: 260px;
    border-radius: 28px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 15px 25px -12px rgba(0,0,0,0.5);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.side-banner:hover {
    transform: translateY(-5px);
}

.hostinger-banner {
    background: linear-gradient(145deg, #0F172F, #0a0c1a);
    border: 1px solid rgba(250, 174, 44, 0.4);
}

.hostinger-banner .brand-name,
.hostinger-banner .price {
    color: #FAAE2C;
}

.hostinger-banner .btn-mini {
    background: #FAAE2C20;
    border: 1px solid #FAAE2C;
    color: #FAAE2C;
}

.hostinger-banner .btn-mini:hover {
    background: #FAAE2C;
    color: #0a0c15;
}

.fiverr-banner {
    background: linear-gradient(145deg, #1a2a1a, #0d1f0d);
    border: 1px solid rgba(29, 191, 115, 0.5);
}

.fiverr-banner .brand-name,
.fiverr-banner .price {
    color: #1dbf73;
}

.fiverr-banner .btn-mini {
    background: #1dbf7320;
    border: 1px solid #1dbf73;
    color: #1dbf73;
}

.fiverr-banner .btn-mini:hover {
    background: #1dbf73;
    color: white;
}

.side-banner .icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.side-banner .brand-name {
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.side-banner h4 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: white;
}

.side-banner .plan-item {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 8px 6px;
    margin: 8px 0;
}

.side-banner .website-count {
    color: white;
    font-weight: 500;
    font-size: 0.7rem;
    display: block;
}

.side-banner .price {
    font-size: 1rem;
    font-weight: 800;
    margin: 4px 0;
}

.side-banner .old-price {
    text-decoration: line-through;
    font-size: 0.6rem;
    color: #aaa;
}

.side-banner .btn-mini {
    display: inline-block;
    border-radius: 40px;
    padding: 5px 12px;
    font-size: 0.65rem;
    font-weight: bold;
    text-decoration: none;
    margin-top: 6px;
    transition: 0.2s;
}

.side-banner .divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 10px 0;
}

.feature-list {
    text-align: left;
    margin-top: 10px;
}

.feature-list li {
    list-style: none;
    font-size: 0.7rem;
    color: #ddd;
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calculator-card {
    flex: 1;
    min-width: 380px;
    background: var(--background);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    padding: 35px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
}

.calculator-header p {
    color: var(--text-light);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: end;
}

.input-group {
    margin-bottom: 5px;
}

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.9rem;
}

.input-group label i {
    color: var(--primary);
    width: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--primary);
    font-size: 0.9rem;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
}

.calculate-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin: 25px 0 20px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233,30,99,0.3);
}

.result-section {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    padding: 25px;
    border-radius: 24px;
    margin-top: 20px;
    border-left: 5px solid var(--primary);
    display: none;
}

.result-section.show {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-date {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 15px 0;
}

.result-info {
    text-align: center;
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 16px;
}

.days-count {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.guide-section {
    background: var(--background);
    border-radius: 28px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.guide-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary);
    border-left: 6px solid var(--primary);
    padding-left: 20px;
}

.guide-section h3 {
    font-size: 1.5rem;
    margin: 35px 0 20px;
    color: var(--primary-dark);
}

.guide-section h4 {
    font-size: 1.2rem;
    margin: 20px 0 12px;
    color: var(--secondary);
}

.guide-section p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.formula-box {
    background: var(--background-alt);
    padding: 20px;
    border-radius: 16px;
    margin: 25px 0;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    text-align: center;
    border: 1px solid var(--border);
}

.pro-tip {
    background: #fef9e3;
    border-left: 5px solid #f5a623;
    padding: 20px 25px;
    border-radius: 16px;
    margin: 25px 0;
}

.two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.checklist-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.main-footer {
    background: linear-gradient(135deg, #0a0c15 0%, #1a1a2e 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
}

.main-footer p {
    margin: 8px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1000px) {
    .side-banner {
        width: 100%;
        max-width: 340px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
        top: 0;
    }

    .tool-with-banners {
        flex-direction: column;
        align-items: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .calculator-card {
        padding: 20px;
        min-width: auto;
    }

    .guide-section {
        padding: 25px;
    }

    .result-date {
        font-size: 1.3rem;
    }

    .main-header h1 {
        font-size: 2rem;
    }

    .main-header .subtitle {
        font-size: 1rem;
    }
}
.top-banner-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px 10px;
    background: transparent;
}

.center-tool-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 30px;
    max-width: 100%;
    text-align: center;
}

.middle-content-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    text-align: center;
    min-height: 50px;
}