/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D64545;
    --primary-dark: #B83838;
    --primary-light: #E66565;
    --secondary-color: #2C2C2C;
    --background-color: #F5F5F5;
    --white: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #DDDDDD;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --success-color: #4CAF50;
    --error-color: #F44336;
    --warning-color: #FF9800;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

input, textarea, select {
    font-family: inherit;
    outline: none;
}

/* ===========================
   Login Page Styles
   =========================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(44, 44, 44, 0.90) 100%),
                url('../img/bg/background.jpg') center/cover no-repeat;
    background-attachment: fixed;
    padding: 20px;
    position: relative;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

.login-container {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
}

.login-box {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.club-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.club-since {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
}

/* Login Form */
.login-form {
    animation: fadeInUp 0.8s ease;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
}

/* Form Options */
.form-options {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #9e2e2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 69, 69, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

/* Form Links */
.form-links {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-links .link {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.form-links .link:hover {
    color: var(--primary-color);
}

.form-links .divider {
    margin: 0 12px;
    color: var(--border-color);
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
    font-size: 13px;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .login-box {
        padding: 40px 30px;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .club-name {
        font-size: 24px;
    }

    .club-since {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding: 15px;
    }

    .login-box {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .club-name {
        font-size: 22px;
    }

    .form-group input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .btn-login {
        padding: 14px;
        font-size: 15px;
    }
}

/* ===========================
   Alert/Toast Messages
   =========================== */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-medium);
    z-index: 9999;
    animation: slideInRight 0.3s ease;
    max-width: 350px;
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--error-color);
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===========================
   Loading Spinner
   =========================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   Signup Page
   =========================== */
.signup-page {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(44, 44, 44, 0.90) 100%),
                url('../img/bg/background.jpg') center/cover no-repeat;
    background-attachment: fixed;
    padding: 40px 20px;
    position: relative;
}

.signup-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

.signup-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.signup-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 50px 45px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Find Account Pages */
.find-box {
    padding: 40px 35px;
}

.club-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Form Elements */
.required {
    color: var(--error-color);
    margin-left: 2px;
}

.input-group {
    display: flex;
    gap: 8px;
}

.input-group input {
    flex: 1;
}

.btn-verify {
    padding: 14px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-verify:hover {
    background: var(--primary-dark);
}

.btn-verify:disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

.verify-timer {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 5px;
}

.verify-status {
    font-size: 13px;
    margin-top: 5px;
}

.success-text {
    color: var(--success-color);
}

.error-text {
    color: var(--error-color);
}

select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: var(--white);
    cursor: pointer;
}

select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.form-group input.error {
    border-color: var(--error-color);
}

/* Radio & Checkbox Groups */
.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.radio-label span {
    font-size: 15px;
    color: var(--text-primary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.checkbox-text-bold {
    font-weight: 600;
    color: var(--text-primary);
}

/* Terms Section */
.terms-section {
    background: #F9F9F9;
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
}

.divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 15px 0;
}

.btn-view-terms {
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.btn-view-terms:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-signup {
    margin-top: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.2s ease;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 5% auto;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-close {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.btn-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 25px;
    flex: 1;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.btn-modal-confirm {
    padding: 10px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-modal-confirm:hover {
    background: var(--primary-dark);
}

/* Terms Content */
.terms-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 10px 0;
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.terms-content .notice {
    background: #FFF8E1;
    border-left: 4px solid var(--warning-color);
    padding: 12px 15px;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-primary);
}

/* Tab Menu */
.tab-menu {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Result Box */
.result-box {
    text-align: center;
    padding: 30px 20px;
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
}

.result-icon.success {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.result-box h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.result-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.result-info {
    background: #F9F9F9;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.email-info {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.join-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.btn-secondary {
    width: 100%;
    padding: 14px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Loading Overlay Enhanced */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-spinner {
    text-align: center;
}

.loading-text {
    color: var(--white);
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive for Signup & Find */
@media (max-width: 768px) {
    .signup-page {
        padding: 30px 15px;
    }

    .signup-content {
        padding: 40px 30px;
    }

    .find-box {
        padding: 30px 25px;
        max-height: 85vh;
    }

    .input-group {
        flex-direction: column;
    }

    .btn-verify {
        width: 100%;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .terms-section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .signup-page {
        padding: 20px 10px;
    }

    .signup-content {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .find-box {
        padding: 25px 20px;
    }

    .modal-header h2 {
        font-size: 18px;
    }

    .terms-content h3 {
        font-size: 15px;
    }

    .terms-content p {
        font-size: 13px;
    }
}

/* ===========================
   Main Pages (Home, etc.)
   =========================== */
.main-page {
    min-height: 100vh;
    background-color: #F8F9FA;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.header-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-menu {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.btn-menu span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
}

.side-nav.active {
    right: 0;
}

.side-nav-header {
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.user-rank {
    font-size: 13px;
    opacity: 0.9;
}

.btn-close-nav {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.btn-close-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    border-bottom: 1px solid #F0F0F0;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: #F8F9FA;
    color: var(--primary-color);
}

.nav-menu a.active {
    background: rgba(214, 69, 69, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu .icon {
    font-size: 20px;
    margin-right: 12px;
    font-style: normal;
    display: inline-block;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.nav-overlay.active {
    display: block;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Section */
.section {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-more {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-more:hover {
    color: var(--primary-dark);
}

/* Banner Section */
.banner-section {
    margin-bottom: 20px;
    position: relative;
}

.banner-slider {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.banner-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-item.active {
    opacity: 1;
}

.banner-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.banner-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 16px;
    opacity: 0.95;
}

.banner-dots {
    text-align: center;
    padding: 15px 0;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D0D0D0;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 5px;
}

/* Match Summary Cards */
.my-matches-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.match-stat-card {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border: 2px solid #F0F0F0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.match-stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 69, 69, 0.15);
}

.stat-icon {
    font-size: 32px;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Ranking List */
.ranking-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #F0F0F0;
    transition: background 0.3s ease;
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-item:hover {
    background: #F8F9FA;
}

.rank-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-right: 15px;
}

.rank-number.top-rank {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.rank-info {
    flex: 1;
}

.rank-name-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rank-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.rank-nickname {
    font-size: 14px;
    color: var(--text-secondary);
}

.rank-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-secondary);
}

.rank-level {
    font-weight: 600;
    color: var(--primary-color);
}

/* Notice List - Home Page uses notice-item-full from pages.css */
.notice-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.notice-badge.important {
    background: var(--error-color);
    color: var(--white);
}

.notice-category {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Schedule List */
.schedule-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #F0F0F0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background: #F8F9FA;
}

.schedule-date {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 15px;
}

.schedule-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.schedule-month {
    font-size: 12px;
    margin-top: 2px;
}

.schedule-info {
    flex: 1;
}

.schedule-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.schedule-meta {
    display: flex;
    gap: 10px;
    font-size: 13px;
}

.schedule-type {
    color: var(--text-secondary);
}

.schedule-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.schedule-status.status-active {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.schedule-status.status-ready {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

/* Loading Placeholder */
.loading-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.spinner-small {
    width: 30px;
    height: 30px;
    border: 3px solid #F0F0F0;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 15px;
}

/* Footer */
.main-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.footer-club-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-since {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-text {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-link {
    color: var(--white);
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
}

.footer-links .divider {
    margin: 0 10px;
    opacity: 0.5;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.6;
}

/* Responsive - Main Pages */
@media (max-width: 768px) {
    .header-title {
        font-size: 18px;
    }

    .main-content {
        padding: 15px;
    }

    .section {
        padding: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .my-matches-summary {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .banner-content h2 {
        font-size: 22px;
    }

    .banner-content p {
        font-size: 14px;
    }

    .side-nav {
        width: 280px;
        right: -280px;
    }
}

@media (max-width: 480px) {
    .header-logo {
        width: 40px;
        height: 40px;
    }

    .header-title {
        font-size: 16px;
    }

    .banner-slider {
        height: 150px;
    }

    .banner-content h2 {
        font-size: 18px;
    }

    .banner-content p {
        font-size: 13px;
    }

    .section {
        padding: 15px;
    }

    .rank-stats {
        flex-direction: column;
        gap: 5px;
    }

    .notice-badge {
        font-size: 11px;
        padding: 3px 8px;
    }

    .notice-category {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .notice-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .notice-category {
        font-size: 11px;
    }
}

/* ===========================
   Additional Pages Styles
   =========================== */

/* ===========================
   My Matches Page
   =========================== */

/* Main Tab Menu */
.main-tab-menu {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 0;
}

.main-tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.main-tab-btn:hover {
    color: var(--primary-color);
}

.main-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.main-tab-content {
    display: none;
}

.main-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Tournament Selector */
.tournament-selector {
    margin-bottom: 20px;
}

.tournament-selector label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Bracket Styles */
.bracket-container {
    overflow-x: auto;
    padding: 20px 0;
}

.bracket-round {
    display: inline-block;
    vertical-align: top;
    margin-right: 40px;
}

.bracket-round:last-child {
    margin-right: 0;
}

.bracket-round-title {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(214, 69, 69, 0.1);
    border-radius: 8px;
}

.bracket-matches {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bracket-match {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    min-width: 200px;
    transition: all 0.3s ease;
}

.bracket-match:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(214, 69, 69, 0.15);
}

.bracket-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #F0F0F0;
    transition: background 0.3s ease;
}

.bracket-player:last-child {
    border-bottom: none;
}

.bracket-player.winner {
    background: rgba(76, 175, 80, 0.1);
    font-weight: 700;
}

.bracket-player.my-match {
    background: rgba(214, 69, 69, 0.05);
}

.bracket-player-name {
    font-size: 14px;
    color: var(--text-primary);
}

.bracket-player-score {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 30px;
    text-align: right;
}

.bracket-match-info {
    padding: 8px 15px;
    background: #F8F9FA;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

/* Tournament Ranking */
.tournament-ranking-list {
    display: flex;
    flex-direction: column;
}

.tournament-ranking-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #F0F0F0;
    transition: background 0.3s ease;
}

.tournament-ranking-item:hover {
    background: #F8F9FA;
}

.tournament-ranking-item.my-rank {
    background: rgba(214, 69, 69, 0.05);
    border-left: 4px solid var(--primary-color);
}

.tournament-rank-number {
    width: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.tournament-rank-number.top-3 {
    color: var(--primary-color);
}

.tournament-rank-info {
    flex: 1;
    padding: 0 15px;
}

.tournament-rank-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.tournament-rank-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-secondary);
}

.tournament-rank-points {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
    text-align: right;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.filter-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tab.active:hover {
    color: var(--white);
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.match-card {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #F0F0F0;
    transition: all 0.3s ease;
}

.match-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(214, 69, 69, 0.1);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E0E0E0;
}

.match-tournament {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.match-status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.match-status-badge.waiting {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

.match-status-badge.ongoing {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.match-status-badge.completed {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.match-players {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.match-player {
    flex: 1;
}

.match-player-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.match-player-rank {
    font-size: 13px;
    color: var(--text-secondary);
}

.match-vs {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
}

.match-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-details {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-secondary);
}

.btn-enter-score {
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enter-score:hover {
    background: var(--primary-dark);
}

/* Score Modal */
.score-modal-content {
    max-width: 600px;
}

.score-input-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.player-score {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 12px;
}

.player-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.player-rank {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.score-sets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.score-set {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-set-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    min-width: 60px;
}

.score-set input {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
}

.score-divider {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.score-actions {
    text-align: center;
    margin-top: 20px;
}

.btn-add-set {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-set:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-submit-score {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-score:hover {
    background: var(--primary-dark);
}

/* ===========================
   My Record Page
   =========================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-box {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border: 2px solid #F0F0F0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 69, 69, 0.15);
}

.stat-box .stat-icon {
    font-size: 32px;
}

.stat-details {
    flex: 1;
}

.stat-box .stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.stat-box .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-box .stat-value.success {
    color: var(--success-color);
}

.stat-box .stat-value.error {
    color: var(--error-color);
}

.stat-box .stat-value.primary {
    color: var(--primary-color);
}

.great-score-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.great-score-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.great-score-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.great-score-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.great-score-rank {
    font-size: 13px;
    opacity: 0.85;
}

.chart-container {
    position: relative;
    margin-top: 20px;
}

.opponent-records {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.opponent-record-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #F8F9FA;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.opponent-record-item:hover {
    background: #F0F0F0;
}

.opponent-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.opponent-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.level-progress {
    padding: 20px;
    background: #F8F9FA;
    border-radius: 12px;
}

.level-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===========================
   Ranking Page
   =========================== */
.ranking-filters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: var(--white);
    cursor: pointer;
}

.filter-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.my-rank-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.my-rank-section .section-title {
    color: var(--white);
}

.my-rank-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 15px;
}

.rank-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.rank-number-large {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.rank-label {
    font-size: 14px;
    margin-top: 5px;
}

.my-rank-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.my-rank-stats {
    display: flex;
    gap: 15px;
    font-size: 14px;
    opacity: 0.9;
}

.ranking-list-full {
    display: flex;
    flex-direction: column;
}

/* ===========================
   Schedule Page
   =========================== */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-calendar-nav {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-calendar-nav:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.calendar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.calendar-container {
    margin-top: 20px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.weekday {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 10px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid #F0F0F0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.calendar-day:hover {
    border-color: var(--primary-color);
}

.calendar-day.other-month {
    color: var(--text-light);
    background: #FAFAFA;
}

.calendar-day.today {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

.calendar-day.has-event {
    border-color: var(--primary-color);
    background: rgba(214, 69, 69, 0.05);
}

.calendar-day-number {
    font-size: 16px;
    font-weight: 600;
}

.calendar-day-indicator {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: 4px;
}

.upcoming-tournaments,
.past-tournaments {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tournament-card {
    padding: 20px;
    background: #F8F9FA;
    border-radius: 12px;
    border: 2px solid #F0F0F0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tournament-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(214, 69, 69, 0.1);
}

.tournament-date-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tournament-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tournament-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.tournament-detail {
    line-height: 1.8;
}

.tournament-detail h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 10px 0;
}

.tournament-detail h3:first-child {
    margin-top: 0;
}

.tournament-detail p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* ===========================
   Notice Page
   =========================== */
.search-container {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.btn-search {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: var(--primary-dark);
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-btn.active:hover {
    color: var(--white);
}

.notice-list-full {
    display: flex;
    flex-direction: column;
}

.notice-item-full {
    padding: 20px;
    border-bottom: 1px solid #F0F0F0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.notice-item-full:hover {
    background: #F8F9FA;
}

.notice-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.notice-item-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.notice-item-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-secondary);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.notice-modal-content {
    max-width: 700px;
}

.notice-modal-category {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.notice-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 15px 0;
}

.notice-modal-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
    margin-bottom: 20px;
}

.notice-modal-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
    min-height: 200px;
}

/* Notice Detail Page */
.btn-back {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.notice-detail-container {
    padding: 30px 0;
}

.notice-detail-category {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.notice-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.notice-detail-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.notice-detail-meta .divider {
    margin: 0 5px;
}

.notice-detail-divider {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 20px 0 30px 0;
}

.notice-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    min-height: 300px;
}

.notice-detail-content p {
    margin-bottom: 15px;
}

.notice-detail-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.notice-detail-content ul,
.notice-detail-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.notice-detail-content li {
    margin-bottom: 8px;
}

.notice-detail-actions {
    text-align: center;
    padding: 20px 0;
}

.notice-navigation {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.notice-nav-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #F0F0F0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.notice-nav-item:last-child {
    border-bottom: none;
}

.notice-nav-item:hover {
    background: #F8F9FA;
}

.notice-nav-label {
    min-width: 80px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.notice-nav-title {
    flex: 1;
    font-size: 15px;
    color: var(--text-primary);
}

/* ===========================
   My Page
   =========================== */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-avatar-section {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    color: var(--white);
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    margin: 0 auto 15px;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-nickname {
    font-size: 16px;
    opacity: 0.9;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 12px;
}

.profile-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-info-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-info-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.profile-actions {
    text-align: center;
}

.btn-edit-profile {
    padding: 14px 40px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-profile:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 69, 69, 0.3);
}

.club-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.club-info-card {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border: 2px solid #F0F0F0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.club-info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 69, 69, 0.15);
}

.club-info-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.club-info-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.club-info-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.password-change-form {
    max-width: 500px;
}

.form-hint {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.btn-change-password {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-change-password:hover {
    background: var(--primary-dark);
}

.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 12px;
}

.notification-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.notification-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CCC;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(28px);
}

.withdrawal-container {
    text-align: center;
    padding: 30px;
    background: #FFF8F8;
    border: 2px solid #FFE0E0;
    border-radius: 12px;
}

.withdrawal-warning {
    font-size: 15px;
    color: var(--error-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-withdrawal {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--error-color);
    color: var(--error-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-withdrawal:hover {
    background: var(--error-color);
    color: var(--white);
}

/* ===========================
   Responsive - Additional Pages
   =========================== */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .great-score-grid {
        grid-template-columns: 1fr;
    }

    .ranking-filters {
        grid-template-columns: 1fr;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .club-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-days {
        gap: 3px;
    }

    .calendar-day {
        padding: 5px;
    }

    .calendar-day-number {
        font-size: 14px;
    }

    .main-tab-menu {
        flex-direction: column;
        gap: 5px;
    }

    .main-tab-btn {
        padding: 12px 15px;
        font-size: 14px;
    }

    .bracket-container {
        padding: 10px 0;
    }

    .bracket-round {
        margin-right: 20px;
    }

    .bracket-match {
        min-width: 160px;
    }

    .bracket-player {
        padding: 10px 12px;
    }

    .bracket-player-name {
        font-size: 13px;
    }

    .bracket-player-score {
        font-size: 14px;
    }

    .tournament-rank-points {
        font-size: 18px;
        min-width: 60px;
    }

    .match-players {
        flex-direction: column;
        gap: 10px;
    }

    .match-vs {
        display: none;
    }

    .score-input-container {
        gap: 20px;
    }

    .player-score {
        padding: 15px;
    }

    .score-set {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs,
    .category-filters {
        gap: 8px;
    }

    .filter-tab,
    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .club-info-grid {
        grid-template-columns: 1fr;
    }

    .match-card {
        padding: 15px;
    }

    .match-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .opponent-stats {
        flex-direction: column;
        gap: 5px;
    }

    .my-rank-stats {
        flex-direction: column;
        gap: 5px;
    }

    .page-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
