* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Pretendard', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f7f9fc;
    color: #333;
    margin: 0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    border-radius: 5px;
}

h1 {
    margin-bottom: 1rem;
    color: #4285f4;
}

p {
    margin-bottom: 1.5rem;
}

button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-bottom: 1rem;
}

button:hover {
    background-color: #3367d6;
}

#map {
    height: 400px;
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 5px;
}

#status, #ipInfo {
    margin: 1rem 0;
    padding: 0.5rem;
    border-radius: 4px;
}

#status.loading {
    background-color: #ffeb3b;
    color: #333;
}

#status.success {
    background-color: #4caf50;
    color: white;
}

#status.error {
    background-color: #f44336;
    color: white;
}

#logInfo {
    margin-top: 1.5rem;
    text-align: left;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

#logData {
    background-color: #f8f8f8;
    padding: 0.5rem;
    border-radius: 4px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9rem;
}

/* 애드센스 광고 컨테이너 스타일 */
.ad-container {
    margin-top: 2rem;
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #eee;
}

/* Footer와 관리자 링크 스타일 */
.footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.9rem;
}

.admin-link {
    color: #777;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.admin-link:hover {
    color: #4285f4;
    text-decoration: underline;
}

.loading-screen {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: radial-gradient(1200px 600px at 10% -10%, #e8f1ff 0%, rgba(232,241,255,0) 60%),
                radial-gradient(1000px 500px at 110% 10%, #f3e8ff 0%, rgba(243,232,255,0) 60%),
                #f7f9fc;
    padding: 24px;
}

.loading-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: saturate(140%) blur(10px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 32px 28px;
    text-align: center;
    position: relative;
}

.loading-logo {
    font-size: 28px;
}

.loading-ring {
    width: 88px;
    height: 88px;
    margin: 18px auto 8px;
    border-radius: 50%;
    border: 6px solid rgba(66,133,244,0.15);
    border-top-color: #4285f4;
    animation: spin 1.1s linear infinite;
}

.loading-title {
    margin: 6px 0 4px;
    font-size: 22px;
    color: #1f2937;
    letter-spacing: 0.2px;
}

.loading-message {
    color: #4b5563;
    font-size: 15px;
}

.loading-progress {
    margin-top: 18px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(66,133,244,0.15), rgba(66,133,244,0.08));
    overflow: hidden;
}

.loading-progress .bar {
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #4285f4, #7aaafc);
    border-radius: 999px;
    animation: indeterminate 1.6s ease-in-out infinite;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@keyframes indeterminate {
    0% { transform: translateX(-60%); }
    50% { transform: translateX(120%); }
    100% { transform: translateX(200%); }
}

#status {
    font-size: 18px;
    color: #555;
    margin-top: 15px;
}

#status.loading {
    color: #3498db;
}

#status.error {
    color: #e74c3c;
}

#status.success {
    color: #2ecc71;
}

.hidden {
    display: none;
} 