main {
    animation: fadeIn 0.6s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

input, button {
    transition: all 0.3s ease;
}
input:focus, button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 8px rgba(0, 85, 255, 0.2);
}
h1, h2 {
    transition: color 0.3s ease;
}
h1:hover {
    color: #0055ff;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f9f9f9;
    color: #333;
    margin: 0;
}
header, footer {
    background: white;
    padding: 1em 2em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
nav a {
    margin-right: 15px;
    text-decoration: none;
    color: #666;
}
nav a:hover {
    color: #000;
}
main {
    max-width: 100%;
    margin: 2em auto;
    background: white;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}
.container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
h1, h2 {
    text-align: center;
    margin-bottom: 30px;
}
.form-control, .form-select {
    margin-bottom: 15px;
}
.ads-placeholder {
    background: #e9ecef;
    text-align: center;
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    color: #888;
    margin: 30px 0;
}
footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
    color: #777;
}
.social-share {
    text-align: center;
    margin-top: 20px;
}
.social-share a {
    margin: 0 10px;
    font-size: 1.2em;
}

.btn {
    background: #0055ff;
    color: white;
    padding: 0.6em 1.2em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.btn:hover {
    background: #0040cc;
}
.ad-banner {
    background: #e0e0e0;
    padding: 1em;
    margin: 2em 0;
    text-align: center;
}
.tooltip-container {
    position: relative;
    display: inline-block;
    margin-left: 5px;
    cursor: help;
}

.tooltip-icon {
    color: #6c757d;
    font-size: 0.8rem;
}

.tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

header {
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo span {
    margin-left: 10px;
    font-size: 20px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
}

@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
