@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --background-color: #111418;
    --text-color: #e0e0e0;
    --primary-color: #00A8FF;
    --border-color: #333;
    --border-color-hover: #555;
    --button-bg: #222;
    --button-hover-bg: #333;
    --ring-color: rgba(0, 168, 255, 0.05);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    position: relative;
}

.background-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.ring {
    border-radius: 50%;
    border: 1px solid var(--ring-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring.r1 {
    width: 600px;
    height: 600px;
}

.ring.r2 {
    width: 900px;
    height: 900px;
}

.ring.r3 {
    width: 1200px;
    height: 1200px;
}

#app {
    width: 100%;
    max-width: 700px;
    padding: 2rem;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: -webkit-linear-gradient(45deg, #eee, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 3rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

#drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 50%;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: transparent;
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#drop-zone.dragover {
    border-color: var(--primary-color);
    background-color: rgba(0, 168, 255, 0.05);
    box-shadow: 0 0 50px rgba(0, 168, 255, 0.2);
    transform: scale(1.05);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: none;
}

.main-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    color: #ccc;
    line-height: 1.5;
}

.sub-text {
    color: #777;
    margin: 0.5rem 0;
}

.browse-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.browse-link:hover {
    text-decoration: underline;
}

button {
    background-color: var(--button-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    margin-top: 0.5rem;
}

button:hover {
    background-color: var(--button-hover-bg);
    border-color: var(--border-color-hover);
}

#browse-btn, #browse-zip-btn {
    margin: 0.5rem;
}


#result-container {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: #0a0a0a;
    margin-top: 2rem;
}

#result-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.url-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    margin-bottom: 1.5rem;
}

#site-url {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#site-url:hover {
    text-decoration: underline;
}

#copy-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#copy-btn:hover {
    background-color: #222;
    color: #fff;
}

#copy-btn svg {
    width: 20px;
    height: 20px;
}

#deploy-another-btn {
    background-color: var(--primary-color);
    color: #000;
    border: none;
    font-weight: 700;
}

#deploy-another-btn:hover {
    opacity: 0.9;
    background-color: var(--primary-color);
    border: none;
}


.hidden {
    display: none !important;
}

/* Spinner Animation */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-left-color: var(--primary-color);
    animation: spin 1s ease infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Notification styles */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.notification {
    background-color: #333;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 4px solid var(--primary-color);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.error {
    border-left-color: #ff4d4d;
}