* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: black;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-card {
    background: black;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 40px 32px;
    max-width: 1100px;
    width: 100%;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #333, #666);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    border: 2px solid #fff;
}

.brand-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #00ff88;
}

.user-info {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.user-id {
    font-size: 18px;
    font-weight: bold;
    color: #00ff88;
    margin-bottom: 5px;
}

.user-url {
    font-size: 14px;
    color: #ccc;
    word-break: break-all;
}

.url-input-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 15px;
    text-align: center;
}

.url-label {
    display: block;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
    font-weight: bold;
}

.url-input {
    width: 100%;
    padding: 12px 15px;
    background-color: #111;
    border: 2px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    text-align: center;
}

.url-input:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.url-input::placeholder {
    color: #666;
}

.card-input {
    width: 100%;
    min-height: 120px;
    background-color: #111;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    resize: vertical;
    font-family: 'Courier New', monospace;
    text-align: center;
}

.card-input::placeholder {
    color: #666;
}

.button-row {
    display: flex;
    gap: 0;
    width: 100%;
    flex-direction: column;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    flex: 1;
    padding: 12px 20px;
    background-color: #333;
    border: 2px solid #555;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #555;
    border-color: #777;
}

.btn:active {
    transform: scale(0.98);
}

.status-section {
    width: 100%;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.status-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(145deg, #222, #1a1a1a);
    border-radius: 8px;
    border: 1px solid #333;
}

.status-item {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.status-item:hover {
    color: #00ff88;
    transform: scale(1.05);
}

.status-row {
    display: flex;
    flex-direction: column;
    padding: 12px 15px;
    margin: 8px 0;
    background: linear-gradient(145deg, #2a2a2a, #222);
    border-radius: 8px;
    border: 1px solid #444;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 1;
    max-height: 60px;
    overflow: hidden;
}

.status-row.expanded {
    max-height: none;
}

.status-row.hidden {
    opacity: 0;
    max-height: 0;
    padding: 0 15px;
    margin: 0;
    border: none;
}

.status-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.status-data {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 6px;
    border: 1px solid #333;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00ff88;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.status-row.expanded .status-data {
    opacity: 1;
    transform: translateY(0);
}

#dead-row .status-data {
    color: #ff6666;
}

#ccn-row .status-data {
    color: #ffcc00;
}

.status-row:hover {
    background: linear-gradient(145deg, #333, #2a2a2a);
    border-color: #666;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.status-row.hidden:hover {
    transform: none;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkbox {
    width: 20px;
    height: 20px;
    accent-color: #00ff88;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox:checked {
    transform: scale(1.1);
}

.status-label {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.status-row:hover .status-label {
    color: #00ff88;
}


#dead-row .status-label {
    color: #ff4444;
}

#dead-row:hover .status-label {
    color: #ff6666;
}

.click-btn {
    padding: 8px 16px;
    background: linear-gradient(145deg, #444, #333);
    border: 1px solid #666;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 80px;
}

.click-btn:hover {
    background: linear-gradient(145deg, #666, #555);
    border-color: #888;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.click-btn:active {
    transform: translateY(0);
}

.click-btn.show {
    background: linear-gradient(145deg, #00ff88, #00cc66);
    border-color: #00ff88;
    color: #000;
}

.click-btn.hide {
    background: linear-gradient(145deg, #ff4444, #cc3333);
    border-color: #ff4444;
    color: #fff;
}

.index-btn {
    padding: 12px 24px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.index-btn:hover {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border-color: #666;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.index-btn:active {
    transform: translateY(0);
}

.main-btn {
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    background: linear-gradient(90deg, #00ff88 0%, #00c3ff 100%);
    color: #18191a;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 14px 0;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
}

.main-btn:hover {
    background: linear-gradient(90deg, #00c3ff 0%, #00ff88 100%);
    color: #fff;
}

.section-title {
    color: #00ff88;
    font-size: 1.2rem;
    margin: 24px 0 8px 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-input,
.url-input,
.full-width {
    width: 100%;
    max-width: 500px;
    margin-bottom: 16px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.status-label {
    font-weight: bold;
    font-size: 1.1rem;
}

#live-row .status-label {
    color: #00ff88;
}

#ccn-row .status-label {
    color: #ffcc00;
}

#dead-row .status-label {
    color: #ff4444;
}

@media (max-width: 800px) {
    .main-card {
        max-width: 98vw;
        padding: 16px 4vw;
    }

    .url-input-container {
        width: 100%;
        max-width: 98vw;
    }

    .card-input,
    .url-input,
    .full-width {
        width: 100%;
        max-width: 98vw;
    }
}

@media (max-width: 480px) {
    .main-card {
        max-width: 100vw;
        padding: 8px 2vw;
    }

    .url-input-container {
        width: 100%;
        max-width: 100vw;
    }

    .card-input,
    .url-input,
    .full-width {
        width: 100%;
        max-width: 100vw;
        font-size: 1rem;
    }

    .main-btn {
        font-size: 1rem;
        padding: 12px 0;
        max-width: 100vw;
    }
}