/* Core Reset & Base Configuration */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* Theme Variables */
:root {
    --primary-shade: #0a0e2e;
    --secondary-shade: #1a237e;
    --cyan-tone: #00bcd4;
    --dark-cyan: #0097a7;
    --pink-accent: #ff4081;
    --light-tone: #eef4ff;
    --dark-text: #333;
    --light-text: #f5f5f5;
    --card-overlay: rgba(255, 255, 255, 0.08);
    --border-overlay: rgba(255, 255, 255, 0.15);
}

/* Base Layout */
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.7;
    color: var(--light-text);
    background: linear-gradient(135deg, var(--primary-shade) 0%, var(--secondary-shade) 100%);
    margin: 0;
    padding: 0;
}

/* Main Container */
.main-wrapper {
    position: relative;
    max-width: 600px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    background: rgba(10, 14, 46, 0.85);
    margin: 0 auto;
}

/* Tech Background Layer */
.tech-layer {
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.line-grid {
    position: absolute;
    background: rgba(0, 188, 212, 0.05);
}

.horizontal {
    animation: moveLine 30s linear infinite;
    top: 0;
    height: 1px;
    width: 100%;
}

.vertical {
    animation: moveLine 40s linear infinite reverse;
    left: 0;
    width: 1px;
    height: 100%;
}

@keyframes moveLine {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100%) translateX(-100%); }
}

.float-shape {
    filter: blur(20px);
    opacity: 0.2;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cyan-tone) 0%, transparent 70%);
    position: absolute;
}

/* Header Area */
header {
    position: relative;
    text-align: center;
    border-bottom: 1px solid var(--border-overlay);
    background: rgba(0, 0, 0, 0.25);
    padding: 25px 20px 20px;
}

.brand-logo {
    text-shadow: 0 0 15px rgba(0, 188, 212, 0.5);
    letter-spacing: 1.5px;
    color: #fff;
    font-weight: 800;
    font-size: 30px;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    justify-content: center;
    align-items: center;
    display: flex;
}

.brand-logo i {
    filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.7));
    font-size: 34px;
    margin-right: 12px;
    color: var(--cyan-tone);
}

.brand-subtitle {
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
    color: var(--cyan-tone);
    margin: 0 auto 12px;
    max-width: 400px;
    font-weight: 500;
    font-size: 17px;
}

/* Member Activity Bar */
.member-bar {
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
    overflow: hidden;
    height: 45px;
    border-bottom: 1px solid rgba(0, 188, 212, 0.3);
    background: rgba(0, 188, 212, 0.15);
    padding: 12px;
    text-align: center;
}

.scroll-content {
    transition: transform 0.5s ease;
    width: 100%;
    left: 0;
    position: absolute;
}

.scroll-element {
    gap: 8px;
    font-size: 15px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.stat-badge {
    animation: countPulse 2s infinite;
    font-weight: 600;
    border-radius: 20px;
    padding: 3px 10px;
    color: white;
    background: var(--pink-accent);
}

@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Timer Widget */
.timer-box {
    border: 1px solid rgba(255, 64, 129, 0.3);
    border-radius: 15px;
    background: rgba(255, 64, 129, 0.15);
    padding: 12px;
    margin: 15px auto;
    max-width: 380px;
}

.timer-heading {
    text-shadow: 0 0 10px rgba(255, 64, 129, 0.5);
    font-weight: 700;
    text-align: center;
    color: #ff6b9c;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 15px;
}

.timer-display {
    gap: 10px;
    justify-content: center;
    display: flex;
}

.timer-unit {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-width: 55px;
    border-radius: 10px;
    background: var(--primary-shade);
    padding: 8px;
}

.unit-value {
    color: var(--pink-accent);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
}

.unit-text {
    opacity: 0.9;
    text-transform: uppercase;
    font-size: 11px;
}

/* Form Input Area */
.form-area {
    text-align: center;
    padding: 0 20px 20px;
}

.area-title {
    line-height: 1.3;
    text-align: center;
    margin-bottom: 20px;
    font-size: 26px;
    font-family: 'Montserrat', sans-serif;
    color: var(--light-text);
}

.area-title span {
    background: linear-gradient(to right, var(--cyan-tone), var(--pink-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--cyan-tone);
    display: inline-block;
}

.input-group {
    position: relative;
    margin: 0 auto 15px;
    max-width: 450px;
}

.stock-input {
    transition: all 0.3s;
    outline: none;
    font-weight: 500;
    font-size: 17px;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--cyan-tone);
    border-radius: 15px;
    padding: 18px;
    width: 100%;
    text-align: center;
}

.stock-input:focus {
    box-shadow: 0 0 25px rgba(255, 64, 129, 0.4);
    border-color: var(--pink-accent);
    background: rgba(0, 0, 0, 0.5);
}

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

.input-error {
    display: none;
    margin-top: 6px;
    font-size: 14px;
    color: var(--pink-accent);
}

/* Hot Stocks Info */
.hot-stocks {
    line-height: 1.5;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 450px;
    margin: 15px auto 10px;
}

.hot-stocks span {
    color: var(--cyan-tone);
    font-weight: 600;
}

/* Contact Action Button */
.contact-btn {
    white-space: nowrap;
    animation: pulse 2s infinite;
    cursor: pointer;
    border: none;
    margin-top: 15px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    letter-spacing: 0.5px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 50px;
    padding: 14px 30px;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    justify-content: center;
    align-items: center;
    display: inline-flex;
    transition: all 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.contact-btn:hover {
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    transform: translateY(-3px);
}

.contact-btn i {
    font-size: 22px;
    margin-right: 10px;
}

/* Media Player Section */
.media-area {
    margin: 0 auto;
    max-width: 500px;
    padding: 0 20px 25px;
}

.media-box {
    border: 2px solid var(--cyan-tone);
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border-radius: 15px;
    width: 100%;
    position: relative;
}

.player-wrap {
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    width: 100%;
}

.player-wrap video {
    object-fit: cover;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

/* Feature Scroller */
.feature-slider {
    justify-content: center;
    align-items: center;
    display: flex;
    border: 1px solid var(--border-overlay);
    height: 40px;
    position: relative;
    overflow: hidden;
    max-width: 450px;
    margin: 0 auto 20px;
    padding: 12px 20px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
}

.slide-track {
    width: max-content;
    left: 0;
    position: absolute;
    animation: tickerScroll 20s linear infinite;
    display: flex;
}

.feature-block {
    white-space: nowrap;
    margin: 0 30px;
    align-items: center;
    display: flex;
}

.feature-block i {
    font-size: 18px;
    margin-right: 10px;
    color: var(--cyan-tone);
}

.feature-block span {
    font-weight: 500;
    font-size: 15px;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reviews Section */
.reviews-area {
    border-top: 1px solid var(--border-overlay);
    border-bottom: 1px solid var(--border-overlay);
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 20px;
}

.review-box {
    overflow: hidden;
    height: 230px;
    position: relative;
    margin: 0 auto;
    max-width: 450px;
}

.review-item {
    transform: translateY(15px);
    opacity: 0;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform 0.5s ease, opacity 0.5s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-overlay);
    background: var(--card-overlay);
}

.review-item.active {
    transform: translateY(0);
    opacity: 1;
}

.review-head {
    margin-bottom: 15px;
    align-items: center;
    display: flex;
}

.avatar-img {
    box-shadow: 0 0 8px rgba(0, 188, 212, 0.3);
    border: 2px solid var(--cyan-tone);
    object-fit: cover;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    margin-right: 12px;
}

.profile-data {
    flex: 1;
}

.member-tag {
    font-size: 17px;
    font-weight: 700;
    color: white;
}

.platform-tag {
    align-items: center;
    display: flex;
    opacity: 0.9;
    font-size: 13px;
}

.platform-tag i {
    color: var(--cyan-tone);
    margin-right: 4px;
}

.review-text {
    position: relative;
    border-radius: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    font-style: italic;
    line-height: 1.6;
    font-size: 15px;
}

.review-text:before {
    font-family: serif;
    color: rgba(0, 188, 212, 0.2);
    font-size: 70px;
    left: 8px;
    top: -20px;
    position: absolute;
    content: "";
}

.nav-dots {
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
    display: flex;
}

.dot-item {
    transition: all 0.3s;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    height: 12px;
    width: 12px;
}

.dot-item.active {
    box-shadow: 0 0 8px rgba(0, 188, 212, 0.5);
    transform: scale(1.2);
    background: var(--cyan-tone);
}

/* Footer Area */
footer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 25px 20px;
}

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

.footer-links a {
    transition: color 0.3s;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.footer-links a:hover {
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
    color: var(--cyan-tone);
}

.disclaimer {
    border-top: 1px solid rgba(255, 64, 129, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    padding: 15px;
    background: rgba(255, 64, 129, 0.1);
    text-align: center;
}

/* Modal Overlay */
.modal-layer {
    backdrop-filter: blur(15px);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
    align-items: center;
    justify-content: center;
    display: none;
}

.modal-box {
    animation: popIn 0.5s ease-out;
    position: relative;
    border: 2px solid var(--cyan-tone);
    box-shadow: 0 0 60px rgba(0, 188, 212, 0.5);
    width: 400px;
    max-width: 90%;
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0d47a1 0%, #1a237e 100%);
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.ai-analysis-icon {
    filter: drop-shadow(0 0 15px rgba(0, 188, 212, 0.5));
    animation: pulse 2s infinite;
    margin-bottom: 20px;
    color: var(--cyan-tone);
    font-size: 60px;
}

.modal-heading {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    color: white;
    margin-bottom: 18px;
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
}

.modal-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 18px;
}

.stock-tag {
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
    font-size: 18px;
    border: 2px solid var(--cyan-tone);
    color: var(--cyan-tone);
    margin: 12px 0 20px;
    font-weight: 700;
    border-radius: 30px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.modal-action {
    white-space: nowrap;
    position: relative;
    z-index: 10;
    animation: pulseBig 1.5s infinite;
    cursor: pointer;
    border: none;
    margin-top: 25px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    font-size: 17px;
    font-weight: 700;
    border-radius: 50px;
    padding: 14px 28px;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    display: inline-block;
    transition: all 0.3s ease;
}

@keyframes pulseBig {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 25px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.modal-action:hover {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
    transform: scale(1.05);
}

.modal-action i {
    font-size: 22px;
    margin-right: 10px;
}

.close-btn {
    transition: color 0.3s;
    cursor: pointer;
    font-size: 26px;
    color: rgba(255, 255, 255, 0.8);
    right: 15px;
    top: 15px;
    position: absolute;
}

.close-btn:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    color: white;
}

/* Progress Gauges */
.gauge-wrapper {
    margin: 15px 0;
    width: 100%;
}

.gauge-row {
    text-align: left;
    margin-bottom: 20px;
}

.gauge-title {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin-bottom: 10px;
    justify-content: space-between;
    display: flex;
}

.gauge-track {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    height: 10px;
}

.gauge-fill {
    transition: width 0.8s ease;
    background: linear-gradient(90deg, var(--cyan-tone), var(--pink-accent));
    border-radius: 6px;
    width: 0%;
    height: 100%;
}

.gauge-value {
    font-weight: 600;
    line-height: 10px;
    color: white;
    font-size: 13px;
    top: 0;
    right: 10px;
    position: absolute;
}

/* Responsive Design */
@media (max-width: 480px) {
    .area-title {
        font-size: 22px;
    }

    .brand-logo {
        font-size: 26px;
    }

    .brand-subtitle {
        font-size: 15px;
    }

    .contact-btn {
        font-size: 15px;
        padding: 12px 20px;
    }

    .contact-btn i {
        margin-right: 8px;
        font-size: 20px;
    }

    .review-box {
        height: 250px;
    }

    .modal-box {
        width: 95%;
        padding: 20px;
    }

    .modal-heading {
        font-size: 26px;
    }

    .modal-desc {
        font-size: 16px;
    }

    .modal-action {
        font-size: 15px;
        padding: 12px 20px;
    }

    .modal-action i {
        margin-right: 8px;
        font-size: 20px;
    }
}
