* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: black;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    padding-right: 60px;
}

.main-content {
    text-align: left;
    margin-left: 40px;
}

/* Top GIF Section */
.gif-section {
    margin-left: 20px;
    text-align: center;
}

.top-gif {
    width: 40%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
}

/* Main Content */
.main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fad6ab;
    margin-bottom: 15px;
    line-height: 1.2;
    text-align: center;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fad6ab;
    margin-bottom: 30px;
    text-align: center;
}

/* Info Box */
.info-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    text-align: left;
}

.agents-line {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 500;
}

.analysis-line {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.accuracy-line {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
}

.accuracy-percentage {
    color: #ffa500;
    font-weight: bold;
    font-size: 1.2rem;
}

.description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

.viewer-count {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
}

.count-number {
    color: #ffa500;
    font-weight: bold;
}

/* Input Section */
.input-section {
    margin-bottom: 40px;
    text-align: left;
}

.stock-input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stock-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.start-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Footer */
.footer {
    margin-top: 40px;
    text-align: center;
}

.disclaimer {
    color: #fad6ab;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-link {
    color: #fad6ab;
    text-decoration: underline;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #2c3e50;
    margin: 0 auto;
    padding: 0;
    width: 85%;
    max-width: 450px;
    border-radius: 15px;
    max-height: none;
    overflow: visible;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

.loading-content {
    padding: 40px 30px;
}

.result-content {
    padding: 25px 20px;
}

/* Progress Section */
.progress-section {
    margin: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
}

.progress-title {
    color: #ffa500;
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: left;
}

.progress-item {
    margin-bottom: 25px;
    text-align: left;
}

.progress-label {
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 1rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.market-progress {
    background: #00bcd4;
    width: 0%;
}

.chart-progress {
    background: #00bcd4;
    width: 0%;
}

.news-progress {
    background: #00bcd4;
    width: 0%;
}

/* Result Modal Styles */
.result-box {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
    border: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto;
    width: 100%;
}

.result-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
}

.flag-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.result-content-text {
    line-height: 1.5;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.result-main-text {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

.result-claim-text {
    color: #ffffff;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.5;
}

.report-includes {
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
}

.includes-title {
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1rem;
}

.includes-list {
    color: #cccccc;
    margin-left: 0;
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.includes-list div {
    margin-bottom: 5px;
    padding-left: 0;
    text-align: center;
}

.update-notice {
    margin-bottom: 18px;
    width: 100%;
    text-align: center;
}

.update-text {
    color: #ffffff;
    line-height: 1.6;
    font-size: 1rem;
}

.orange-text {
    color: #ffa500;
    font-weight: bold;
}

.whatsapp-button {
    width: 100%;
    max-width: 400px;
    padding: 16px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    align-self: center;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Animations */
@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        padding-right: 40px;
    }

    .main-content {
        text-align: left;
        margin-left: 25px;
    }

    .main-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .subtitle {
        font-size: 1.3rem;
        text-align: center;
    }

    .modal-content {
        margin: 0 auto;
        width: 90%;
        max-width: 400px;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-height: none;
        overflow: visible;
    }

    .loading-content {
        padding: 30px 20px;
    }

    .result-content {
        padding: 25px 20px;
    }

    .robot-icon {
        width: 100px;
        height: 100px;
    }

    .robot-head {
        width: 70px;
        height: 70px;
    }

    .progress-title {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }

    .progress-label {
        font-size: 0.95rem;
    }

    .result-header {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        text-align: left;
        margin-left: 15px;
    }

    .main-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .subtitle {
        font-size: 1.1rem;
        text-align: center;
    }

    .container {
        padding: 10px;
        padding-right: 25px;
    }

    .info-box {
        padding: 20px;
    }

    .agents-line {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .analysis-line {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .accuracy-line {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .accuracy-percentage {
        font-size: 1.1rem;
    }

    .description {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .viewer-count {
        font-size: 0.9rem;
    }

    .modal-content {
        margin: 0 auto;
        width: 95%;
        max-width: 350px;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-height: none;
        overflow: visible;
    }

    .loading-content {
        padding: 25px 15px;
    }

    .result-content {
        padding: 18px 12px;
    }

    .result-box {
        min-height: auto;
        padding: 0;
        justify-content: center;
    }

    .result-content-text {
        padding: 0;
        margin-bottom: 12px;
    }

    .whatsapp-button {
        max-width: 280px;
        padding: 12px;
        font-size: 0.95rem;
        margin-top: 12px;
    }

    .result-content {
        padding: 20px 15px;
    }

    .progress-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .progress-label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .progress-bar {
        height: 10px;
    }

    .result-header {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .result-main-text {
        font-size: 0.95rem;
    }

    .result-claim-text {
        font-size: 0.95rem;
    }

    .includes-title {
        font-size: 0.95rem;
    }

    .update-text {
        font-size: 0.95rem;
    }

    .result-content {
        padding: 20px 15px;
    }

    .whatsapp-button {
        padding: 14px;
        font-size: 1rem;
        max-width: 320px;
    }

    .result-box {
        min-height: auto;
        padding: 0;
    }

    .result-content-text {
        padding: 0 5px;
        margin-bottom: 15px;
    }
}
