* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0d1117;
    color: #c9d1d9;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Grid tech background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 194, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 194, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

/* Animated gradient overlay */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 194, 255, 0.08) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid rgba(0, 194, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 30px rgba(0, 194, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.logo-container {
    margin-bottom: 30px;
}

.logo-container img {
    max-width: 240px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.3));
}

.title {
    font-size: 36px;
    font-weight: 700;
    color: #00c2ff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(0, 194, 255, 0.5);
}

.subtitle {
    font-size: 16px;
    color: #8b949e;
    margin-bottom: 25px;
    line-height: 1.6;
}

.domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 194, 255, 0.1);
    border: 1px solid rgba(0, 194, 255, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00c2ff;
    font-weight: 600;
}

.domain-badge::before {
    content: '🌐';
    font-size: 18px;
}

/* DNS Grid */
.dns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.dns-card {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.9) 0%, rgba(13, 17, 23, 0.9) 100%);
    border: 1px solid rgba(0, 194, 255, 0.2);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dns-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00c2ff, #0066ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dns-card:hover {
    transform: translateY(-5px);
    border-color: #00c2ff;
    box-shadow: 
        0 8px 30px rgba(0, 194, 255, 0.2),
        0 0 50px rgba(0, 194, 255, 0.1);
}

.dns-card:hover::before {
    opacity: 1;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 194, 255, 0.1);
}

.flag-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 194, 255, 0.05);
    border: 1px solid rgba(0, 194, 255, 0.2);
    border-radius: 10px;
    flex-shrink: 0;
}

.flag-container img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 194, 255, 0.3));
}

.card-title {
    flex: 1;
}

.server-label {
    font-size: 11px;
    font-weight: 700;
    color: #00c2ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.location-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
}

/* Status Indicator */
.status-indicator {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 15px #00ff88;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Card Body */
.card-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.label {
    font-size: 11px;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value {
    font-size: 15px;
    font-weight: 600;
    color: #c9d1d9;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: rgba(0, 194, 255, 0.05);
    padding: 12px 120px 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 194, 255, 0.15);
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.value:hover {
    background: rgba(0, 194, 255, 0.1);
    border-color: rgba(0, 194, 255, 0.3);
    color: #ffffff;
}

.value.ip-value {
    color: #00c2ff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Copy button */
.copy-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 194, 255, 0.1);
    border: 1px solid rgba(0, 194, 255, 0.3);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: #00c2ff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.value:hover .copy-button {
    opacity: 1;
    pointer-events: all;
}

.copy-button:hover {
    background: rgba(0, 194, 255, 0.2);
    border-color: #00c2ff;
}

.copy-button:active {
    transform: translateY(-50%) scale(0.95);
}

.copy-button.copied {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.5);
    color: #00ff88;
}

.copy-feedback {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 255, 136, 0.95);
    color: #0d1117;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.4);
    z-index: 10;
}

.copy-feedback.show {
    opacity: 1;
    right: -110px;
}

.copy-feedback::before {
    content: '✓';
    margin-right: 6px;
}

/* Footer Section */
.footer {
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid rgba(0, 194, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 30px rgba(0, 194, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.status-section {
    margin-bottom: 30px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.footer-text {
    font-size: 14px;
    color: #8b949e;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Contact Section */
.contact-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 194, 255, 0.1);
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 194, 255, 0.05);
    border: 1px solid rgba(0, 194, 255, 0.2);
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #00c2ff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: rgba(0, 194, 255, 0.1);
    border-color: #00c2ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 194, 255, 0.3);
}

.contact-email::before {
    content: '✉️';
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dns-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 30px 15px;
        margin-bottom: 40px;
    }

    .title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 14px;
    }

    .logo-container img {
        max-width: 200px;
    }

    .dns-grid {
        gap: 20px;
    }

    .dns-card {
        padding: 24px;
    }

    .card-header {
        gap: 14px;
    }

    .location-name {
        font-size: 18px;
    }

    .value {
        font-size: 14px;
        padding: 10px 100px 10px 14px;
    }

    .copy-feedback {
        right: -90px;
    }

    .copy-feedback.show {
        right: -100px;
    }

    .footer {
        padding: 30px 20px;
    }

    .contact-email {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .header {
        padding: 25px 15px;
    }

    .title {
        font-size: 24px;
    }

    .logo-container img {
        max-width: 180px;
    }

    .dns-card {
        padding: 20px;
    }

    .flag-container {
        width: 40px;
        height: 40px;
    }

    .flag-container img {
        width: 28px;
        height: 28px;
    }

    .location-name {
        font-size: 16px;
    }

    .value {
        font-size: 13px;
        padding: 10px 90px 10px 12px;
    }

    .copy-feedback {
        font-size: 11px;
        padding: 6px 10px;
        right: -80px;
    }

    .copy-feedback.show {
        right: -88px;
    }
}