/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --accent-color: #00f2ff;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Background Glow Effect */
body::before {
    content: "";
    position: fixed;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

/* --- HEADER & NAVIGATION --- */
header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #333;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -2px;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-block;
}

nav { margin-top: 1rem; }

nav a {
    color: var(--text-dim);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

nav a:hover { color: var(--accent-color); }

/* --- HERO SECTION --- */
.hero {
    padding: 5rem 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

/* --- PRODUCT GRID & CARDS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; /* FIXED: Removed typo '덤' */
}

.card {
    background: var(--card-bg);
    border: 1px solid #222;
    padding: 1rem;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.1);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 1rem;
    filter: grayscale(20%);
    display: block;
    position: relative;
    z-index: 1;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: #000;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
}

.price {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* --- MODAL (SHADOWBOX) --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: rgba(22, 22, 22, 0.7);
    border: 1px solid rgba(0, 242, 255, 0.3);
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 2rem;
    color: var(--text-main);
    cursor: pointer; /* FIXED: Removed asterisks */
    line-height: 1;
}

.modal-body { display: flex; flex-direction: column; gap: 1rem; }
.modal-image { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; }
.modal-title { font-size: 2rem; color: var(--accent-color); }
.modal-desc { color: var(--text-dim); font-size: 1.1rem; }

.modal-extra {
    background: rgba(0, 242, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--accent-color); /* FIXED: Removed typo _accent-color */
    border-left: 3px solid var(--accent-color);
}

/* --- ABOUT PAGE SPECIFIC --- */
.story-section { margin-bottom: 4rem; font-size: 1.1rem; color: var(--text-main); }
.story-section p { margin-bottom: 1.5rem; }

.owners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.owner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #222;
    padding: 2rem;
    border-radius: 10px;
    transition: 0.3s;
}

.owner-card:hover { border-color: var(--accent-color); }

.owner-name {
    display: block;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.owner-bio {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-style: italic;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 4rem 1rem;
    border-top: 1px solid #222;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* --- RESPONSIVE ADJUSTMENTS (MOBILE OPTIMIZED) --- */
@media (max-width: 600px) {
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 3rem 1rem; } /* Reduced vertical padding for mobile */
    .owners-grid { grid-template-columns: 1fr; }
    .grid { gap: 1.5rem; } /* Tighter grid gap on small screens */
    .card { padding: 0.8rem; }
    .form-card { padding: 1.5rem; }
}

/* --- SUPPORT PAGE STYLING --- */
.support-container { max-width: 600px; margin: 0 auto; }

.status-box {
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--accent-color);
    background: rgba(0, 242, 255, 0.05);
}

.status-box h3 { color: var(--accent-color); margin-bottom: 1rem; }

.anomaly-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #000;
    border: 1px solid #444;
    padding: 0.8rem;
    color: #fff;
    font-family: inherit;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.anomaly-form .cta-button {
    margin-top: 1rem;
    cursor: pointer;
    border: none;
}

/* --- SUPPORT PAGE ENHANCEMENTS --- */
.support-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* FIXED: Added missing hyphen */
    animation: fadeIn 1s ease-out;
}

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

/* The "Glass" Form Card */
.form-card {
    background: rgba(22, 22, 22, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 255, 0.3); /* FIXED: Changed underscores to commas */
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.1);
}

.anomaly-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group { display: flex; flex-direction: column; gap: 0.5rem; }

.input-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: bold;
}

.input-group input,
.input-group select,
.input-group textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    padding: 1rem;
    color: #fff;
    font-family: inherit;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* FIXED: Corrected typo 'formint_group' to 'input-group' */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

/* The Success Card */
.status-card {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid var(--accent-color);
}

.status-card .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.status-card h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.submit-btn {
    margin-top: 1rem;
    background: transparent !important;
    text-align: center;
    cursor: pointer;
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .form-card { padding: 1.5rem; }
}

/* --- CART STYLES --- */
.cart-table {
    width: 100%;
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1rem;
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.cart-table th, .cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.cart-table th {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.remove-btn {
    color: #ff4b4b;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #ff4b4b;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    transition: 0.3s;
}

.remove-btn:hover {
    background: #ff4b4b;
    color: #fff;
}
