html {
    scroll-behavior: smooth;
}

body {
    background-color: #040D12;
    font-family: "Inter", sans-serif;
}

.box {
    padding: 0.25rem;
    margin: 0.75rem 0.10rem;
    display: inline-block;
    background-color: #112E81;
    color: white;
    border-radius: 5px;
}

.box p {
    margin: 0;
    font-size: 18px;
}

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

h1 {
    flex: 1;
    text-align: center;
    margin: 0;
    color: white;
}

#prices {
    flex: 1;
    text-align: center;
    margin: 0;
}

#pricesDiv {
    /* display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px; */
    position: relative;
    width: auto;
    height: 50px;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
    /*background-color: gray;*/
    border-radius: 5px;
}

#displayMode {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
    width: 50px;
    flex-shrink: 0;
    cursor: pointer;
    transition: filter 0.2s ease;
}

#displayMode:hover {
    filter: brightness(0.7);
}

/* === CHART CONTAINER === */
.chart-container {
    position: relative;
    width: 100%;
    max-height: 75vh;
    height: auto;
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.chart-container canvas {
    max-width: 100%;
    max-height: 75vh;
    width: 100%;
    height: auto !important;
    display: block;
}

/* === AÇIKLAMA PARAGRAF === */
#chartDescription {
    margin: 40px auto;
    padding: 16px;
    max-width: 90%;
    background: #f5f5f5;
    border-left: 4px solid #f7931a;
    border-radius: 4px;
    box-sizing: border-box;
}

#chartDescription p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* === GECKO LOGO === */
#gecko {
    position: fixed;
    bottom: 12px;
    right: 12px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 6px;
    /* background-color: rgba(28, 28, 28, 0.9); */
    padding: 8px;
    border-radius: 8px;
}

#gecko p {
    color: white;
    font-size: 30px;
    margin: 0;
    line-height: 1;
    font-weight: 600;
}

#gecko img {
    height: 60px;
    width: auto;
    display: block;
}

/* === TABLET (768px) === */
@media (max-width: 768px) {
    #displayMode {
        height: 40px;
        width: 40px;
    }

    .chart-container {
        max-height: 60vh;
        padding: 0 15px;
        margin: 20px auto;
    }

    .chart-container canvas {
        max-height: 60vh;
    }

    #chartDescription {
        margin: 20px auto;
        padding: 14px;
        max-width: 95%;
        font-size: 13px;
    }

    #chartDescription p {
        font-size: 13px;
    }

    #gecko {
        bottom: 10px;
        right: 10px;
        flex-direction: column;
        gap: 4px;
        padding: 6px;
    }

    #gecko h2 {
        font-size: 11px;
    }

    #gecko img {
        height: 50px;
    }
}

/* === MOBIL (480px ve altı) === */
@media (max-width: 480px) {
    #displayMode {
        height: 36px;
        width: 36px;
    }

    #pricesDiv {
        gap: 10px;
    }

    .chart-container {
        max-height: 55vh;
        padding: 0 10px;
        margin: 15px auto;
    }

    .chart-container canvas {
        max-height: 55vh;
    }

    #chartDescription {
        margin: 15px auto;
        padding: 12px;
        max-width: 100%;
        font-size: 12px;
        
    }

    #chartDescription p {
        font-size: 12px;
        line-height: 1.5;
    }

    #gecko {
        bottom: 8px;
        right: 8px;
        gap: 3px;
        padding: 5px;
    }

    #gecko h2 {
        font-size: 10px;
    }

    #gecko img {
        height: 45px;
    }
}

/* Footer */
/* footer.css */

.footer-wrapper {
    background-color: #1a1a2e;
    color: #e0e0e0;
    padding: 40px 20px 20px;
    margin-top: 60px;
    border-top: 1px solid #444;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

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

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

.footer-section a {
    color: #64b5f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #90caf9;
    text-decoration: underline;
}

/* Social Media Links */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    display: inline-block;
    padding: 8px 12px;
    background-color: rgba(100, 181, 246, 0.1);
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: rgba(100, 181, 246, 0.2);
}

/* Bottom Section */
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content p {
    margin: 0;
}

.footer-bottom-content a {
    color: #64b5f6;
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-wrapper {
        padding: 30px 15px 15px;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 14px;
    }

    .footer-section p {
        font-size: 13px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-content p {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer-wrapper {
        padding: 20px 10px;
    }

    .footer-section h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer-section p {
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-social {
        gap: 8px;
    }

    .footer-social a {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Modal */

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: #1a1a2e;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #444;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
}

.modal-content h2 {
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 2px solid #64b5f6;
    padding-bottom: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #fff;
}

.modal-content a {
    color: #64b5f6;
    text-decoration: none;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 20px;
    }

    .modal-content h2 {
        font-size: 18px;
    }
}

/*  */

/* footer.css - var olan kodu tut + bunu ekle */

.legal-section {
    background-color: #1a1a2e;
    color: #e0e0e0;
    padding: 60px 20px;
    border-top: 1px solid #444;
    scroll-margin-top: 80px;
    /* Smooth scroll için */
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
}

.legal-content h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 25px;
    border-bottom: 2px solid #64b5f6;
    padding-bottom: 15px;
}

.legal-content h3 {
    color: #64b5f6;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
}

.legal-content a {
    color: #64b5f6;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-content a:hover {
    color: #90caf9;
    text-decoration: underline;
}

.faq-item {
    background-color: rgba(100, 181, 246, 0.05);
    padding: 20px;
    border-left: 3px solid #64b5f6;
    margin-bottom: 15px;
    border-radius: 4px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 15px;
    background-color: rgba(100, 181, 246, 0.1);
    border-radius: 4px;
    font-size: 14px;
}

.back-link:hover {
    background-color: rgba(100, 181, 246, 0.2);
}

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

    .legal-content h2 {
        font-size: 20px;
    }

    .legal-content h3 {
        font-size: 14px;
    }

    .legal-content p {
        font-size: 14px;
    }
}