* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a1a, #1a1a2e, #16213e);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(121, 68, 154, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(121, 68, 154, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(121, 68, 154, 0.2);
    border-bottom: 1px solid rgba(121, 68, 154, 0.3);
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-nav {
    width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: #a855f7;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.user-actions button {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#login-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(121, 68, 154, 0.3);
}

#login-btn:hover {
    background: rgba(121, 68, 154, 0.2);
    box-shadow: 0 0 15px rgba(121, 68, 154, 0.3);
}

#register-btn {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

#register-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.hero {
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=futuristic%20gaming%20background%20with%20blue%20and%20purple%20neon%20lights&image_size=landscape_16_9') center/cover no-repeat;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 26, 0.6) 0%,
        rgba(26, 26, 46, 0.7) 50%,
        rgba(10, 10, 26, 0.8) 100%
    );
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 10, 26, 0.8) 50%,
        rgba(10, 10, 26, 1) 100%
    );
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #e2e8f0, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #cbd5e1;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary.large,
.btn-outline.large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 12px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.btn-primary.large {
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
}

.btn-primary.large:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.6);
}

.btn-outline.large {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
    border: 2px solid rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.btn-outline.large:hover {
    background: rgba(99, 102, 241, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    transform: translateY(-3px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.players-section {
    padding: 6rem 0;
    position: relative;
}

.players-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05), transparent 70%);
    z-index: -1;
}

.players-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e2e8f0;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-filter input,
.search-filter select {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(121, 68, 154, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(26, 26, 46, 0.8);
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-filter input:focus,
.search-filter select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.search-filter button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.search-filter button:hover {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.players-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.player-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(121, 68, 154, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.3);
    border-color: rgba(121, 68, 154, 0.4);
}

.player-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px 0 0 8px;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.player-card:hover .player-image img {
    transform: scale(1.05);
}

.player-info {
    flex: 1;
    padding: 1.5rem 1.5rem 1.5rem 0;
}

.player-info h3 {
    margin-bottom: 0.75rem;
    color: #e2e8f0;
    font-size: 1.25rem;
    font-weight: 600;
}

.player-info p {
    margin-bottom: 1.25rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.player-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(121, 68, 154, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-item .value {
    font-weight: 600;
    color: #a855f7;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.stat-item .label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.player-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 1.25rem;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.player-actions {
    display: flex;
    gap: 0.75rem;
}

.player-actions button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.about-section {
    padding: 6rem 0;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05), transparent 70%);
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    color: #e2e8f0;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.8;
}

.orders-section {
    padding: 6rem 0;
    position: relative;
}

.orders-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05), transparent 70%);
    z-index: -1;
}

.orders-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e2e8f0;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#orders-list {
    max-width: 800px;
    margin: 0 auto;
}

.login-prompt {
    text-align: center;
    color: #94a3b8;
    font-size: 1.1rem;
}

.order-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(121, 68, 154, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
}

.order-card:hover {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
    border-color: rgba(121, 68, 154, 0.4);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.order-id {
    font-weight: 600;
    color: #e2e8f0;
}

.order-status {
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.status-pending {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.3);
}

.status-confirmed {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.status-completed {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: #fff;
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.3);
}

.status-cancelled {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}

.order-details {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(121, 68, 154, 0.2);
}

.order-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.order-detail-item .label {
    color: #94a3b8;
}

.order-detail-item .value {
    font-weight: 500;
    color: #e2e8f0;
}

.order-actions {
    display: flex;
    gap: 0.75rem;
}

.order-actions button {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-section {
    padding: 6rem 0;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05), transparent 70%);
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e2e8f0;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-section input,
.contact-section textarea {
    padding: 1rem;
    border: 1px solid rgba(121, 68, 154, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(26, 26, 46, 0.8);
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-section input:focus,
.contact-section textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.contact-section textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-section button {
    padding: 1rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.contact-section button:hover {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    transform: translateY(-3px);
}

footer {
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    color: #94a3b8;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(121, 68, 154, 0.3);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
}

footer p {
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 2px;
    }

    .players-section {
        padding: 2rem 0;
    }

    .players-section .container {
        padding: 0 2px;
    }

    header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 0.8rem 0;
    }

    .header-top {
        align-items: center;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        width: 100%;
    }

    .main-nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        font-size: 0.9rem;
        display: block;
        padding: 0.5rem 0;
    }

    .user-actions {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .user-actions button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .user-profile {
        width: 100%;
        justify-content: flex-end;
    }

    .user-profile span {
        font-size: 0.9rem;
    }

    #logout-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary.large,
    .btn-outline.large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-width: 180px;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .search-filter {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .search-filter input,
    .search-filter select,
    .search-filter button {
        width: 100%;
        max-width: 300px;
    }

    .players-section h2,
    .about-section h2,
    .orders-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .players-grid {
        gap: 1rem;
        padding: 0;
    }

    .player-card {
        flex-direction: row;
        text-align: left;
        width: 100%;
        margin: 0;
        gap: 1rem;
        border-radius: 8px;
    }

    .player-image {
        width: 33%;
        height: 120px;
        border-radius: 8px 0 0 8px;
    }

    .player-info {
        flex: 1;
        padding: 1rem 1rem 1rem 0;
    }

    .player-info h3 {
        font-size: 1.1rem;
    }

    .player-info p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .player-stats {
        justify-content: center;
        gap: 2rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .stat-item .value {
        font-size: 0.9rem;
    }

    .stat-item .label {
        font-size: 0.7rem;
    }

    .player-actions button {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .order-card {
        max-width: 100%;
        margin: 0 auto 1.5rem;
        padding: 1.2rem;
    }

    .order-id {
        font-size: 0.9rem;
    }

    .order-detail-item {
        font-size: 0.9rem;
    }

    .order-actions button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .contact-section form {
        gap: 1rem;
    }

    .contact-section input,
    .contact-section textarea {
        padding: 0.8rem;
    }

    .contact-section button {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .modal-content {
        padding: 2rem;
        width: 90%;
    }

    .stars label {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 99%;
        padding: 0 3px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .players-section h2,
    .about-section h2,
    .orders-section h2,
    .contact-section h2 {
        font-size: 1.8rem;
    }

    .player-card {
        gap: 0.75rem;
    }

    .player-image {
        width: 33%;
        height: 100px;
    }

    .player-info {
        padding: 0.8rem 0.8rem 0.8rem 0;
    }

    .player-info h3 {
        font-size: 1rem;
    }

    .player-info p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .about-section p {
        font-size: 0.95rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .modal h2 {
        font-size: 1.3rem;
    }

    .modal input,
    .modal button {
        padding: 0.8rem;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(15px);
    margin: 15% auto;
    padding: 2.5rem;
    border: 1px solid rgba(121, 68, 154, 0.3);
    width: 80%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-content.large {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.player-detail-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(121, 68, 154, 0.2);
}

.player-detail-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.player-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-detail-info {
    flex: 1;
}

.player-detail-info h3 {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.player-detail-info p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.player-detail-body {
    margin-bottom: 2rem;
}

.player-detail-body h4 {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(121, 68, 154, 0.1);
}

.player-detail-body p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.player-detail-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

#contact-player-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .modal-content.large {
        max-width: 90%;
    }
    
    .player-detail-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .player-detail-image {
        width: 120px;
        height: 120px;
    }
    
    .player-detail-info h3 {
        font-size: 1.3rem;
    }
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
}

.close {
    color: #94a3b8;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e2e8f0;
    text-shadow: 0 0 10px rgba(226, 232, 240, 0.5);
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal input {
    padding: 1rem;
    border: 1px solid rgba(121, 68, 154, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(10, 10, 26, 0.8);
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modal input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.modal button {
    padding: 1rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.modal button:hover {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.modal .error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: -0.5rem;
}

/* 评价模态框样式 */
.rating {
    margin-bottom: 1.5rem;
}

.rating label {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stars {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
}

.stars input[type="radio"] {
    display: none;
}

.stars label {
    font-size: 2.5rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.stars input[type="radio"]:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    color: #f39c12;
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
    transform: scale(1.1);
}

.stars input[type="radio"]:checked + label,
.stars input[type="radio"]:checked + label ~ label {
    color: #f39c12;
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}

#review-form textarea {
    padding: 1rem;
    border: 1px solid rgba(121, 68, 154, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(10, 10, 26, 0.8);
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

#review-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-profile span {
    color: #e2e8f0;
    font-weight: 500;
}

#logout-btn {
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

#logout-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}
