.apk-front-wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.apk-front-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    color: white;
    margin-bottom: 30px;
}

.apk-front-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.apk-front-header p {
    font-size: 18px;
}

.apk-front-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1e293b;
}

.phone {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1e293b;
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.status-bar {
    height: 28px;
    background: #0f172a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    font-size: 10px;
}

.app-bar {
    background: #6366f1;
    color: white;
    padding: 10px;
    text-align: center;
}

.app-bar h3 {
    margin: 0;
    font-size: 14px;
    color: white;
}

.content-area {
    flex: 1;
    background: #f8fafc;
    position: relative;
}

.placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #94a3b8;
}

.placeholder p {
    margin-top: 10px;
    font-size: 13px;
}

.ad-bar {
    height: 40px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 2px solid #fbbf24;
}

.ad-bar small {
    color: #92400e;
    font-weight: 700;
    font-size: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.info-item {
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.info-item small {
    display: block;
    font-size: 10px;
    color: #64748b;
    margin-bottom: 3px;
}

.info-item strong {
    display: block;
    font-size: 11px;
    color: #1e293b;
    word-break: break-all;
}

label {
    display: block;
    margin: 12px 0 5px;
    font-weight: 600;
    font-size: 13px;
    color: #334155;
}

input[type="text"],
input[type="url"] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: #6366f1;
}

input[type="color"] {
    width: 100%;
    height: 40px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.check {
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 8px 0;
}

.check:hover {
    border-color: #6366f1;
}

.check input {
    width: 16px;
    height: 16px;
}

.check span {
    font-size: 13px;
    font-weight: 600;
}

.btn-build {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
}

.btn-build:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99,102,241,0.3);
}

#f-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
}

#f-status.success {
    background: #d1fae5;
    color: #065f46;
}

#f-status.error {
    background: #fee2e2;
    color: #991b1b;
}

#f-status a {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 15px;
    background: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

@media (max-width: 1000px) {
    .apk-front-container {
        grid-template-columns: 1fr;
    }
}