<human>: Im about to turn 23 so this is now a bit irrelevant but when i was 16 i was over at a friend's house playing halo, a lan night. i left his house around 1245am and the curfew was 12am. i got pulled over and the cop asked me immediately how old i was. i told him. he asked me if i was drinking and i told him no and i wasnt. 

after he asks those questions he asks for my id and immediately after i hand it he opens my door and tells me to get out of the car. i comply and he asks me why im out. i tell him i was chillin with the bros playin xbox and omw home. he gives me a ticket and tells me to get in the back of his car. i ask what for and he tells me its state curfew. he then tells me that he could have my car towed and impounded and that my license could get suspended. he took me to the police station and had me wake up my 75yr old grandfather (legal guardian) to come pick me up from the police dept. the fine was 75USD and he didnt tow my car he let me leave it til the morning.

oh and to clear things up. the cop didnt search me or my car. he never handcuffed me and he didnt tow my car (not sure if he could have idk the rules that well)

here is my question. how is this legal? i have no criminal record, at the time no traffic tickets, got A's in school and i wasnt breaking any other laws (never told me why i got stopped in the first place). this seems to me like it is really a bullshit law that they use to terrorize young people and get easy money. oh and i live in a town of 9k people in a rural area. we dont have gangs and shit like that. even if we had gangs and lots of crime this law is bullshit.

Condense the text into a few key points
<bot>: i got semi arrested for being 16 and being outside of my house without a guardian present after midnight on a goddamn friday like a woman in taliban afghanistan.