* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 420px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    padding: 20px 15px;
    padding-top: 60px;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 0 40px rgba(0, 0, 0, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.03);
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px 0;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    margin-bottom: 18px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.info {
    padding: 0 20px;
}

.info p {
    font-size: 13px;
    color: #666666;
    line-height: 2;
    margin-bottom: 6px;
}

.info p:first-child {
    color: #888888;
    font-size: 12px;
}

.info p:last-child {
    margin-bottom: 0;
    color: #555555;
    font-weight: 500;
}

.tabs {
    display: flex;
    background: linear-gradient(145deg, #f0f2f5 0%, #e8eaed 100%);
    border-radius: 16px;
    padding: 6px;
    margin-bottom: 25px;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.05),
        0 2px 8px rgba(0, 0, 0, 0.04);
}

.tab {
    flex: 1;
    padding: 14px 12px;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #666666;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.tab::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab:hover {
    color: #333333;
    background: rgba(255, 255, 255, 0.6);
}

.tab.active {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    color: #1a1a1a;
    font-weight: 600;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
}

.tab.active::before {
    width: 30px;
}

.content {
    margin-bottom: 25px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.btn {
    width: 100%;
    padding: 17px 20px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(145deg, #2d2d2d 0%, #3d3d3d 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-group {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.btn-group:hover {
    background: linear-gradient(145deg, #2d2d2d 0%, #3d3d3d 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-group:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.badge-full {
    background: linear-gradient(145deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.badge-available {
    background: linear-gradient(145deg, #27ae60 0%, #1e8449 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.btn:hover .badge {
    transform: scale(1.05);
}

.notice {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(145deg, #e8f5e9 0%, #dcedc8 100%);
    border-radius: 16px;
    margin-bottom: 35px;
    box-shadow: 
        0 4px 15px rgba(46, 134, 71, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.notice:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(46, 134, 71, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.notice-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(145deg, #27ae60 0%, #1e8449 100%);
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(46, 134, 71, 0.3);
}

.notice-text {
    font-size: 14px;
    color: #1e8449;
    font-weight: 600;
    line-height: 1.5;
}

.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.footer p {
    font-size: 12px;
    color: #999999;
    letter-spacing: 1px;
}

.footer p::before {
    content: '© ';
    margin-right: 2px;
}

@media (max-width: 320px) {
    .container {
        padding: 12px;
        padding-top: 45px;
        padding-bottom: 80px;
    }
    
    .header {
        padding: 20px 0;
        margin-bottom: 22px;
    }
    
    .logo {
        width: 75px;
        height: 75px;
        margin-bottom: 14px;
    }
    
    .title {
        font-size: 22px;
        margin-bottom: 14px;
        letter-spacing: 1px;
    }
    
    .info p {
        font-size: 12px;
        line-height: 1.8;
    }
    
    .tab {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .btn {
        padding: 15px 16px;
        font-size: 14px;
    }
    
    .badge {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .notice {
        padding: 15px 16px;
    }
    
    .notice-text {
        font-size: 13px;
    }
}

@media (min-width: 321px) and (max-width: 375px) {
    .container {
        padding: 14px;
        padding-top: 50px;
    }
    
    .logo {
        width: 85px;
        height: 85px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .btn {
        padding: 16px 18px;
        font-size: 15px;
    }
}

@media (min-width: 376px) and (max-width: 420px) {
    .container {
        padding: 16px;
        padding-top: 55px;
    }
}

@media (min-width: 421px) {
    .container {
        border-radius: 24px;
        margin: 20px auto;
        min-height: calc(100vh - 40px);
        overflow: hidden;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 480px;
        padding: 25px;
        padding-top: 70px;
    }
    
    .logo {
        width: 110px;
        height: 110px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .btn {
        padding: 18px 22px;
        font-size: 17px;
    }
}

@media (min-width: 1024px) {
    body {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
    }
    
    .container {
        max-width: 520px;
        min-height: auto;
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.1),
            0 2px 10px rgba(0, 0, 0, 0.05);
    }
}