/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Main Navigation */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e9ecef;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb-link {
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
}

.logo i {
    color: #f7931a;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-link:active,
.nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-radius: 0;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Coin Selector Section */
.coin-selector-section {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.coin-selector {
    text-align: center;
}

.coin-selector h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.coin-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

/* New Grid Layout for Coin Selector */
.coin-selector-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.main-coins {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.coin-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.coin-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.coin-card.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.coin-card .coin-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.coin-card .coin-icon i {
    color: #f7931a;
}

.coin-card.active .coin-icon i {
    color: #fff;
}

.coin-card[data-coin="eth"] .coin-icon i {
    color: #627eea;
}

.coin-card[data-coin="eth"].active .coin-icon i {
    color: #fff;
}

.coin-card .coin-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: inherit;
}

.coin-card .coin-symbol {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Dropdown Styles */
.more-coins-dropdown {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.dropdown-toggle {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
    min-width: 200px;
    justify-content: center;
}

.dropdown-toggle:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown-toggle.active i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.05);
}

.dropdown-item .dropdown-icon {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    display: inline-block;
}

.dropdown-item .dropdown-name {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.dropdown-item .dropdown-symbol {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    margin-left: auto;
}

.coin-option {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coin-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.coin-option.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.coin-option.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.coin-option.coming-soon:hover {
    transform: none;
    border-color: #e9ecef;
    box-shadow: none;
}

.coin-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.coin-option .coin-icon i {
    color: #f7931a;
}

.coin-option.active .coin-icon i {
    color: #fff;
}

.coin-option[data-coin="eth"] .coin-icon i {
    color: #627eea;
}

.coin-option[data-coin="eth"].active .coin-icon i {
    color: #fff;
}

.coin-option.coming-soon .coin-icon i {
    color: #6c757d;
}

.coin-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: inherit;
}

.coin-symbol {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.coin-status {
    margin-top: 15px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.current {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.coin-option:not(.active) .status-badge {
    background: #667eea;
    color: #fff;
}

.status-badge.soon {
    background: #6c757d;
    color: #fff;
}

/* Responsive Design for Coin Selector */
@media (max-width: 768px) {
    .coin-options {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .coin-option {
        min-width: 280px;
        max-width: 320px;
    }
    
    .coin-selector h3 {
        font-size: 1.5rem;
    }
    
    /* Responsive for new grid layout */
    .coin-selector-grid {
        gap: 20px;
        padding: 0 10px;
    }
    
    .main-coins {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .coin-card {
        padding: 15px;
    }
    
    .dropdown-toggle {
        min-width: 180px;
        padding: 12px 20px;
    }
    
    .dropdown-menu {
        min-width: 220px;
        left: 0;
        right: 0;
        transform: none;
        margin: 10px;
    }
    
    .dropdown-menu.show {
        transform: none;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h1 i {
    color: #f7931a;
    margin-right: 15px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.hero-features i {
    color: #4ade80;
}

/* Crypto Navigation */
.crypto-nav {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.crypto-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.crypto-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.crypto-nav-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.crypto-nav-btn i {
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background: #f7931a;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.4);
}

.cta-button:hover {
    background: #e8851f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.6);
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    background: white;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.calculator-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.calculator-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.results-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.results-card h3 {
    color: #2d3748;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 600;
}

.result-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
}

.result-value.positive {
    color: #48bb78;
}

.result-value.negative {
    color: #f56565;
}

.calculator-form h2 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
}

.current-price-display {
    background: linear-gradient(135deg, #f7931a 0%, #ff6b35 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.3);
}

.current-price-display i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: #fff;
}

.current-price-display span {
    font-size: 1.1rem;
    font-weight: 500;
}

.current-price-display strong {
    font-size: 1.3rem;
    font-weight: 700;
}

.current-price-display small {
    display: block;
    margin-top: 5px;
    opacity: 0.8;
    font-size: 0.85rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #4a5568;
}

.input-group input,
.input-group select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.price-update-btn {
    margin-top: 8px;
    background: #f7931a;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: center;
}

.price-update-btn:hover {
    background: #e8851f;
    transform: translateY(-1px);
}

.price-update-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
}

.price-update-btn i {
    font-size: 0.8rem;
}

.price-update-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.calculate-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Results Panel */
.results-panel {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.results {
    padding: 40px;
}

.results.hidden {
    display: none;
}

.results h3 {
    color: #2d3748;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.result-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: #f7fafc;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid #e2e8f0;
    transition: all 0.3s ease;
}

.result-card.profit {
    border-left-color: #48bb78;
}

.result-card.net {
    border-left-color: #4299e1;
}

.result-card.roi {
    border-left-color: #9f7aea;
}

.result-card.fees {
    border-left-color: #f56565;
}

.result-label {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 8px;
    font-weight: 500;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

.result-value.positive {
    color: #48bb78;
}

.result-value.negative {
    color: #f56565;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.action-btn {
    background: #4a5568;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: #2d3748;
    transform: translateY(-1px);
}

/* Tabs Section */
.tabs-section {
    padding: 80px 0;
    background: #f8fafc;
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: #2d3748;
    border-radius: 15px 15px 0 0;
}

.tab-btn {
    flex: 1;
    padding: 20px 30px;
    background: transparent;
    border: none;
    color: #a0aec0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.tab-btn.active {
    background: #f7931a;
    color: white;
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    padding: 40px;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chart-container {
    max-width: 100%;
    margin: 0 auto;
}

.history-container {
    max-width: 100%;
}

/* Investment Calculator Section */
.investment-calculator-section {
    padding: 80px 0;
    background: white;
}

.investment-calculator {
    max-width: 1200px;
    margin: 0 auto;
}

.investment-calculator h2 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-align: center;
}

.calculator-description {
    text-align: center;
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.investment-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
    background: #f8fafc;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.investment-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.investment-inputs .input-group {
    display: flex;
    flex-direction: column;
}

.investment-inputs .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    color: #4a5568;
    font-weight: 600;
    z-index: 1;
}

.percentage-symbol {
    position: absolute;
    right: 15px;
    color: #4a5568;
    font-size: 0.9rem;
    z-index: 1;
}

.investment-inputs input[type="number"] {
    padding: 15px 20px;
    padding-left: 35px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.investment-inputs input[type="number"]:focus {
    border-color: #f7931a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.1);
}

.investment-inputs select {
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.investment-inputs select:focus {
    border-color: #f7931a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.1);
}

.investment-result {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.result-display {
    text-align: center;
    background: linear-gradient(135deg, #f7931a 0%, #ff6b35 100%);
    color: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.25);
    transition: transform 0.3s ease;
}

.result-display:hover {
    transform: translateY(-2px);
}

.result-display h3 {
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.final-amount {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.profit-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.breakdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.breakdown-item .label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.breakdown-item .value {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.calculate-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.investment-chart-container {
    margin: 50px 0;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.investment-chart-container canvas {
    max-width: 100%;
    height: 400px !important;
}

.investment-chart-container h3 {
    color: #2d3748;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.investment-table-container {
    margin: 50px 0;
}

.investment-table-container h3 {
    color: #2d3748;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.investment-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.investment-table th {
    background: #2d3748;
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #4a5568;
}

.investment-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.investment-table tbody tr:hover {
    background: #f8fafc;
}

.investment-table tbody tr:last-child td {
    border-bottom: none;
}

/* Historical Data Section */
.historical-data-section {
    padding: 80px 0;
    background: #f8fafc;
}

.historical-data-section h2 {
    color: #2d3748;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-align: center;
}

.historical-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: white;
}

.historical-table th {
    background: #2d3748;
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #4a5568;
}

.historical-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.historical-table .positive {
    color: #48bb78;
    font-weight: 600;
}

.historical-table .negative {
    color: #f56565;
    font-weight: 600;
}

.historical-table tbody tr:hover {
    background: #f8fafc;
}

.historical-table tbody tr:last-child td {
    border-bottom: none;
}

.historical-note {
    margin-top: 20px;
    color: #718096;
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

/* History Section */
.history-section {
    padding: 80px 0;
    background: white;
}

.history-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2d3748;
    font-size: 2.2rem;
}

.history-list {
    max-width: 800px;
    margin: 0 auto;
}

.no-history {
    text-align: center;
    color: #718096;
    font-style: italic;
    padding: 40px;
}

.history-item {
    background: #f7fafc;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-details {
    flex: 1;
}

.history-date {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 5px;
}

.history-summary {
    font-weight: 600;
    color: #2d3748;
}

.history-result {
    font-size: 1.2rem;
    font-weight: 700;
}

.clear-btn {
    display: block;
    margin: 30px auto 0;
    background: #f56565;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: #e53e3e;
}

.clear-btn.hidden {
    display: none;
}

/* Exchange Section */
.exchange-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.exchange-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2d3748;
    font-size: 2.2rem;
}

.exchange-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.exchange-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.exchange-card:hover {
    transform: translateY(-5px);
}

.exchange-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.exchange-card h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.exchange-card p {
    color: #718096;
    margin-bottom: 10px;
}

.exchange-card .fee {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 20px;
}

.exchange-btn {
    background: #f7931a;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.exchange-btn:hover {
    background: #e8851f;
    transform: translateY(-1px);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2d3748;
    font-size: 2.2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f7fafc;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #edf2f7;
}

.faq-question h3 {
    color: #2d3748;
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: #718096;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #f7fafc;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section h3 i {
    color: #f7931a;
    margin-right: 10px;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f7931a;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #4a5568;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f7931a;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
    color: #a0aec0;
}

.footer-bottom a {
    color: #a0aec0;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #f7931a;
}

/* Blog Section */
/* OSK Page: FAQ gift card style */
.osk-page .faq-section .faq-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: none;
}

.osk-page .faq-section .faq-item {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.osk-page .faq-section .faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.osk-page .faq-section .faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ef4444, #f59e0b);
}

.osk-page .faq-section .faq-question i {
    color: #ef4444;
}
.blog-section {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    padding: 80px 0;
    text-align: center;
}

.blog-section h2 {
    color: #f7931a;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.blog-section p {
    color: #b0b0b0;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.blog-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.blog-link {
    display: block;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    max-width: 300px;
    min-width: 250px;
}

.blog-link:hover {
    transform: translateY(-5px);
    border-color: #f7931a;
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.2);
}

.blog-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.blog-link h3 {
    color: #f7931a;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.blog-link p {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .crypto-nav {
        flex-direction: column;
        gap: 10px;
        margin: 1.5rem 0;
    }
    
    .crypto-nav-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .calculator-card {
        padding: 25px;
    }
    
    .results-card {
        padding: 25px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .result-cards {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .tabs-section {
        padding: 60px 0;
    }
    
    .tabs-container {
        margin: 0 20px;
        border-radius: 10px;
    }
    
    .tab-navigation {
        flex-direction: column;
        border-radius: 10px 10px 0 0;
    }
    
    .tab-btn {
        padding: 15px 20px;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .tab-btn:last-child {
        border-bottom: none;
    }
    
    .tab-pane {
        padding: 20px;
    }
    
    .chart-container {
         padding: 0;
     }
     
     /* Blog Section Responsive */
     .blog-section {
         padding: 60px 0;
     }
     
     .blog-section h2 {
         font-size: 2rem;
     }
     
     .blog-links {
         flex-direction: column;
         align-items: center;
     }
     
     .blog-link {
         min-width: auto;
         width: 100%;
         max-width: 400px;
     }
     
     /* Investment Calculator Responsive */
    .investment-calculator-section {
        padding: 60px 0;
    }
    
    .investment-calculator h2 {
        font-size: 2rem;
    }
    
    .investment-form {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 15px;
    }
    
    .investment-inputs {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .investment-result {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .profit-breakdown {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .final-amount {
        font-size: 1.8rem;
    }
    
    .breakdown-item .value {
        font-size: 1.1rem;
    }
    
    .investment-chart-container {
        padding: 20px;
        margin: 30px 0;
    }
    
    .investment-table-container {
        margin: 30px 0;
    }
    
    .investment-table {
        font-size: 0.8rem;
    }
    
    .investment-table th,
    .investment-table td {
        padding: 8px 6px;
    }
    
    .historical-data-section {
        padding: 60px 0;
    }
    
    .historical-data-section h2 {
        font-size: 2rem;
    }
    
    .historical-table {
        font-size: 0.8rem;
    }
    
    .historical-table th,
    .historical-table td {
        padding: 8px 6px;
    }
    
    .exchange-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .calculator-form,
    .results {
        padding: 25px;
    }
    
    .chart-container {
        padding: 20px;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

.pulse {
    animation: pulse 2s infinite;
}

/* Friendly Links Section */
.friendly-links-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    margin-top: 40px;
}

.friendly-links {
    text-align: center;
}

.friendly-links h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.links-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.links-category {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.links-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.links-category h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.links-category h3 i {
    font-size: 1.2rem;
    color: #ffd700;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    margin-bottom: 12px;
}

.links-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.links-list a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.links-disclaimer {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #ffd700;
    max-width: 800px;
    margin: 0 auto;
}

.links-disclaimer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.links-disclaimer i {
    color: #ffd700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Responsive Design for Friendly Links */
@media (max-width: 768px) {
    .friendly-links-section {
        padding: 40px 0;
    }
    
    .friendly-links h2 {
        font-size: 2rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .links-category {
        padding: 20px;
    }
    
    .links-disclaimer {
        padding: 15px;
        margin: 0 10px;
    }
    
    .links-disclaimer p {
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}