:root {
    --primary-color: #ff4757;
    --secondary-color: #2f3542;
    --accent-color: #747d8c;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --phone-shadow: 0 50px 100px rgba(0,0,0,0.2);
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-gradient);
}

.pc-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* Phone Container */
.phone-container {
    position: relative;
    width: 375px;
    height: 812px; /* iPhone X ratio */
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--phone-shadow);
    z-index: 10;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-container:hover {
    transform: translateY(-5px) scale(1.01);
}

/* Realistic Phone Frame Details */
.phone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.phone-speaker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #000;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 20;
}

/* Sidebar Information */
.sidebar {
    margin-left: 60px;
    max-width: 400px;
    color: var(--secondary-color);
}

.sidebar h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.sidebar p {
    font-size: 1.1rem;
    color: var(--accent-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.qr-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.qr-code-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

#qrcode img {
    width: 180px !important;
    height: 180px !important;
}

.scan-text {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.share-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.share-btn:hover {
    background: #ff5e6c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

.share-btn:active {
    transform: translateY(0);
}

.copy-success {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #2ecc71;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.copy-success.show {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
    .sidebar {
        display: none;
    }
}
