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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ff8c00 0%, #4b0082 100%);
    min-height: 100vh;
    color: #333;
    zoom: 0.85;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.made-by {
    font-size: 0.6rem;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 10px;
}

.made-by a {
    color: #ffeb3b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.made-by a:hover {
    color: #fff;
    text-decoration: underline;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

main {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.input-section {
    margin-bottom: 40px;
}

.input-section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #3498db;
}


.results-section h2 {
    margin-bottom: 30px;
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.market-cap-section {
    margin-bottom: 40px;
}

.market-cap-section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 10px;
}

.slider-container {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #dee2e6;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.slider-container label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.2rem;
    text-align: center;
}

#marketCapSlider {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    appearance: none;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

#marketCapSlider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s;
}

#marketCapSlider::-webkit-slider-thumb:hover {
    background: #2980b9;
    transform: scale(1.1);
}

#marketCapSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-ticks {
    position: relative;
    height: 30px;
    margin-top: 5px;
}

.tick {
    position: absolute;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    text-align: center;
    padding: 2px 0;
}

.tick::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: #999;
    border-radius: 1px;
}

.result-display {
    text-align: center;
}

.total-value {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
}

.total-value h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.main-result {
    font-size: 3rem;
    font-weight: bold;
}

.breakdown-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.breakdown-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #dee2e6;
    transition: transform 0.2s, box-shadow 0.2s;
}

.breakdown-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.breakdown-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.breakdown-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #3498db;
}

.info-section {
    margin-top: 40px;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid #3498db;
}

.info-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-section p {
    margin-bottom: 8px;
    color: #555;
}

.disclaimer {
    font-style: italic;
    color: #e74c3c !important;
    margin-top: 15px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 25px;
    }

    .breakdown-cards {
        grid-template-columns: 1fr;
    }

    .main-result {
        font-size: 2.5rem;
    }

    .breakdown-value {
        font-size: 1.5rem;
    }
}