* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f9e8, #e6f7e1);
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

h1 {
    color: #2e7d32;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.2rem;
    color: #388e3c;
    margin-bottom: 25px;
}

.main-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.main-content h2 {
    color: #2e7d32;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c8e6c9;
}

.cta-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-section h2 {
    color: #1b5e20;
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
    color: #2e7d32;
}

.phone-input-container {
    max-width: 500px;
    margin: 0 auto 25px;
    position: relative;
}

.phone-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #2e7d32;
    border-radius: 50px;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s;
}

.phone-input:focus {
    border-color: #d4a017;
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.3);
}

.phone-input::placeholder {
    color: #888;
}

.predict-btn {
    background: #d4a017;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.predict-btn:hover {
    background: #c2910e;
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(212, 160, 23, 0.6);
}

.predict-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.predict-btn i {
    font-size: 1.5em;
}

.result-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
    display: none;
}

.result-section h3 {
    color: #2e7d32;
    margin-bottom: 20px;
    text-align: center;
}

.result-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.result-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-label {
    font-weight: bold;
    color: #2e7d32;
    margin-right: 10px;
    min-width: 100px;
    display: inline-block;
}

.fortune-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.fortune-good {
    background-color: #4CAF50;
    color: white;
}

.fortune-bad {
    background-color: #f44336;
    color: white;
}

.character-traits {
    padding-left: 20px;
}

.character-traits li {
    margin-bottom: 5px;
}

.detailed-analysis {
    white-space: pre-line;
    line-height: 1.8;
}

.life-advice {
    padding: 10px;
    background-color: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
    margin-top: 15px;
}

.loading {
    text-align: center;
    padding: 20px;
    display: none;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #d4a017;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    background: #ffebee;
    color: #f44336;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: none;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .predict-btn {
        font-size: 1.3rem;
        padding: 12px 30px;
    }

    .result-label {
        display: block;
        margin-bottom: 5px;
    }
}
.flink-section{
    width: 100%;
    height: auto;
    text-align: center;
    padding: 10px 10px;
    background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.flink-section ul{
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
}