* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 550px;
    text-align: center;
    margin: 1.5rem 0;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

h1 i {
    color: #7c3aed;
}

.input-group {
    margin-bottom: 2rem;
    text-align: left;
}

label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

label i {
    color: #6b7280;
}

input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #7c3aed;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

input::placeholder {
    color: #9ca3af;
}

.result {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 1rem;
    color: #1f2937;
    line-height: 1.6;
    min-height: 60px;
    opacity: 1;
    transition: opacity 0.4s ease;
	font-weight:600;
}

.result.hidden {
    opacity: 0;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.share-btn:hover {
    background: #20b558;
    transform: translateY(-2px);
}

.share-btn:active {
    transform: translateY(0);
}

/* Ad Styling */
.ad {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.ad-placeholder {
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Desktop Ad Sizes */
@media (min-width: 769px) {
    .ad-placeholder {
        width: 728px;
        height: 90px;
    }
}

/* Mobile Ad Sizes */
@media (max-width: 768px) {
    .ad-placeholder {
        width: 320px;
        height: 100px;
    }

    .card {
        padding: 1.5rem;
        margin: 1rem 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    input {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .share-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .result {
        font-size: 0.85rem;
    }
}