         * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #ff9ec7, #ffc9dd);
            min-height: 100vh;
        }

        .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 2px solid #ff9ec7;
            box-shadow: 0 4px 20px rgba(255, 158, 199, 0.3);
        }

        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 20px 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 32px;
            font-weight: bold;
            color: #e91e63;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo-text {
            font-size: 36px;
            font-weight: 900;
            background: linear-gradient(45deg, #e91e63, #ff5722);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 2px 2px 4px rgba(233, 30, 99, 0.3);
        }

        .gacha-machine {
            width: 60px;
            height: 80px;
            position: relative;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        .machine-top {
            width: 50px;
            height: 15px;
            background: linear-gradient(45deg, #1565c0, #0d47a1);
            border-radius: 10px 10px 5px 5px;
            border: 3px solid #0d47a1;
            position: relative;
        }

        .machine-top::before {
            content: '';
            position: absolute;
            top: 3px;
            left: 5px;
            width: 8px;
            height: 3px;
            background: #ffebee;
            border-radius: 2px;
        }

        .machine-top::after {
            content: '';
            position: absolute;
            top: 8px;
            left: 5px;
            width: 35px;
            height: 2px;
            background: #e53935;
        }

        .machine-body {
            width: 50px;
            height: 40px;
            background: linear-gradient(45deg, #4dd0e1, #26c6da);
            border: 3px solid #0d47a1;
            border-radius: 5px;
            position: relative;
            margin-top: -2px;
        }

        .machine-window {
            position: absolute;
            top: 5px;
            left: 8px;
            width: 30px;
            height: 25px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 3px;
            border: 2px solid #0d47a1;
        }

        .machine-ball {
            position: absolute;
            top: 8px;
            left: 12px;
            width: 15px;
            height: 15px;
            background: linear-gradient(45deg, #ffd54f, #ffb300);
            border-radius: 50%;
            border: 2px solid #0d47a1;
        }

        .machine-ball::after {
            content: '';
            position: absolute;
            top: 6px;
            left: 0;
            width: 100%;
            height: 1px;
            background: #e53935;
        }

        .machine-controls {
            width: 50px;
            height: 20px;
            background: linear-gradient(45deg, #e53935, #c62828);
            border: 3px solid #0d47a1;
            border-radius: 0 0 8px 8px;
            position: relative;
            margin-top: -2px;
        }

        .control-button {
            position: absolute;
            top: 3px;
            left: 8px;
            width: 12px;
            height: 12px;
            background: #ffebee;
            border-radius: 50%;
            border: 2px solid #0d47a1;
        }

        .control-knob {
            position: absolute;
            top: 5px;
            right: 8px;
            width: 8px;
            height: 8px;
            background: #90a4ae;
            border-radius: 50%;
            border: 2px solid #0d47a1;
        }

        .auth-buttons {
            display: flex;
            gap: 15px;
        }

        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .btn-login {
            background: transparent;
            color: #e91e63;
            border: 2px solid #e91e63;
        }

        .btn-login:hover {
            background: #e91e63;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
        }

        .btn-signup {
            background: linear-gradient(45deg, #e91e63, #ff5722);
            color: white;
        }

        .btn-signup:hover {
            background: linear-gradient(45deg, #c2185b, #e64a19);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
        }

        .nav-menu {
            background: rgba(255, 255, 255, 0.9);
            border-top: 1px solid #ffcdd2;
            padding: 0 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .nav-list {
            display: flex;
            list-style: none;
            gap: 40px;
            padding: 15px 0;
        }

        .nav-item a {
            color: #e91e63;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            padding: 10px 15px;
            border-radius: 20px;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-item a::before {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(45deg, #e91e63, #ff5722);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-item a:hover {
            background: rgba(233, 30, 99, 0.1);
            color: #c2185b;
            transform: translateY(-2px);
        }

        .nav-item a:hover::before {
            width: 100%;
        }

        .main-content {
            background: white;
            min-height: calc(100vh - 200px);
            padding: 40px;
            max-width: 1200px;
            margin: 0 auto;
            border-radius: 20px 20px 0 0;
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
        }

        .search-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 60px 0;
        }

        .search-wrapper {
            position: relative;
            width: 100%;
            max-width: 800px;
        }

        .search-input {
            width: 100%;
            padding: 20px 60px 20px 24px;
            border: 3px solid #e0e0e0;
            border-radius: 50px;
            font-size: 18px;
            background: #fafafa;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .search-input:focus {
            outline: none;
            border-color: #e91e63;
            background: white;
            box-shadow: 0 4px 30px rgba(233, 30, 99, 0.2);
            transform: translateY(-2px);
        }

        .search-input::placeholder {
            color: #999;
            font-weight: 500;
        }

        .voice-search-btn {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            border: none;
            border-radius: 50%;
            background: linear-gradient(45deg, #e91e63, #ff5722);
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
        }

        .voice-search-btn:hover {
            background: linear-gradient(45deg, #c2185b, #e64a19);
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
        }

        .voice-search-btn:active {
            transform: translateY(-50%) scale(0.95);
        }

        .voice-icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        /* 신제품 광고 배너 스타일 */
        .banner-container {
            background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
            border-radius: 20px;
            padding: 30px;
            margin: 40px 0;
            box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
            overflow: hidden;
            position: relative;
        }
        .search-btn {
            position: absolute;
            right: 60px;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            border: none;
            border-radius: 50%;
            background: linear-gradient(45deg, #2196f3, #03a9f4);
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
        }

        .search-btn:hover {
            background: linear-gradient(45deg, #1976d2, #0288d1);
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
        }

        .search-btn:active {
            transform: translateY(-50%) scale(0.95);
        }

        .search-icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .banner-slider {
            position: relative;
            width: 100%;
            height: 75px;
            overflow: hidden;
            border-radius: 15px;
        }

        .banner-track {
            display: flex;
            transition: transform 0.5s ease;
            height: 100%;
        }

        .banner-slide {
            flex: 0 0 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 30px;
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            position: relative;
        }

        .banner-slide:nth-child(2) {
            background: linear-gradient(45deg, #f093fb, #f5576c);
        }

        .banner-slide:nth-child(3) {
            background: linear-gradient(45deg, #4facfe, #00f2fe);
        }

        .banner-content {
            flex: 1;
            z-index: 2;
        }

        .banner-title {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .banner-subtitle {
            font-size: 16px;
            opacity: 0.9;
            margin-bottom: 20px;
        }

        .banner-btn {
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid white;
            color: white;
            padding: 12px 24px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .banner-btn:hover {
            background: white;
            color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
        }

        .banner-image {
            width: 120px;
            height: 60px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 48px;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .banner-controls {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }

        .banner-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .banner-dot.active {
            background: white;
            transform: scale(1.2);
        }

        /* 메인 액션 버튼들 */
        .action-buttons {
            display: flex;
            gap: 20px;
            margin: 40px 0;
        }

        .action-btn {
            flex: 1;
            background: white;
            border: 3px solid #e0e0e0;
            border-radius: 20px;
            padding: 40px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            color: #333;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .action-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
            border-color: #e91e63;
        }

        .action-btn-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            transition: all 0.3s ease;
        }

        .map-btn .action-btn-icon {
            background: linear-gradient(45deg, #4caf50, #8bc34a);
            color: white;
        }

        .list-btn .action-btn-icon {
            background: linear-gradient(45deg, #2196f3, #03a9f4);
            color: white;
        }

        .action-btn-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #333;
        }

        .action-btn-subtitle {
            font-size: 14px;
            color: #666;
            line-height: 1.4;
        }

        .action-btn:hover .action-btn-icon {
            transform: scale(1.1);
        }

        .action-btn:hover .action-btn-title {
            color: #e91e63;
        }

        /* 게시판 버튼 */
        .board-btn {
            background: linear-gradient(45deg, #ff9800, #f57c00);
            color: white;
            border: none;
            border-radius: 20px;
            padding: 25px;
            width: 100%;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 18px;
            font-weight: 600;
            margin-top: 20px;
            box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }

        .board-btn:hover {
            background: linear-gradient(45deg, #f57c00, #e65100);
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(255, 152, 0, 0.4);
        }

        .board-icon {
            width: 32px;
            height: 32px;
            fill: currentColor;
        }

        /* 모달 스타일 */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            animation: fadeIn 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            width: 100%;
            max-width: 400px;
            position: relative;
            animation: slideUp 0.3s ease;
        }

        @keyframes slideUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            color: #999;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .modal-close:hover {
            color: #e91e63;
        }

        .modal-title {
            text-align: center;
            font-size: 28px;
            font-weight: 700;
            color: #e91e63;
            margin-bottom: 30px;
            background: linear-gradient(45deg, #e91e63, #ff5722);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 600;
            font-size: 14px;
        }

        .form-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: #fafafa;
        }

        .form-input:focus {
            outline: none;
            border-color: #e91e63;
            background: white;
            box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
        }

        .form-input::placeholder {
            color: #999;
        }

        .form-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(45deg, #e91e63, #ff5722);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            margin: 20px 0;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
        }

        .form-btn:hover {
            background: linear-gradient(45deg, #c2185b, #e64a19);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
        }

        .form-links {
            display: flex;
            justify-content: space-between;
            margin: 20px 0;
        }

        .form-link {
            color: #e91e63;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .form-link:hover {
            color: #c2185b;
            text-decoration: underline;
        }

        .switch-link {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #eee;
            margin-top: 20px;
        }

        .switch-text {
            color: #666;
            font-size: 14px;
        }

        .switch-btn {
            color: #e91e63;
            background: none;
            border: none;
            font-weight: 600;
            margin-left: 5px;
            transition: color 0.3s ease;
            cursor: pointer;
            font-size: 14px;
        }

        .switch-btn:hover {
            color: #c2185b;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .top-bar {
                padding: 15px 20px;
                flex-direction: row;
                align-items: flex-start;
                gap: 10px;
            }

            .nav-menu {
                padding: 0 20px;
            }

            .nav-list {
                flex-wrap: wrap;
                gap: 20px;
                justify-content: center;
            }

            .main-content {
                padding: 20px;
                margin: 0 10px;
            }

            .search-container {
                margin: 30px 0;
            }

            .search-input {
                padding: 16px 60px 16px 20px;
                font-size: 16px;
            }

            .voice-search-btn {
                width: 40px;
                height: 40px;
                right: 6px;
            }

            .voice-icon {
                width: 18px;
                height: 18px;
            }

            .logo-text {
                font-size: 28px;
            }

            .modal {
                margin: 20px;
                padding: 30px;
            }

            .form-links {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .banner-container {
                padding: 20px;
            }

            .banner-slider {
                height: 60px;
            }

            .banner-slide {
                padding: 0 20px;
            }

            .banner-title {
                font-size: 22px;
            }

            .banner-subtitle {
                font-size: 14px;
            }

            .banner-image {
                width: 80px;
                height: 80px;
                font-size: 32px;
            }

            .action-buttons {
                flex-direction: column;
                gap: 15px;
            }

            .action-btn {
                padding: 30px 20px;
            }

            .action-btn-icon {
                width: 60px;
                height: 60px;
                font-size: 28px;
            }

            .action-btn-title {
                font-size: 20px;
            }

            .board-btn {
                padding: 20px;
                font-size: 16px;
            }

            .board-icon {
                width: 28px;
                height: 28px;
            }
        }

            .btn-small {
              padding: 6px 14px;
              font-size: 14px;
              height: 40px;
              background: #e91e63;
              color: white;
              border: none;
              border-radius: 8px;
              cursor: pointer;
              white-space: nowrap;       /* 줄 바꿈 방지 */
              display: inline-block;     /* 버튼 사이즈 안정화 */
              flex-shrink: 0;
         }

            .favorite-products-container {
              display: grid;
              grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
              gap: 15px;
              margin-top: 15px;
         }

            .favorite-product-card {
              border: 1px solid #ccc;
              border-radius: 12px;
              padding: 10px;
              text-align: center;
              background-color: #fff;
              box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
              transition: transform 0.2s ease;
         }

            .favorite-product-card:hover {
              transform: translateY(-5px);
         }

            .favorite-product-card img {
              width: 100%;
              height: auto;
              border-radius: 8px;
              object-fit: cover;
         }

            .favorite-product-card .name {
              margin-top: 10px;
              font-weight: bold;
              font-size: 16px;
         }

            .favorite-product-card .price {
              color: #e91e63;
              margin-top: 5px;
              font-size: 14px;
         }

            .favorite-shops-container {
              display: grid;
              grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
              gap: 15px;
              margin-top: 15px;
         }

            .favorite-shop-card {
              border: 1px solid #ccc;
              border-radius: 12px;
              padding: 20px;
              text-align: center;
              background-color: #fff;
              font-weight: bold;
              font-size: 16px;
              color: #333;
              box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
              transition: transform 0.2s ease;
         }

            .favorite-shop-card:hover {
              transform: translateY(-5px);
              box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
         }

            .post-table {
              width: 100%;
              border-collapse: collapse;
              margin-top: 15px;
         }

            .post-table th, .post-table td {
              border: 1px solid #ddd;
              padding: 12px 16px;
              text-align: left;
         }

            .post-table th {
              background-color: #f8bbd0;
              color: #880e4f;
              font-weight: 700;
         }

            .post-table tr:nth-child(even) {
              background-color: #fdf2f7;
         }

            .post-table tr:hover {
              background-color: #fce4ec;
              transition: background 0.3s;
         }
            
            .profile-card {
             background: #fdfdfd;
             border: 1px solid #ddd;
             border-radius: 12px;
             padding: 24px;
             max-width: 500px;
             margin: 0 auto;
             box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
         }

            .profile-item {
             margin-bottom: 20px;
             display: flex;
             flex-direction: column;
         }

            .profile-item label {
             font-weight: bold;
             margin-bottom: 4px;
             color: #333;
         }

            .profile-item span {
             font-size: 16px;
             color: #444;
         }

            .styled-input {
             padding: 8px;
             font-size: 14px;
             border-radius: 6px;
             border: 1px solid #ccc;
             width: 100%;
             margin-bottom: 8px;
         }

            .btn-edit {
             background-color: #4a90e2;
             color: white;
             border: none;
             padding: 8px 14px;
             border-radius: 6px;
             cursor: pointer;
             margin-top: 6px;
         }

            .btn-confirm {
             background-color: #2ecc71;
             color: white;
             border: none;
             padding: 8px 14px;
             border-radius: 6px;
             cursor: pointer;
         }
   
            .btn-danger {
             background-color: #e74c3c;
             color: white;
             border: none;
             padding: 10px 14px;
             border-radius: 6px;
             cursor: pointer;
         }
