body {
    font-family: 'Albert Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #2D3139;
}

.iframe-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    overflow: hidden;
}
#preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.control-panel {
    backdrop-filter: blur(10px);
    background: #2363eb;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: auto;
    min-width: 200px;
    max-width: 800px;
}
.control-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}
.control-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.control-button i {
    font-size: 1.5rem;
}
.buy-button {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.buy-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.buy-button i {
    font-size: 1.5rem;
}

@media (max-width: 640px) {
    .control-panel {
        max-width: 95vw;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.75rem 1rem;
    }
    .control-panel::-webkit-scrollbar {
        display: none;
    }
    .control-button {
        width: 32px;
        height: 32px;
    }
    .control-button i {
        font-size: 1.25rem;
    }
    .buy-button {
        padding: 6px 12px;
        font-size: 0.875rem;
    }
    .buy-button i {
        font-size: 1.25rem;
    }
    .space-x-4 > * + * {
        margin-left: 0.75rem;
    }
}

/* Modern Tema Paneli Stilleri */
.theme-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 1000;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-panel::-webkit-scrollbar {
    width: 6px;
}

.theme-panel::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}

.theme-panel::-webkit-scrollbar-thumb {
    background: #2363eb;
    border-radius: 10px;
}

.theme-panel.active {
    right: 0;
}

.theme-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #2363eb, #1a4fc0);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.theme-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.theme-close {
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.theme-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.theme-list {
    padding: 25px;
    display: grid;
    gap: 25px;
}

.theme-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.theme-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(35,99,235,0.15);
}

.theme-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.theme-item:hover img {
    transform: scale(1.03);
}

.theme-info {
    padding: 20px;
    background: white;
    position: relative;
}

.theme-info h3 {
    margin: 0;
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pro-badge {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255,71,87,0.2);
}

/* Modern Tema Açma Butonu */
.theme-toggle {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #2363eb, #1a4fc0);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(35,99,235,0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.theme-toggle i {
    font-size: 20px;
}

.theme-toggle span {
    font-weight: 500;
    white-space: nowrap;
}

.theme-toggle:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 25px rgba(35,99,235,0.4);
}

.header {
    background: #ffffff;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    border-bottom: 1px solid #eaeaea;
}

.header-logo {
    height: 32px;
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 100%;
    width: auto;
    filter: brightness(0) invert(0);
}

.header-title {
    color: #2363eb;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Albert Sans', sans-serif;
}