/* KAZETOKEN - Main stylesheet - Japanese Style */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(193, 39, 45, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(193, 39, 45, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.form-box {
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(193, 39, 45, 0.2), 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(193, 39, 45, 0.2);
    position: relative;
}

.form-box::before {
    content: '風';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    color: rgba(193, 39, 45, 0.05);
    font-weight: bold;
    pointer-events: none;
    z-index: -1;
}

.form-box h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #C1272D;
    font-weight: 700;
    font-size: 32px;
    text-shadow: 0 2px 10px rgba(193, 39, 45, 0.3);
    letter-spacing: 2px;
}

.form-box h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C1272D, transparent);
    margin: 15px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #cccccc;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #444;
    border-radius: 8px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    font-family: 'Noto Sans JP', Arial, sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #C1272D;
    background-color: #3a3a3a;
    box-shadow: 0 0 15px rgba(193, 39, 45, 0.2);
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', Arial, sans-serif;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #C1272D 0%, #A01F24 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(193, 39, 45, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A01F24 0%, #8B1A1F 100%);
    box-shadow: 0 6px 20px rgba(193, 39, 45, 0.5);
    transform: translateY(-2px);
}

.link-text {
    text-align: center;
    margin-top: 20px;
    color: #cccccc;
}

.link-text a {
    color: #C1272D;
    text-decoration: none;
}

.link-text a:hover {
    text-decoration: underline;
}

.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.message.error {
    background-color: #f44336;
    color: white;
}

.message.success {
    background-color: #C1272D;
    color: white;
}

.hidden {
    display: none;
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .form-box {
        padding: 20px;
    }
}
